
Public Member Functions | |
| void | evaluate () |
| PropertyTemplate (T &property_) | |
| PropertyTemplate (T &property_, const T &defaultValue_) | |
Protected Member Functions | |
| virtual T | parse (const TextPropertyGroup::Entry &entry) const |
| virtual T | operation_mult (const TextPropertyGroup::Entry &entry) const |
| virtual T | operation_add (const TextPropertyGroup::Entry &entry) const |
| virtual T | operation_sub (const TextPropertyGroup::Entry &entry) const |
| virtual T | operation_eq (const TextPropertyGroup::Entry &entry) const |
Protected Attributes | |
| T & | property |
| T | defaultValue |
Definition at line 43 of file textfile_evaluation.cpp.
| PropertyTemplate< T >::PropertyTemplate | ( | T & | property_ | ) | [inline] |
Definition at line 60 of file textfile_evaluation.cpp.
| PropertyTemplate< T >::PropertyTemplate | ( | T & | property_, | |
| const T & | defaultValue_ | |||
| ) | [inline] |
Definition at line 61 of file textfile_evaluation.cpp.
| T PropertyTemplate< T >::parse | ( | const TextPropertyGroup::Entry & | entry | ) | const [protected, virtual] |
Definition at line 627 of file textfile_evaluation.cpp.
References TextPropertyGroup::Entry::add_eq, TextPropertyGroup::Entry::alias_all, PropertyTemplate< T >::defaultValue, PropertyContainer::Property::entry, TextPropertyGroup::Entry::eq, PropertyContainer::error(), TextPropertyGroup::Entry::mult_eq, TextPropertyGroup::Entry::op, PropertyTemplate< T >::operation_add(), PropertyTemplate< T >::operation_eq(), PropertyTemplate< T >::operation_mult(), PropertyTemplate< T >::operation_sub(), TextFormatParser::operations, PropertyContainer::Property::propertyContainer, and TextPropertyGroup::Entry::sub_eq.
Referenced by PropertyTemplate< T >::evaluate(), TagArrayProperty::operation_add(), StringProperty::operation_add(), FloatProperty::operation_add(), IntegerProperty::operation_add(), FloatProperty::operation_mult(), IntegerProperty::operation_mult(), TagArrayProperty::operation_sub(), and IntegerProperty::operation_sub().
| T PropertyTemplate< T >::operation_mult | ( | const TextPropertyGroup::Entry & | entry | ) | const [protected, virtual] |
Reimplemented in IntegerProperty, FloatProperty, ValArrayProperty< T >, ValArrayProperty< double >, and ValArrayProperty< int >.
Definition at line 664 of file textfile_evaluation.cpp.
References PropertyContainer::Property::entry.
Referenced by PropertyTemplate< T >::parse().
| T PropertyTemplate< T >::operation_add | ( | const TextPropertyGroup::Entry & | entry | ) | const [protected, virtual] |
Reimplemented in IntegerProperty, FloatProperty, StringProperty, ValArrayProperty< T >, TagArrayProperty, TagIntProperty, ValArrayProperty< double >, and ValArrayProperty< int >.
Definition at line 671 of file textfile_evaluation.cpp.
References PropertyContainer::Property::entry.
Referenced by PropertyTemplate< T >::parse().
| T PropertyTemplate< T >::operation_sub | ( | const TextPropertyGroup::Entry & | entry | ) | const [protected, virtual] |
Reimplemented in IntegerProperty, ValArrayProperty< T >, TagArrayProperty, TagIntProperty, ValArrayProperty< double >, and ValArrayProperty< int >.
Definition at line 678 of file textfile_evaluation.cpp.
References PropertyContainer::Property::entry.
Referenced by PropertyTemplate< T >::parse().
| T PropertyTemplate< T >::operation_eq | ( | const TextPropertyGroup::Entry & | entry | ) | const [protected, virtual] |
Reimplemented in IntegerProperty, FloatProperty, BoolProperty, StringProperty, StringArrayProperty, IntegerArrayProperty, DoubleArrayProperty, IntRangeArrayProperty, TagArrayProperty, TagIntProperty, NamedIntProperty, ASCImageProperty, and ASCImageArrayProperty.
Definition at line 657 of file textfile_evaluation.cpp.
References PropertyContainer::Property::entry.
Referenced by PropertyTemplate< T >::parse().
| void PropertyTemplate< T >::evaluate | ( | ) | [virtual] |
Implements PropertyContainer::Property.
Definition at line 686 of file textfile_evaluation.cpp.
References PropertyTemplate< T >::defaultValue, PropertyContainer::Property::entry, PropertyContainer::Property::evaluated, PropertyContainer::Property::findEntry(), PropertyContainer::isReading(), PropertyTemplate< T >::parse(), PropertyTemplate< T >::property, PropertyContainer::Property::propertyContainer, and PropertyContainer::Property::writeProperty().
T& PropertyTemplate< T >::property [protected] |
Definition at line 47 of file textfile_evaluation.cpp.
Referenced by PropertyTemplate< T >::evaluate(), ASCImageArrayProperty::toString(), TagArrayProperty::toString(), StringArrayProperty::toString(), StringProperty::toString(), BoolProperty::toString(), FloatProperty::toString(), and IntegerProperty::toString().
T PropertyTemplate< T >::defaultValue [protected] |
Definition at line 48 of file textfile_evaluation.cpp.
Referenced by PropertyTemplate< T >::evaluate(), and PropertyTemplate< T >::parse().
1.5.1