~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/module/context.h

  • Committer: Monty Taylor
  • Date: 2011-03-08 23:35:47 UTC
  • mfrom: (2224.2.9 statement2)
  • mto: This revision was merged to the branch mainline in revision 2227.
  • Revision ID: mordred@inaugust.com-20110308233547-w2s3tm5svzv339dp
Merged Olaf - Statement refactor.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
 * to force things like proper name prefixing and the like.
36
36
 */
37
37
 
38
 
#include "drizzled/module/registry.h"
 
38
#include <boost/noncopyable.hpp>
 
39
#include <drizzled/module/registry.h>
 
40
#include <drizzled/visibility.h>
39
41
 
40
 
namespace drizzled
41
 
{
 
42
namespace drizzled {
42
43
 
43
44
class sys_var;
44
45
 
45
 
namespace module
46
 
{
 
46
namespace module {
47
47
 
48
48
class Module;
49
49
class option_map;
50
50
 
51
 
class Context
 
51
class DRIZZLED_API Context : boost::noncopyable
52
52
{
53
 
private:
54
 
  module::Registry &registry;
55
 
  module::Module *module;
56
 
 
57
 
  Context(const Context&);
58
 
  Context& operator=(const Context&);
59
53
public:
60
54
 
61
55
  Context(module::Registry &registry_arg,
83
77
 
84
78
  static std::string prepend_name(std::string module_name,
85
79
                                  const std::string &var_name);
 
80
private:
 
81
  module::Registry &registry;
 
82
  module::Module *module;
86
83
};
87
84
 
88
85