~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/schema_dictionary/columns.h

  • Committer: Brian Aker
  • Date: 2010-10-27 23:24:30 UTC
  • mfrom: (1861.4.9 trunk-drizzle)
  • Revision ID: brian@tangent.org-20101027232430-e9ces9kmhvknr86c
Merge in additions to IS for FK

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 TablesTool
 
24
class ColumnsTool : public DataDictionary
25
25
{
26
26
public:
27
27
 
28
28
  ColumnsTool();
29
29
 
30
 
  class Generator : public TablesTool::Generator 
 
30
  class Generator : public DataDictionary::Generator
31
31
  {
32
 
    int32_t column_iterator;
33
 
    bool is_columns_primed;
34
 
    drizzled::message::Table::Field column;
35
 
 
36
 
    bool nextColumnCore();
37
 
    bool nextColumn();
 
32
    drizzled::generator::AllFields field_generator;
38
33
 
39
34
  public:
40
35
    Generator(drizzled::Field **arg);
41
36
 
42
37
    bool populate();
43
 
    void fill();
44
 
 
45
 
    const drizzled::message::Table::Field& getColumn()
46
 
    {
47
 
      return column;
48
 
    }
49
38
  };
50
39
 
51
40
  Generator *generator(drizzled::Field **arg)