Rosetta Utilities  2014.35
Public Member Functions | Private Attributes | List of all members
basic::database::schema_generator::Index Class Reference

#include <Index.hh>

Public Member Functions

 Index (Column column, bool unique=true)
 Index (Columns columns, bool unique=true)
 Index (Index const &src)
Columns columns ()
bool unique ()
std::string print (std::string const &table_name, utility::sql_database::sessionOP db_session) const

Private Attributes

bool unique_
Columns columns_

Constructor & Destructor Documentation

basic::database::schema_generator::Index::Index ( Column  column,
bool  unique = true 

References columns_.

basic::database::schema_generator::Index::Index ( Columns  columns,
bool  unique = true 
basic::database::schema_generator::Index::Index ( Index const &  src)

Member Function Documentation

Columns basic::database::schema_generator::Index::columns ( )

References columns_.

string basic::database::schema_generator::Index::print ( std::string const &  table_name,
utility::sql_database::sessionOP  db_session 
) const
bool basic::database::schema_generator::Index::unique ( )

References unique_.

Member Data Documentation

Columns basic::database::schema_generator::Index::columns_

Referenced by columns(), Index(), and print().

bool basic::database::schema_generator::Index::unique_

Referenced by print(), and unique().

The documentation for this class was generated from the following files: