~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table/shell.h

  • Committer: Olaf van der Spek
  • Date: 2011-03-14 17:27:03 UTC
  • mto: (2235.2.2 build)
  • mto: This revision was merged to the branch mainline in revision 2237.
  • Revision ID: olafvdspek@gmail.com-20110314172703-xe9p9qo4ohstt9ax
Refactor includes

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
#pragma once
22
22
 
23
 
namespace drizzled
24
 
{
 
23
#include <drizzled/table.h>
25
24
 
26
 
namespace table
27
 
{
 
25
namespace drizzled {
 
26
namespace table {
28
27
 
29
28
class Shell : public drizzled::Table
30
29
{
32
31
 
33
32
public:
34
33
  Shell(TableShare &arg) :
35
 
    Table(),
36
34
    _share(arg)
37
35
  {
38
36
  }
39
37
 
40
 
  ~Shell()
41
 
  {
42
 
  }
43
 
 
44
38
  const TableShare *getShare() const { return &_share; } /* Get rid of this long term */
45
39
  TableShare *getMutableShare() { return &_share; } /* Get rid of this long term */
46
40
  bool hasShare() const { return true; } /* Get rid of this long term */
47
41
  void setShare(TableShare *) { ; } /* Get rid of this long term */
48
42
 
49
 
  void release() { assert(0); }; // This should never happen
 
43
  void release() { assert(false); }; // This should never happen
50
44
 
51
45
};
52
46