~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message.h

  • Committer: Monty Taylor
  • Date: 2011-02-13 17:26:39 UTC
  • mfrom: (2157.2.2 give-in-to-pkg-config)
  • mto: This revision was merged to the branch mainline in revision 2166.
  • Revision ID: mordred@inaugust.com-20110213172639-nhy7i72sfhoq13ms
Merged in pkg-config fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#ifndef DRIZZLED_MESSAGE_H
22
22
#define DRIZZLED_MESSAGE_H
23
23
 
24
 
#include "drizzled/message/table.pb.h"
25
 
#include "drizzled/message/schema.pb.h"
 
24
#include "drizzled/message/table.h"
 
25
#include "drizzled/message/schema.h"
26
26
#if 0
27
27
#include "drizzled/message/transaction.pb.h"
28
28
#include <google/protobuf/text_format.h>
29
29
#endif
 
30
#include "drizzled/identifier.h"
30
31
 
31
32
#include <boost/shared_ptr.hpp>
32
33
 
33
34
namespace drizzled {
34
35
namespace message {
35
36
 
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
 
 
39
37
void update(drizzled::message::Schema &arg);
40
38
void update(drizzled::message::Table &arg);
41
39
 
 
40
bool is_numeric(const drizzled::message::Table::Field &type);
 
41
 
 
42
const std::string &type(const drizzled::message::Table::Field &type);
42
43
const std::string &type(drizzled::message::Table::Field::FieldType type);
43
44
const std::string &type(drizzled::message::Table::ForeignKeyConstraint::ForeignKeyOption type);
44
45
const std::string &type(bool type);
45
46
const std::string &type(drizzled::message::Table::Index::IndexType type);
46
47
const std::string &type(drizzled::message::Table::ForeignKeyConstraint::ForeignKeyMatchOption type);
47
 
 
48
 
typedef boost::shared_ptr<drizzled::message::Schema> SchemaPtr;
 
48
const std::string &type(drizzled::message::Table::TableType type);
49
49
 
50
50
#if 0
51
51
std::ostream& operator<<(std::ostream& output, const message::Transaction &message);