|
Aimsun Next Scripting
22
|
Public Member Functions | |
| GKMultiCondition () | |
| ~GKMultiCondition () | |
| void | setModel (GKModel *amodel) |
| QString | toString () const |
| void | fromString (const QString &xmlString) |
| void | clear () |
| void | addCondition (const GKCondition &cond) |
| bool | singleCondition () const |
| void | setType (const GKType *atype) |
| const GKType * | getType () const |
| bool | match (const GKObject *obj, const GKContext &context=GKContext::anyContext, const GKModelConnection *modelConn=nullptr) const |
| bool | singleMatch (const GKObject *obj, QString &value, bool *isANumber, const GKModelConnection *modelConn=nullptr) const |
| bool | isEmpty () const |
| bool | usesColumn (const GKColumn *acol) const |
| const QVector< GKCondition > & | getItems () const |
| void | compile () |
| GKMultiCondition::GKMultiCondition | ( | ) |
| GKMultiCondition::~GKMultiCondition | ( | ) |
| void GKMultiCondition::addCondition | ( | const GKCondition & | cond | ) |
| void GKMultiCondition::clear | ( | ) |
| void GKMultiCondition::compile | ( | ) |
Prepare the conditions in this multicondition.
| void GKMultiCondition::fromString | ( | const QString & | xmlString | ) |
| const QVector< GKCondition > & GKMultiCondition::getItems | ( | ) | const |
Returns the conditions in this multicondition.
| const GKType * GKMultiCondition::getType | ( | ) | const |
The type of the object to evaluate...
| bool GKMultiCondition::isEmpty | ( | ) | const |
Returns true if this is an empty condition.
| bool GKMultiCondition::match | ( | const GKObject * | obj, |
| const GKContext & | context = GKContext::anyContext, |
||
| const GKModelConnection * | modelConn = nullptr |
||
| ) | const |
Return true if the object match the condition.
| void GKMultiCondition::setModel | ( | GKModel * | amodel | ) |
| void GKMultiCondition::setType | ( | const GKType * | atype | ) |
The type of the object to evaluate...
| bool GKMultiCondition::singleCondition | ( | ) | const |
Returns true if contains a single condition
| bool GKMultiCondition::singleMatch | ( | const GKObject * | obj, |
| QString & | value, | ||
| bool * | isANumber, | ||
| const GKModelConnection * | modelConn = nullptr |
||
| ) | const |
Return true if the object match a single condition. This allows the user to get the matching value.
| QString GKMultiCondition::toString | ( | ) | const |
| bool GKMultiCondition::usesColumn | ( | const GKColumn * | acol | ) | const |
Returns true if the column is used.
1.9.4