~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/module/vertex_handle.h

  • Committer: Olaf van der Spek
  • Date: 2011-08-12 16:41:20 UTC
  • mto: This revision was merged to the branch mainline in revision 2398.
  • Revision ID: olafvdspek@gmail.com-20110812164120-uu21idtt9a9sa92e
cppcheck

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 */