~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/schema_dictionary/columns.h

  • Committer: Brian Aker
  • Date: 2010-06-03 22:55:32 UTC
  • mto: (1578.6.9 explain-drizzle)
  • mto: This revision was merged to the branch mainline in revision 1591.
  • Revision ID: brian@gir-2.local-20100603225532-5yuc8um41i4owavf
Additional pass through to remove raw field access.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#ifndef PLUGIN_SCHEMA_DICTIONARY_COLUMNS_H
22
22
#define PLUGIN_SCHEMA_DICTIONARY_COLUMNS_H
23
23
 
24
 
class ColumnsTool : public DataDictionary
 
24
class ColumnsTool : public TablesTool
25
25
{
26
26
public:
27
27
 
28
28
  ColumnsTool();
29
29
 
30
 
  class Generator : public DataDictionary::Generator
 
30
  class Generator : public TablesTool::Generator 
31
31
  {
32
 
    drizzled::generator::AllFields field_generator;
 
32
    int32_t column_iterator;
 
33
    bool is_columns_primed;
 
34
    drizzled::message::Table::Field column;
 
35
 
 
36
    bool nextColumnCore();
 
37
    bool nextColumn();
33
38
 
34
39
  public:
35
40
    Generator(drizzled::Field **arg);
36
41
 
37
42
    bool populate();
 
43
    void fill();
 
44
 
 
45
    const drizzled::message::Table::Field& getColumn()
 
46
    {
 
47
      return column;
 
48
    }
38
49
  };
39
50
 
40
51
  Generator *generator(drizzled::Field **arg)