Aimsun Next Scripting
22
|
Public Member Functions | |
GKContents () | |
GKContents (const GKContent &content) | |
GKContents & | operator<< (const GKContent &value) |
GKContents & | operator<< (const GKContents &other) |
GKContents | operator+ (const GKContents &other) const |
GKContents | operator+ (const GKContent &other) const |
bool | contains (const GKContents &other) const |
bool | contains (const GKContent::Type &key) const |
const GKContent | value (const GKContent::Type &key) const |
End GKContents & | intersect (const GKContents &other) |
GKContents & | subtract (const GKContents &other) |
QString | toString () const |
QString | description () const |
const GKContent | value (const GKContent::Type &key) const |
Static Public Member Functions | |
static GKContents | fromString (const QString &str) |
Public Attributes | |
MethodCode | sipRes = new GKContent( sipCpp->value( *a0 ) ) |
Implemented as a map so that retrieve a GKContent by GKContent::Type is easy ; some convenient features from QSet are implemented.
GKContents::GKContents | ( | ) |
GKContents::GKContents | ( | const GKContent & | content | ) |
bool GKContents::contains | ( | const GKContent::Type & | key | ) | const |
bool GKContents::contains | ( | const GKContents & | other | ) | const |
QString GKContents::description | ( | ) | const |
Gives a UI description of the GKContents.
|
static |
Builds a GKContents from an identifying QString of the same format as used in GKContents::toString.
End GKContents & GKContents::intersect | ( | const GKContents & | other | ) |
GKContents GKContents::operator+ | ( | const GKContent & | other | ) | const |
GKContents GKContents::operator+ | ( | const GKContents & | other | ) | const |
GKContents & GKContents::operator<< | ( | const GKContent & | value | ) |
GKContents & GKContents::operator<< | ( | const GKContents & | other | ) |
GKContents & GKContents::subtract | ( | const GKContents & | other | ) |
QString GKContents::toString | ( | ) | const |
Builds a unique identifying QString.
const GKContent GKContents::value | ( | const GKContent::Type & | key | ) | const |
Returns a content by type
const GKContent GKContents::value | ( | const GKContent::Type & | key | ) | const |
Returns a content by type