Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
TupleSet ()=default | |
TupleSet (const QList< Tuple > &initialTuples) | |
void | add (const Tuple &t) |
template<typename T > | |
void | addPropertiesAsTuples (const QString &tag) |
Adds all properties of type T as single Tuples with tag tag. More... | |
bool | isEmpty () const |
void | remove (const Tuple &t) |
void | remove (const TupleSet &tuples) |
template<typename Condition > | |
QSet< Tuple > | take (Condition condition) |
QSet< Tuple > | take (const char *tag) |
QSet< Tuple > | take (const QString &tag) |
QSet< Tuple > | takeAll () |
QSet< Tuple > | tuples () const |
template<typename Condition > | |
QSet< Tuple > | tuples (Condition condition) const |
QSet< Tuple > | tuples (const char *tag) const |
QSet< Tuple > | tuples (const QString &tag) const |
Returns all tuples which are tagged with tag. More... | |
void | unite (const TupleSet &with) |
Private Attributes | |
QHash< QString, QSet< Tuple > > | tuples_ |
|
default |
InformationScripting::TupleSet::TupleSet | ( | const QList< Tuple > & | initialTuples | ) |
|
inline |
|
inline |
Adds all properties of type T as single Tuples with tag tag.
|
inline |
|
inline |
void InformationScripting::TupleSet::remove | ( | const TupleSet & | tuples | ) |
|
inline |
|
inline |
|
inline |
QSet< Tuple > InformationScripting::TupleSet::takeAll | ( | ) |
QSet< Tuple > InformationScripting::TupleSet::tuples | ( | ) | const |
|
inline |
|
inline |
QSet< Tuple > InformationScripting::TupleSet::tuples | ( | const QString & | tag | ) | const |
Returns all tuples which are tagged with tag.
void InformationScripting::TupleSet::unite | ( | const TupleSet & | with | ) |
|
private |