~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/module/vertex_handle.h

  • Committer: Mark Atwood
  • Date: 2011-08-13 14:57:16 UTC
  • mfrom: (2385.3.6 rf)
  • Revision ID: me@mark.atwood.name-20110813145716-u4om752lt4gdpfc7
mergeĀ lp:~olafvdspek/drizzle/refactor6

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
namespace drizzled {
25
25
namespace module {
26
26
 
27
 
class VertexHandle
 
27
class VertexHandle : boost::noncopyable
28
28
{
29
 
 
30
 
private:
31
 
  VertexDesc vertex_desc_;
32
 
 
33
 
  VertexHandle();
34
 
  VertexHandle(const VertexHandle&);
35
 
  VertexHandle& operator=(const VertexHandle&);
36
 
 
37
29
public:
38
30
  explicit VertexHandle(VertexDesc vertex_desc) :
39
31
    vertex_desc_(vertex_desc)
40
32
  { }
41
33
 
42
 
  VertexDesc getVertexDesc()
 
34
  VertexDesc getVertexDesc() const
43
35
  {
44
36
    return vertex_desc_;
45
37
  }
46
 
 
 
38
private:
 
39
  VertexDesc vertex_desc_;
47
40
};
48
41
 
49
42
} /* namespace module */