~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message.h

  • Committer: Brian Aker
  • Date: 2010-12-19 06:20:54 UTC
  • mfrom: (2005.1.1 bug673105)
  • Revision ID: brian@tangent.org-20101219062054-1kt0l3dxs4z2z8md
Merge Dave.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#include "drizzled/message/transaction.pb.h"
28
28
#include <google/protobuf/text_format.h>
29
29
#endif
30
 
#include "drizzled/identifier.h"
31
30
 
32
31
#include <boost/shared_ptr.hpp>
33
32
 
34
33
namespace drizzled {
35
34
namespace message {
36
35
 
 
36
void init(drizzled::message::Schema &arg, const std::string &name_arg);
 
37
void init(drizzled::message::Table &arg, const std::string &name_arg, const std::string &schema_arg, const std::string &engine_arg);
 
38
 
37
39
void update(drizzled::message::Schema &arg);
38
40
void update(drizzled::message::Table &arg);
39
41
 
40
 
bool is_numeric(const drizzled::message::Table::Field &type);
41
 
 
42
 
const std::string &type(const drizzled::message::Table::Field &type);
43
42
const std::string &type(drizzled::message::Table::Field::FieldType type);
44
43
const std::string &type(drizzled::message::Table::ForeignKeyConstraint::ForeignKeyOption type);
45
44
const std::string &type(bool type);
46
45
const std::string &type(drizzled::message::Table::Index::IndexType type);
47
46
const std::string &type(drizzled::message::Table::ForeignKeyConstraint::ForeignKeyMatchOption type);
48
 
const std::string &type(drizzled::message::Table::TableType type);
49
47
 
50
48
#if 0
51
49
std::ostream& operator<<(std::ostream& output, const message::Transaction &message);