~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/table.h

  • Committer: Lee Bieber
  • Date: 2011-03-29 22:31:41 UTC
  • mfrom: (2257.1.3 build)
  • Revision ID: kalebral@gmail.com-20110329223141-yxc22h3l2he58sk0
Merge Andrew - 743842: Build failure using GCC 4.6
Merge Stewart - 738022: CachedDirectory silently fails to add entries if stat() fails
Merge Olaf - Common fwd: add copyright, add more declaration

Show diffs side-by-side

added added

removed removed

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