~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/identifier/schema.h

  • Committer: Lee Bieber
  • Date: 2011-03-23 01:55:35 UTC
  • mfrom: (2245.1.2 build)
  • Revision ID: kalebral@gmail.com-20110323015535-2aatqy8tyiuqtc2z
Merge Olaf - more code refactoring

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
 
32
32
#pragma once
33
33
 
34
 
#include <drizzled/enum.h>
35
 
#include <drizzled/definitions.h>
36
 
#include <drizzled/message/table.pb.h>
37
 
#include <drizzled/catalog/local.h>
38
 
#include <string.h>
39
 
 
40
 
#include <assert.h>
41
 
 
 
34
#include <boost/algorithm/string.hpp>
42
35
#include <ostream>
43
 
#include <list>
44
 
#include <algorithm>
45
 
#include <functional>
46
 
#include <iostream>
47
 
 
48
 
#include <boost/algorithm/string.hpp>
49
 
 
50
 
#include <drizzled/visibility.h>
51
36
 
52
37
namespace drizzled {
53
38
namespace identifier {
63
48
 
64
49
  Schema(const std::string &db_arg);
65
50
 
66
 
  virtual ~Schema()
67
 
  { }
68
 
 
69
51
  virtual void getSQLPath(std::string &arg) const;
70
52
 
71
53
  const std::string &getPath() const;
89
71
 
90
72
  friend bool operator<(Schema::const_reference left, Schema::const_reference right)
91
73
  {
92
 
    return  boost::algorithm::to_upper_copy(left.getSchemaName()) < boost::algorithm::to_upper_copy(right.getSchemaName());
 
74
    return boost::ilexicographical_compare(left.getSchemaName(), right.getSchemaName());
93
75
  }
94
76
 
95
77
  friend bool operator==(Schema::const_reference left,