Structure for table columns containing its name, type, reference, and indexing.
More...
#include <TableColumn.hpp>
|
| TableColumn (const std::string &setName, const std::string &setType, const std::string &setReferenceTable, const std::string &setReferenceColumn, bool setIndexed) |
| Constructor setting all properties of the table column. More...
|
|
| TableColumn (const std::string &setName, const std::string &setType, const std::string &setReferenceTable, const std::string &setReferenceColumn) |
| Constructor setting properties of an unindexed table column. More...
|
|
| TableColumn (const std::string &setName, const std::string &setType, bool setIndexed) |
| Constructor setting properties of an unreferenced table column. More...
|
|
| TableColumn (const std::string &setName, const std::string &setType) |
| Constructor setting properties of an unreferenced and unindexed table column. More...
|
|
| TableColumn (const TableColumn &other, const std::string &newName) |
| Constructor copying another table column and setting a new name for the copy. More...
|
|
Structure for table columns containing its name, type, reference, and indexing.
◆ TableColumn() [1/5]
crawlservpp::Struct::TableColumn::TableColumn |
( |
const std::string & |
setName, |
|
|
const std::string & |
setType, |
|
|
const std::string & |
setReferenceTable, |
|
|
const std::string & |
setReferenceColumn, |
|
|
bool |
setIndexed |
|
) |
| |
|
inline |
Constructor setting all properties of the table column.
- Parameters
-
setName | Constant reference to a string containing the name of the new table column. |
setType | Constant reference to a string containing the type of the new table column as SQL string. |
setReferenceTable | Constant reference to a string containing the name of the table referenced by the new table column. |
setReferenceColumn | Constant reference to a string containing the name of the column referenced by the new table column. |
setIndexed | Set whether the new table column is indexed. |
◆ TableColumn() [2/5]
crawlservpp::Struct::TableColumn::TableColumn |
( |
const std::string & |
setName, |
|
|
const std::string & |
setType, |
|
|
const std::string & |
setReferenceTable, |
|
|
const std::string & |
setReferenceColumn |
|
) |
| |
|
inline |
Constructor setting properties of an unindexed table column.
- Parameters
-
setName | Constant reference to a string containing the name of the new table column. |
setType | Constant reference to a string containing the type of the new table column as SQL string. |
setReferenceTable | Constant reference to a string containing the name of the table referenced by the new table column. |
setReferenceColumn | Constant reference to a string containing the name of the column referenced by the new table column. |
◆ TableColumn() [3/5]
crawlservpp::Struct::TableColumn::TableColumn |
( |
const std::string & |
setName, |
|
|
const std::string & |
setType, |
|
|
bool |
setIndexed |
|
) |
| |
|
inline |
Constructor setting properties of an unreferenced table column.
- Parameters
-
setName | Constant reference to a string containing the name of the new table column. |
setType | Constant reference to a string containing the type of the new table column as SQL string. |
setIndexed | Set whether the new table column is indexed. |
◆ TableColumn() [4/5]
crawlservpp::Struct::TableColumn::TableColumn |
( |
const std::string & |
setName, |
|
|
const std::string & |
setType |
|
) |
| |
|
inline |
Constructor setting properties of an unreferenced and unindexed table column.
- Parameters
-
setName | Constant reference to a string containing the name of the new table column. |
setType | Constant reference to a string containing the type of the new table column as SQL string. |
◆ TableColumn() [5/5]
crawlservpp::Struct::TableColumn::TableColumn |
( |
const TableColumn & |
other, |
|
|
const std::string & |
newName |
|
) |
| |
|
inline |
Constructor copying another table column and setting a new name for the copy.
- Parameters
-
other | Constnt reference to the table column to be copied from. |
newName | Constant reference to a string containing the name of the new table column. |
◆ indexed
bool crawlservpp::Struct::TableColumn::indexed |
Indicates whether the table column is indexed.
◆ name
std::string crawlservpp::Struct::TableColumn::name |
◆ referenceColumn
std::string crawlservpp::Struct::TableColumn::referenceColumn |
◆ referenceTable
std::string crawlservpp::Struct::TableColumn::referenceTable |
◆ type
std::string crawlservpp::Struct::TableColumn::type |
The documentation for this struct was generated from the following file: