~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/schema.h

  • Committer: Mark Atwood
  • Date: 2011-10-27 05:08:12 UTC
  • mfrom: (2445.1.11 rf)
  • Revision ID: me@mark.atwood.name-20111027050812-1icvs72lb0u4xdc4
mergeĀ lp:~olafvdspek/drizzle/refactor8

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 */
20
20
 
21
21
 
22
 
#ifndef DRIZZLED_MESSAGE_SCHEMA_H
23
 
#define DRIZZLED_MESSAGE_SCHEMA_H
 
22
#pragma once
24
23
 
25
24
#include <boost/shared_ptr.hpp>
26
25
#include <drizzled/message/schema.pb.h>
27
26
 
 
27
#include <drizzled/identifier.h>
 
28
 
28
29
namespace drizzled {
29
30
namespace message {
30
31
namespace schema {
31
32
 
 
33
typedef message::Schema value_type;
32
34
typedef boost::shared_ptr <message::Schema> shared_ptr;
 
35
typedef const message::Schema const_reference;
 
36
 
 
37
shared_ptr make_shared(const identifier::Schema& identifier);
 
38
shared_ptr make_shared(const std::string &name_arg);
 
39
void init(drizzled::message::Schema &arg, const std::string &name_arg);
 
40
 
33
41
 
34
42
} // namespace schema
35
43
} // namespace message
36
44
} // namespace drizzled
37
45
 
38
 
#endif /* DRIZZLED_MESSAGE_SCHEMA_H */