|
Covalent Bond
0.0.1-alpha
'covalent bond' is a data middle office. As a 2022-2023 Fall SWE final project.
|
#include <cbTable.hpp>
Public Member Functions | |
| cbMySQLCell () | |
| cbMySQLCell (const protocol::MySQLCell &m) | |
| cbMySQLCell (int value) | |
| cbMySQLCell (float value) | |
| cbMySQLCell (double value) | |
| cbMySQLCell (unsigned long long value) | |
| cbMySQLCell (const std::string &value) | |
| cbMySQLCell (const std::string &value, const cbMySQLType &t) | |
| bool | isNull () const |
| bool | isInt () const |
| bool | isString () const |
| bool | isFloat () const |
| bool | isDouble () const |
| bool | isULL () const |
| bool | isDate () const |
| bool | isTime () const |
| bool | isDatetime () const |
| int | asInt () const |
| std::string | asString () const |
| float | asFloat () const |
| double | asDouble () const |
| unsigned long long | asULL () const |
| std::string | asDate () const |
| std::string | asTime () const |
| std::string | asDatetime () const |
| void | setInt (int value) |
| void | setString (const std::string &value) |
| void | setFloat (float value) |
| void | setDouble (double value) |
| void | setULL (unsigned long long value) |
| void | setDate (const std::string &value) |
| void | setTime (const std::string &value) |
| void | setDatetime (const std::string &value) |
| cbMySQLType | getType () |
Private Attributes | |
| cbMySQLType | m_type = cbMySQLType::Null |
| __cbMySQLMeta | m_data |
Definition at line 468 of file cbTable.hpp.
|
inline |
Definition at line 470 of file cbTable.hpp.
| cbMySQLCell::cbMySQLCell | ( | const protocol::MySQLCell & | m | ) |
|
inline |
Definition at line 472 of file cbTable.hpp.
|
inline |
Definition at line 473 of file cbTable.hpp.
|
inline |
Definition at line 474 of file cbTable.hpp.
|
inline |
Definition at line 475 of file cbTable.hpp.
|
inline |
Definition at line 476 of file cbTable.hpp.
|
inline |
Definition at line 477 of file cbTable.hpp.
| std::string cbMySQLCell::asDate | ( | ) | const |
Definition at line 427 of file cbTable.cpp.
References asString().

| std::string cbMySQLCell::asDatetime | ( | ) | const |
Definition at line 431 of file cbTable.cpp.
References asString().
Referenced by bindAllFuncByDefault().


| double cbMySQLCell::asDouble | ( | ) | const |
Definition at line 417 of file cbTable.cpp.
References isDouble(), and m_data.
Referenced by bindAllFuncByDefault().


| float cbMySQLCell::asFloat | ( | ) | const |
Definition at line 412 of file cbTable.cpp.
References isFloat(), and m_data.
Referenced by bindAllFuncByDefault().


| int cbMySQLCell::asInt | ( | ) | const |
Definition at line 402 of file cbTable.cpp.
References isInt(), and m_data.
Referenced by bindAllFuncByDefault().


| std::string cbMySQLCell::asString | ( | ) | const |
Definition at line 407 of file cbTable.cpp.
References isString(), and m_data.
Referenced by asDate(), asDatetime(), asTime(), and bindAllFuncByDefault().


| std::string cbMySQLCell::asTime | ( | ) | const |
Definition at line 429 of file cbTable.cpp.
References asString().
Referenced by bindAllFuncByDefault().


| unsigned long long cbMySQLCell::asULL | ( | ) | const |
Definition at line 422 of file cbTable.cpp.
References isULL(), and m_data.
Referenced by bindAllFuncByDefault().


| cbMySQLType cbMySQLCell::getType | ( | ) |
Definition at line 465 of file cbTable.cpp.
References m_type.
| bool cbMySQLCell::isDate | ( | ) | const |
Definition at line 381 of file cbTable.cpp.
Referenced by setDate().

| bool cbMySQLCell::isDatetime | ( | ) | const |
Definition at line 395 of file cbTable.cpp.
References DataTime, and m_type.
Referenced by bindAllFuncByDefault(), and setDatetime().

| bool cbMySQLCell::isDouble | ( | ) | const |
Definition at line 367 of file cbTable.cpp.
References Double, and m_type.
Referenced by asDouble(), bindAllFuncByDefault(), and setDouble().

| bool cbMySQLCell::isFloat | ( | ) | const |
Definition at line 360 of file cbTable.cpp.
Referenced by asFloat(), bindAllFuncByDefault(), and setFloat().

| bool cbMySQLCell::isInt | ( | ) | const |
Definition at line 343 of file cbTable.cpp.
Referenced by asInt(), bindAllFuncByDefault(), and setInt().

| bool cbMySQLCell::isNull | ( | ) | const |
Definition at line 336 of file cbTable.cpp.
| bool cbMySQLCell::isString | ( | ) | const |
Definition at line 350 of file cbTable.cpp.
References DataTime, Date, m_type, String, and Time.
Referenced by asString(), bindAllFuncByDefault(), and setString().

| bool cbMySQLCell::isTime | ( | ) | const |
Definition at line 388 of file cbTable.cpp.
Referenced by bindAllFuncByDefault(), and setTime().

| bool cbMySQLCell::isULL | ( | ) | const |
Definition at line 374 of file cbTable.cpp.
Referenced by asULL(), bindAllFuncByDefault(), and setULL().

| void cbMySQLCell::setDate | ( | const std::string & | value | ) |
Definition at line 453 of file cbTable.cpp.
References isDate(), and m_data.

| void cbMySQLCell::setDatetime | ( | const std::string & | value | ) |
Definition at line 461 of file cbTable.cpp.
References isDatetime(), and m_data.
Referenced by bindAllFuncByDefault().


| void cbMySQLCell::setDouble | ( | double | value | ) |
Definition at line 445 of file cbTable.cpp.
References isDouble(), and m_data.

| void cbMySQLCell::setFloat | ( | float | value | ) |
Definition at line 441 of file cbTable.cpp.
References isFloat(), and m_data.
Referenced by bindAllFuncByDefault().


| void cbMySQLCell::setInt | ( | int | value | ) |
Definition at line 433 of file cbTable.cpp.
References isInt(), and m_data.
Referenced by bindAllFuncByDefault().


| void cbMySQLCell::setString | ( | const std::string & | value | ) |
Definition at line 437 of file cbTable.cpp.
References isString(), and m_data.
Referenced by bindAllFuncByDefault().


| void cbMySQLCell::setTime | ( | const std::string & | value | ) |
Definition at line 457 of file cbTable.cpp.
References isTime(), and m_data.
Referenced by bindAllFuncByDefault().


| void cbMySQLCell::setULL | ( | unsigned long long | value | ) |
Definition at line 449 of file cbTable.cpp.
References isULL(), and m_data.
Referenced by bindAllFuncByDefault().


|
private |
Definition at line 511 of file cbTable.hpp.
Referenced by asDouble(), asFloat(), asInt(), asString(), asULL(), cbMySQLCell(), setDate(), setDatetime(), setDouble(), setFloat(), setInt(), setString(), setTime(), and setULL().
|
private |
Definition at line 510 of file cbTable.hpp.
Referenced by cbMySQLCell(), getType(), isDate(), isDatetime(), isDouble(), isFloat(), isInt(), isNull(), isString(), isTime(), and isULL().
1.8.17