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::PrimaryKey Class Reference

#include <PrimaryKey.hh>

Public Member Functions

 PrimaryKey ()
 
 PrimaryKey (Column column)
 
 PrimaryKey (Columns columns)
 
void add_column (Column column)
 
Columns const & columns () const
 
std::string print (utility::sql_database::sessionOP db_session) const
 

Private Attributes

Columns columns_
 

Constructor & Destructor Documentation

basic::database::schema_generator::PrimaryKey::PrimaryKey ( )
default
basic::database::schema_generator::PrimaryKey::PrimaryKey ( Column  column)

References columns_.

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

Member Function Documentation

void basic::database::schema_generator::PrimaryKey::add_column ( Column  column)

References columns_.

Columns const & basic::database::schema_generator::PrimaryKey::columns ( ) const
std::string basic::database::schema_generator::PrimaryKey::print ( utility::sql_database::sessionOP  db_session) const

Member Data Documentation

Columns basic::database::schema_generator::PrimaryKey::columns_
private

Referenced by add_column(), columns(), PrimaryKey(), and print().


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