Advanced Strategic Command
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
PropertyTemplate< T > Class Template Reference
Inheritance diagram for PropertyTemplate< T >:
Inheritance graph
[legend]

Public Member Functions

void evaluate ()
 
 PropertyTemplate (T &property_)
 
 PropertyTemplate (T &property_, const T &defaultValue_)
 
- Public Member Functions inherited from PropertyContainer::Property
virtual ~Property ()
 
void setName (const ASCString &name_, const ASCString &lastName_)
 
const ASCStringgetLastName ()
 
void setPropertyContainer (PropertyContainer *propertyContainer_)
 

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 Member Functions inherited from PropertyContainer::Property
virtual ASCString toString () const =0
 
void findEntry ()
 
virtual bool hasDefault ()
 
void writeProperty ()
 
 Property (bool defaultValueAvail_)
 

Protected Attributes

T & property
 
defaultValue
 
- Protected Attributes inherited from PropertyContainer::Property
ASCString name
 
ASCString lastName
 
PropertyContainerpropertyContainer
 
TextPropertyGroup::Entryentry
 
bool defaultValueAvail
 

Additional Inherited Members

- Public Attributes inherited from PropertyContainer::Property
bool evaluated
 

Detailed Description

template<class T>
class PropertyTemplate< T >

Definition at line 43 of file textfile_evaluation.cpp.

Constructor & Destructor Documentation

template<class T>
PropertyTemplate< T >::PropertyTemplate ( T &  property_)
inline

Definition at line 60 of file textfile_evaluation.cpp.

template<class T>
PropertyTemplate< T >::PropertyTemplate ( T &  property_,
const T &  defaultValue_ 
)
inline

Definition at line 61 of file textfile_evaluation.cpp.

Member Function Documentation

template<class T >
void PropertyTemplate< T >::evaluate ( )
virtual

Implements PropertyContainer::Property.

Definition at line 686 of file textfile_evaluation.cpp.

template<class T >
T PropertyTemplate< T >::operation_add ( const TextPropertyGroup::Entry entry) const
protectedvirtual
template<class T >
T PropertyTemplate< T >::operation_eq ( const TextPropertyGroup::Entry entry) const
protectedvirtual
template<class T >
T PropertyTemplate< T >::operation_mult ( const TextPropertyGroup::Entry entry) const
protectedvirtual

Reimplemented in ValArrayProperty< T >, FloatProperty, and IntegerProperty.

Definition at line 664 of file textfile_evaluation.cpp.

template<class T >
T PropertyTemplate< T >::operation_sub ( const TextPropertyGroup::Entry entry) const
protectedvirtual
template<class T >
T PropertyTemplate< T >::parse ( const TextPropertyGroup::Entry entry) const
protectedvirtual

Member Data Documentation

template<class T>
T PropertyTemplate< T >::defaultValue
protected

Definition at line 48 of file textfile_evaluation.cpp.

template<class T>
T& PropertyTemplate< T >::property
protected

Definition at line 47 of file textfile_evaluation.cpp.


The documentation for this class was generated from the following file: