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

#include <ForeignKey.hh>

Public Member Functions

 ForeignKey (Column const &column, std::string const &reference_table, std::string const &reference_column)
 
 ForeignKey (Column const &column, std::string const &reference_table, std::string const &reference_column, bool defer)
 
 ForeignKey (Columns const &columns, std::string const &reference_table, utility::vector1< std::string > const &reference_columns, bool defer)
 
Columns columns ()
 
std::string print (utility::sql_database::sessionOP) const
 

Private Attributes

Columns columns_
 
utility::vector1< std::string > reference_columns_
 
std::string reference_table_
 
bool defer_
 

Constructor & Destructor Documentation

basic::database::schema_generator::ForeignKey::ForeignKey ( Column const &  column,
std::string const &  reference_table,
std::string const &  reference_column 
)

References columns_, and reference_columns_.

basic::database::schema_generator::ForeignKey::ForeignKey ( Column const &  column,
std::string const &  reference_table,
std::string const &  reference_column,
bool  defer 
)

References columns_, and reference_columns_.

basic::database::schema_generator::ForeignKey::ForeignKey ( Columns const &  columns,
std::string const &  reference_table,
utility::vector1< std::string > const &  reference_columns,
bool  defer 
)

Member Function Documentation

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

Member Data Documentation

Columns basic::database::schema_generator::ForeignKey::columns_
private

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

bool basic::database::schema_generator::ForeignKey::defer_
private

Referenced by print().

utility::vector1<std::string> basic::database::schema_generator::ForeignKey::reference_columns_
private

Referenced by ForeignKey(), and print().

std::string basic::database::schema_generator::ForeignKey::reference_table_
private

Referenced by print().


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