VisioMove SDK (iOS)
2.1.22
|
Public Types |
Public Member Functions | |
VgQuery () | |
virtual | ~VgQuery () |
VgQuery & | where (const std::string &pKey, VgQuery::Operator pOp, const std::string &pValue) |
VgQuery & | reset () |
Protected Attributes | |
Private * | mPrivate |
Friends | |
class | VgObjectBridge |
Holds a query that could be executed by the engine.
VgEngine::VgQuery::VgQuery | ( | ) |
Constructor.
|
virtual |
Destructor.
VgQuery& VgEngine::VgQuery::reset | ( | ) |
VgQuery& VgEngine::VgQuery::where | ( | const std::string & | pKey, |
VgQuery::Operator | pOp, | ||
const std::string & | pValue | ||
) |
Adds a condition to the query. If the pKey has already been used replaces the condition for that key. ie lQuery.where("ID",...,"A").where("ID",...,"B") is equivalent to lQuery.where("ID",...,"B")
pKey | Currently, the key can be 'class' or 'ID'. |
pOp | The operation to be performed by the query. For the list of available operations, see VgEngine::VgQuery::Operator. |
pValue | The value that will be the object of the query operation. When using the key 'class' this value must be the fully qualified name, for example 'Vg3DModule::VgPoint'. Currently, Vg3DModule::VgPoint, Vg3DModule::VgLine, Vg3DModule::VgIGeometry, and VgEngine::VgSpatial can be queried. |
Example:
|
friend |
|
protected |
Private.