~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/varstring.h

  • Committer: Monty Taylor
  • Date: 2010-02-04 08:14:46 UTC
  • mfrom: (1277.2.1 build) (1280.2.1 build)
  • mto: This revision was merged to the branch mainline in revision 1283.
  • Revision ID: mordred@inaugust.com-20100204081446-ldh9m486va30uap6
Put everything in drizzled into drizzled namespace.
Put internal stuff into drizzled::internal namespace.
Removed some cruft.
Now every symbol that is shipped in a header is in the drizzled namespace
and everything in the server that's not shipped is labeled internal. woot. 
Removed a lot of the extra extern "C" stuff that was in there. Less ugliness for
internal callbacks now for Sun Studio.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#include <drizzled/field/str.h>
25
25
#include <string>
26
26
 
 
27
namespace drizzled
 
28
{
 
29
 
27
30
class Field_varstring :public Field_str {
28
31
public:
29
32
 
106
109
  enum_field_types real_type() const { return DRIZZLE_TYPE_VARCHAR; }
107
110
  bool has_charset(void) const
108
111
  { return charset() == &my_charset_bin ? false : true; }
109
 
  Field *new_field(drizzled::memory::Root *root, Table *new_table, bool keep_type);
110
 
  Field *new_key_field(drizzled::memory::Root *root, Table *new_table,
 
112
  Field *new_field(memory::Root *root, Table *new_table, bool keep_type);
 
113
  Field *new_key_field(memory::Root *root, Table *new_table,
111
114
                       unsigned char *new_ptr, unsigned char *new_null_ptr,
112
115
                       uint32_t new_null_bit);
113
116
};
114
117
 
 
118
} /* namespace drizzled */
 
119
 
115
120
#endif /* DRIZZLED_FIELD_VARSTRING_H */
116
121