#include <Index.h>
Public Member Functions | |
Visitor::VisitorState | accept (Visitor *v) |
Visitor::VisitorState | accept (Visitor *v) |
const std::vector< std::string > & | getColumnNames () |
const std::vector< std::string > & | getColumnNames () |
const std::string & | getName () const |
const std::string & | getName () const |
Index (Table *myTable=0) | |
Index (Table *myTable=0) | |
bool | isPrimary () const |
bool | isPrimary () const |
~Index () | |
~Index () | |
Private Attributes | |
std::vector< std::string > | m_indexCols |
Names of columns it's indexing. | |
std::vector< std::string > | m_indexCols |
Names of columns it's indexing. | |
Table * | m_myTable |
Point back to owning table. | |
Table * | m_myTable |
Point back to owning table. | |
std::string | m_name |
bool | m_primary |
Is it a primary key? | |
Friends | |
class | rdbModel::XercesBuilder |
|
00021 : m_myTable(myTable) {};
|
|
00022 {};
|
|
00021 : m_myTable(myTable) {};
|
|
00022 {};
|
|
|
|
00007 { 00008 Visitor::VisitorState state = v->visitIndex(this); 00009 if (state == Visitor::VBRANCHDONE) return Visitor::VCONTINUE; 00010 return state; 00011 }
|
|
|
|
00013 {
00014 return m_indexCols;
00015 }
|
|
00024 {return m_name; };
|
|
00024 {return m_name; };
|
|
00025 {return m_primary;}
|
|
00025 {return m_primary;}
|
|
|
|
Names of columns it's indexing.
|
|
Names of columns it's indexing.
|
|
Point back to owning table.
|
|
Point back to owning table.
|
|
|
|
Is it a primary key?
|