Class to store data of a database column in.
More...
#include <DatabaseTypes.h>
|
struct | DataType |
| Enumeration of the data types which can be stored in this class. More...
|
|
Class to store data of a database column in.
§ DataColumn() [1/10]
BaseLib::Database::DataColumn::DataColumn |
( |
| ) |
|
|
inline |
§ DataColumn() [2/10]
BaseLib::Database::DataColumn::DataColumn |
( |
int64_t |
value | ) |
|
|
inline |
Constructor to create a data column of type INTEGER.
- Parameters
-
§ DataColumn() [3/10]
BaseLib::Database::DataColumn::DataColumn |
( |
uint64_t |
value | ) |
|
|
inline |
Constructor to create a data column of type INTEGER.
- Parameters
-
§ DataColumn() [4/10]
BaseLib::Database::DataColumn::DataColumn |
( |
int32_t |
value | ) |
|
|
inline |
Constructor to create a data column of type INTEGER.
- Parameters
-
§ DataColumn() [5/10]
BaseLib::Database::DataColumn::DataColumn |
( |
uint32_t |
value | ) |
|
|
inline |
Constructor to create a data column of type INTEGER.
- Parameters
-
§ DataColumn() [6/10]
BaseLib::Database::DataColumn::DataColumn |
( |
std::string |
value | ) |
|
|
inline |
Constructor to create a data column of type TEXT.
- Parameters
-
§ DataColumn() [7/10]
BaseLib::Database::DataColumn::DataColumn |
( |
double |
value | ) |
|
|
inline |
Constructor to create a data column of type FLOAT.
- Parameters
-
§ DataColumn() [8/10]
BaseLib::Database::DataColumn::DataColumn |
( |
std::shared_ptr< std::vector< char >> |
value | ) |
|
|
inline |
Constructor to create a data column of type BLOB.
- Parameters
-
value | The column data. It is not copied! So make sure to not modify it as long as the DataColumn object exists. |
§ DataColumn() [9/10]
BaseLib::Database::DataColumn::DataColumn |
( |
const std::vector< char > & |
value | ) |
|
|
inline |
Constructor to create a data column of type BLOB.
- Parameters
-
value | The column data. The data is copied. |
§ DataColumn() [10/10]
BaseLib::Database::DataColumn::DataColumn |
( |
const std::vector< uint8_t > & |
value | ) |
|
|
inline |
Constructor to create a data column of type BLOB.
- Parameters
-
value | The column data. The data is copied. |
§ ~DataColumn()
virtual BaseLib::Database::DataColumn::~DataColumn |
( |
| ) |
|
|
inlinevirtual |
Destructor.
It does nothing.
§ binaryValue
std::shared_ptr<std::vector<char> > BaseLib::Database::DataColumn::binaryValue |
§ dataType
DataType::Enum BaseLib::Database::DataColumn::dataType = DataType::Enum::NODATA |
The data type of the column.
§ floatValue
double BaseLib::Database::DataColumn::floatValue = 0 |
§ index
int32_t BaseLib::Database::DataColumn::index = 0 |
§ intValue
int64_t BaseLib::Database::DataColumn::intValue = 0 |
§ textValue
std::string BaseLib::Database::DataColumn::textValue |
The documentation for this class was generated from the following file: