VisioDevKit  v2.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Friends Pages
VgEngine::VgQuery Class Reference

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...
 
VgQuerywhere (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
 

Detailed Description

Holds a query that could be executed by the engine.

Warning
Performance note: this query mechanism should not be used intensively.
Version
2.0.9334

Member Enumeration Documentation

Enumerator
eEquals 

Equality operator.

Constructor & Destructor Documentation

VgEngine::VgQuery::VgQuery ( )

Constructor.

virtual VgEngine::VgQuery::~VgQuery ( )
virtual

Destructor.

Member Function Documentation

VgQuery& VgEngine::VgQuery::where ( const std::string &  pKey,
Operator  pOp,
const std::string &  pValue 
)

Adds a condition to the query.

Parameters
pKey.Currently, the key can be 'class' or 'ID'.
pOp
pValueNote: when using the key 'class' the value must be the fully qualified name, such as 'Vg3DModule::VgPoint'. Note: Currently, only VgPoint can be queried.

Friends And Related Function Documentation

friend class VgObjectBridge
friend

Member Data Documentation

Private* VgEngine::VgQuery::mPrivate
protected

Private.


The documentation for this class was generated from the following file:
VisioDevKit 2.0, Visioglobe® 2013