#include <MapProperty.h>
Inheritance diagram for Odyssey::MapProperty< TypeT, TraitsT, MapTraitsT >:
Public Types | |
typedef std::set< String > | KeySet |
Public Member Functions | |
MapProperty () | |
template<class T, class A> | |
MapProperty (const MapProperty< T, A > &rhs) | |
template<class T> | |
MapProperty (T t) | |
const std::type_info & | getTypeInfo () const |
Returns the type information for the held type. | |
size_t | getSize () const |
KeySet | getKeys () const |
void | _fromAny (const Odyssey::Any &val) |
Internal function for conversion from an Any. | |
Odyssey::Any | _toAny () const |
Internal function for conversion to an Any. | |
void | _fromAny (const String &key, const Odyssey::Any &val) |
Internal function for conversion from an Any. | |
Odyssey::Any | _toAny (const String &key) const |
Internal function for conversion to an Any. | |
void | _fromString (const String &key, const Odyssey::String &val) |
Internal function for conversion from a String. | |
Odyssey::String | _toString (const String &key) const |
Internal function for conversion to a String. | |
template<class T, class A> | |
MapProperty & | operator= (const MapProperty< T, A > &rhs) |
template<class T> | |
MapProperty & | operator= (T t) |
Odyssey::Variable | var () const |
Returns a variable representation of this property's data. | |
Odyssey::Variable | var (const String &key) const |
Returns a variable representation of this property's data. | |
template<class T> | |
operator T () const | |
ValueMap & | operator * () |
const ValueMap & | operator * () const |
ValueMap & | operator-> () |
const ValueMap & | operator-> () const |
ValuePlaceholder | operator[] (const String &key) const |
ValuePlaceholder | operator[] (const String &key) |
PropertyValueIteratorPtr | createValueIterator () const |
Creates a new iterator for the values in the property. | |
Friends | |
class | ValuePlaceholder |
Classes | |
class | PropertyValueIteratorImpl |
class | ValuePlaceholder |
This class is a property which maps Strings to values.
|
|
|
|
|
|
|
|
|
Internal function for conversion from an Any.
Reimplemented from Odyssey::PropertyBase. |
|
Internal function for conversion from an Any.
Reimplemented from Odyssey::PropertyBase. |
|
Internal function for conversion from a String.
Reimplemented from Odyssey::PropertyBase. |
|
Internal function for conversion to an Any.
Reimplemented from Odyssey::PropertyBase. |
|
Internal function for conversion to an Any.
Reimplemented from Odyssey::PropertyBase. |
|
Internal function for conversion to a String.
Reimplemented from Odyssey::PropertyBase. |
|
Creates a new iterator for the values in the property. This function creates a new value iterator to access the value(s) that are stored in this property. The iterator will be defined by Property implementations. Reimplemented from Odyssey::PropertyBase. |
|
|
|
|
|
Returns the type information for the held type.
Implements Odyssey::PropertyBase. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns a variable representation of this property's data.
Reimplemented from Odyssey::PropertyBase. |
|
Returns a variable representation of this property's data.
Reimplemented from Odyssey::PropertyBase. |
|
|