Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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)
default

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 ( )
inline

References unique_.

Member Data Documentation

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

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

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

Referenced by print(), and unique().


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