~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/schema.h

  • Committer: Mark Atwood
  • Date: 2011-08-12 04:08:33 UTC
  • mfrom: (2385.2.17 refactor5)
  • Revision ID: me@mark.atwood.name-20110812040833-u6j85nc6ahuc0dtz
mergeĀ lp:~olafvdspek/drizzle/refactor5

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>
31
30
namespace message {
32
31
namespace schema {
33
32
 
 
33
typedef message::Schema value_type;
34
34
typedef boost::shared_ptr <message::Schema> shared_ptr;
35
35
typedef const message::Schema const_reference;
36
36
 
37
 
shared_ptr make_shared(identifier::Schema::const_reference identifier);
 
37
shared_ptr make_shared(const identifier::Schema& identifier);
38
38
shared_ptr make_shared(const std::string &name_arg);
39
39
void init(drizzled::message::Schema &arg, const std::string &name_arg);
40
40
 
43
43
} // namespace message
44
44
} // namespace drizzled
45
45
 
46
 
#endif /* DRIZZLED_MESSAGE_SCHEMA_H */