~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/dtcollation.h

  • Committer: Monty Taylor
  • Date: 2011-01-26 19:15:55 UTC
  • mto: This revision was merged to the branch mainline in revision 2126.
  • Revision ID: mordred@inaugust.com-20110126191555-nq5nnzyscvngsip2
Turns on -fvisibility=hidden by default. Symbols intended to be used by
plugins need to be marked with DRIZZLED_API.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef DRIZZLED_DTCOLLATION_H
21
21
#define DRIZZLED_DTCOLLATION_H
22
22
 
23
 
#include <drizzled/definitions.h>
 
23
#include "drizzled/definitions.h"
 
24
#include "drizzled/visibility.h"
24
25
 
25
26
namespace drizzled
26
27
{
29
30
typedef struct charset_info_st CHARSET_INFO;
30
31
 
31
32
 
32
 
class DTCollation {
 
33
class DRIZZLED_API DTCollation
 
34
{
33
35
public:
34
36
  const CHARSET_INFO *collation;
35
37
  enum Derivation derivation;
36
38
 
37
 
  DTCollation();
38
 
  DTCollation(const CHARSET_INFO * const collation_arg,
39
 
              Derivation derivation_arg);
 
39
  DRIZZLED_LOCAL DTCollation();
 
40
  DRIZZLED_LOCAL DTCollation(const CHARSET_INFO * const collation_arg,
 
41
                             Derivation derivation_arg);
40
42
  void set(DTCollation &dt);
41
43
  void set(const CHARSET_INFO * const collation_arg,
42
44
           Derivation derivation_arg);
80
82
  @endcode
81
83
*/
82
84
 
83
 
  bool aggregate(DTCollation &dt, uint32_t flags= 0);
 
85
  DRIZZLED_LOCAL bool aggregate(DTCollation &dt, uint32_t flags= 0);
84
86
 
85
 
  const char *derivation_name() const;
 
87
  DRIZZLED_LOCAL const char *derivation_name() const;
86
88
 
87
89
};
88
90