VisioDevKit
v2.0
|
Holds a query that could be executed by the engine. More...
Public Types | |
enum | Operator { eEquals = 0 } |
Public Member Functions | |
VgQuery () | |
Constructor. More... | |
virtual | ~VgQuery () |
Destructor. More... | |
VgQuery & | where (const std::string &pKey, Operator pOp, const std::string &pValue) |
Adds a condition to the query. More... | |
Protected Attributes | |
Private * | mPrivate |
Private. More... | |
Friends | |
class | VgObjectBridge |
Holds a query that could be executed by the engine.
VgEngine::VgQuery::VgQuery | ( | ) |
Constructor.
|
virtual |
Destructor.
VgQuery& VgEngine::VgQuery::where | ( | const std::string & | pKey, |
Operator | pOp, | ||
const std::string & | pValue | ||
) |
Adds a condition to the query.
pKey. | Currently, the key can be 'class' or 'ID'. |
pOp | |
pValue | Note: when using the key 'class' the value must be the fully qualified name, such as 'Vg3DModule::VgPoint'. Note: Currently, only VgPoint can be queried. |
|
friend |
|
protected |
Private.