~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/collation_dictionary/character_sets.h

Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
public:
27
27
 
28
28
  CharacterSetsTool();
 
29
 
 
30
  CharacterSetsTool(const char *table_arg) :
 
31
    drizzled::plugin::TableFunction("data_dictionary", table_arg)
 
32
  { }
 
33
 
29
34
  ~CharacterSetsTool() {}
30
35
 
31
36
  class Generator : public drizzled::plugin::TableFunction::Generator 
32
37
  {
33
 
    drizzled::CHARSET_INFO **cs;
 
38
    drizzled::CHARSET_INFO **character_set_iter;
 
39
    bool is_char_primed;
 
40
    bool nextCharacterSetCore();
34
41
 
35
42
  public:
36
43
    Generator(drizzled::Field **arg);
37
44
 
38
45
    bool populate();
 
46
    bool nextCharacterSet();
 
47
    bool checkCharacterSet();
 
48
    virtual void fill();
 
49
 
 
50
    drizzled::CHARSET_INFO const * character_set()
 
51
    {
 
52
      return character_set_iter[0];
 
53
    }
 
54
 
 
55
    bool isCharacterSetPrimed()
 
56
    {
 
57
      return is_char_primed;
 
58
    }
39
59
 
40
60
  };
41
61