Class clove::DatasourceValuePointerΒΆ
-
class
clove
::
DatasourceValuePointer
A pointer to one node in a clove::Datasource.
Public Functions
-
DatasourceValuePointer
(irow, icol, backendObject, datasource) Typically called only inside a clove::Datasource implementation. From outside, you should use clove::Datasource::valuePointer.
- Parameters
irow
: The row index.icol
: The column index.backendObject
: The backend object. This depends on the datasource implementation.datasource
: The owning clove::Datasource.
-
irow
The row index.
-
icol
The column index.
-
datasource
The owning clove::Datasource.
-
backendObject
The backend object.
This depends on the datasource implementation.
-
parent
() Returns the parent clove::DatasourceValuePointer.
-
sibling
(irow, icol) Returns a sibling clove::DatasourceValuePointer.
- Parameters
irow
: The row index.icol
: The column index.
-
rowCount
() Returns the number of rows in this node.
-
columnCount
() Returns the number of columns in this node.
-
getValue
() Returns the value stored behind this pointer.
-
static
equals
(ptr1, ptr2) Checks if two value pointers point to the same place.
- Parameters
ptr1
: The first clove::DatasourceValuePointer.ptr2
: The second clove::DatasourceValuePointer.
-
static
toPath
(ptr) Returns an array-of-tuples representation for a value pointer.
See also clove::DatasourceValuePointer::fromPath().
- Parameters
ptr
: The clove::DatasourceValuePointer to convert.
-
static
fromPath
(datasource, path) Returns a clove::DatasourceValuePointer for a array-of-tuples representation.
See also clove::DatasourceValuePointer::toPath().
- Parameters
datasource
: The clove::Datasource the value pointer shall correspond to.path
: The array-of-tuples.
-
static
toString
(ptr) Returns a string representation for a value pointer.
- Parameters
ptr
: The clove::DatasourceValuePointer.
-