|
Covalent Bond
0.0.1-alpha
'covalent bond' is a data middle office. As a 2022-2023 Fall SWE final project.
|
cbVirtualSharedTable is a container of shared memory. More...
#include <cbTable.hpp>

Public Member Functions | |
| ~cbVirtualSharedTable () | |
| Destroy the cb Virtual Shared Table object. More... | |
| cbVirtualSharedTable ()=default | |
| Construct a new cb Virtual Shared Table object. More... | |
| cbVirtualSharedTable (protocol::MySQLResultCursor *cursor) | |
| Construct a new cb Virtual Shared Table object Only loop one result set. More... | |
| const cbShape< 2 > | getShape () const |
| Get the Shape object. More... | |
| cbMySQLCell * | atPtr (int32_t i, int32_t j) |
| cbMySQLCell * | atPtrRef (int32_t i, int32_t j) |
| cbMySQLField ** | getInfo () |
| Get the Info object. More... | |
| int32_t | getFiledCount () |
| Get the Filed Count object. More... | |
| void | resetShape (cbShape< 2 > &shape) |
| void | resetFieldInfo (int32_t fieldCount, cbMySQLField **info) |
Private Attributes | |
| int32_t | m_fieldCount = 0 |
| cbShape< 2 > | m_shape |
| cbMySQLField ** | m_info = nullptr |
| std::vector< std::vector< cbMySQLCell > > | m_data |
cbVirtualSharedTable is a container of shared memory.
Definition at line 518 of file cbTable.hpp.
| cbVirtualSharedTable::~cbVirtualSharedTable | ( | ) |
Destroy the cb Virtual Shared Table object.
Definition at line 48 of file cbTable.cpp.
References m_fieldCount, and m_info.
|
default |
Construct a new cb Virtual Shared Table object.
| cbVirtualSharedTable::cbVirtualSharedTable | ( | protocol::MySQLResultCursor * | cursor | ) |
Construct a new cb Virtual Shared Table object Only loop one result set.
| cursor |
! no copy api
! with copy.
Definition at line 53 of file cbTable.cpp.
References m_data, m_fieldCount, m_info, m_shape, and resetShape().

| cbMySQLCell * cbVirtualSharedTable::atPtr | ( | int32_t | i, |
| int32_t | j | ||
| ) |
| i | |
| j |
Definition at line 77 of file cbTable.cpp.
References m_data.
Referenced by mapShared2Virtual().

| cbMySQLCell * cbVirtualSharedTable::atPtrRef | ( | int32_t | i, |
| int32_t | j | ||
| ) |
|
inline |
Get the Filed Count object.
Definition at line 576 of file cbTable.hpp.
References m_fieldCount.
|
inline |
Get the Info object.
Definition at line 569 of file cbTable.hpp.
References m_info.
Referenced by mapShared2Virtual().

|
inline |
Get the Shape object.
Definition at line 544 of file cbTable.hpp.
References m_shape.
Referenced by mapShared2Virtual().

| void cbVirtualSharedTable::resetFieldInfo | ( | int32_t | fieldCount, |
| cbMySQLField ** | info | ||
| ) |
| fieldCount | |
| info |
Definition at line 91 of file cbTable.cpp.
References m_fieldCount, and m_info.
| void cbVirtualSharedTable::resetShape | ( | cbShape< 2 > & | shape | ) |
| shape |
Definition at line 81 of file cbTable.cpp.
References m_data, and m_shape.
Referenced by cbVirtualSharedTable().

|
private |
Definition at line 597 of file cbTable.hpp.
Referenced by atPtr(), atPtrRef(), cbVirtualSharedTable(), and resetShape().
|
private |
Definition at line 594 of file cbTable.hpp.
Referenced by cbVirtualSharedTable(), getFiledCount(), resetFieldInfo(), and ~cbVirtualSharedTable().
|
private |
Definition at line 596 of file cbTable.hpp.
Referenced by cbVirtualSharedTable(), getInfo(), resetFieldInfo(), and ~cbVirtualSharedTable().
|
private |
Definition at line 595 of file cbTable.hpp.
Referenced by cbVirtualSharedTable(), getShape(), and resetShape().
1.8.17