Envision
A visual programming IDE for object-oriented languages
|
Public Types | |
using | const_iterator = QList< NamedProperty >::ConstIterator |
using | iterator = QList< NamedProperty >::Iterator |
Public Member Functions | |
Tuple ()=delete | |
Tuple (const QString &tag, QList< NamedProperty > initialValues) | |
Tuple (const QString &tag, std::initializer_list< NamedProperty > initialValues) | |
Tuple (QList< NamedProperty > initialValues) | |
Tuple (std::initializer_list< NamedProperty > initialValues) | |
void | add (const NamedProperty &p) |
iterator | begin () |
const_iterator | begin () const |
const_iterator | cbegin () const |
const_iterator | cend () const |
bool | contains (const QString &name) const |
iterator | end () |
const_iterator | end () const |
iterator | find (const QString &name) |
const_iterator | find (const QString &name) const |
uint | hashValue (uint seed=0) const |
bool | operator== (const Tuple &other) const |
Property & | operator[] (const QString &name) |
const Property & | operator[] (const QString &name) const |
NamedProperty & | operator[] (int index) |
const NamedProperty & | operator[] (int index) const |
int | size () const |
QString | tag () const |
template<typename T > | |
QList< T > | valuesOfType () const |
Private Attributes | |
QString | tag_ |
QList< NamedProperty > | values_ |
using InformationScripting::Tuple::const_iterator = QList<NamedProperty>::ConstIterator |
using InformationScripting::Tuple::iterator = QList<NamedProperty>::Iterator |
|
delete |
InformationScripting::Tuple::Tuple | ( | const QString & | tag, |
std::initializer_list< NamedProperty > | initialValues | ||
) |
InformationScripting::Tuple::Tuple | ( | const QString & | tag, |
QList< NamedProperty > | initialValues | ||
) |
InformationScripting::Tuple::Tuple | ( | std::initializer_list< NamedProperty > | initialValues | ) |
InformationScripting::Tuple::Tuple | ( | QList< NamedProperty > | initialValues | ) |
void InformationScripting::Tuple::add | ( | const NamedProperty & | p | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Tuple::iterator InformationScripting::Tuple::find | ( | const QString & | name | ) |
Tuple::const_iterator InformationScripting::Tuple::find | ( | const QString & | name | ) | const |
uint InformationScripting::Tuple::hashValue | ( | uint | seed = 0 | ) | const |
|
inline |
Property & InformationScripting::Tuple::operator[] | ( | const QString & | name | ) |
const Property & InformationScripting::Tuple::operator[] | ( | const QString & | name | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |