Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

PropertyContainer::Property Class Reference

#include <textfile_evaluation.h>

Inheritance diagram for PropertyContainer::Property:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~Property ()
virtual void evaluate ()=0
void setName (const ASCString &name_, const ASCString &lastName_)
const ASCStringgetLastName ()
void setPropertyContainer (PropertyContainer *propertyContainer_)

Public Attributes

bool evaluated

Protected Member Functions

virtual ASCString toString () const =0
void findEntry ()
virtual bool hasDefault ()
void writeProperty ()
 Property (bool defaultValueAvail_)

Protected Attributes

ASCString name
ASCString lastName
PropertyContainerpropertyContainer
TextPropertyGroup::Entryentry
bool defaultValueAvail

Constructor & Destructor Documentation

PropertyContainer::Property::Property bool  defaultValueAvail_  )  [inline, protected]
 

Definition at line 63 of file textfile_evaluation.h.

virtual PropertyContainer::Property::~Property  )  [inline, virtual]
 

Definition at line 66 of file textfile_evaluation.h.


Member Function Documentation

virtual void PropertyContainer::Property::evaluate  )  [pure virtual]
 

Implemented in PropertyTemplate< T >, PropertyTemplate< vector< Surface > >, PropertyTemplate< double >, PropertyTemplate< Surface >, PropertyTemplate< ASCString >, PropertyTemplate< vector< int > >, PropertyTemplate< BitSet >, PropertyTemplate< int >, PropertyTemplate< vector< IntRange > >, PropertyTemplate< vector< double > >, PropertyTemplate< vector< T > >, PropertyTemplate< vector< ASCString > >, and PropertyTemplate< bool >.

void PropertyContainer::Property::findEntry  )  [protected]
 

Definition at line 606 of file textfile_evaluation.cpp.

References entry, PropertyContainer::error(), fatalError(), TextPropertyGroup::find(), hasDefault(), propertyContainer, PropertyContainer::textPropertyGroup, and ASCString::toLower().

Referenced by PropertyTemplate< T >::evaluate().

const ASCString& PropertyContainer::Property::getLastName  )  [inline]
 

Definition at line 70 of file textfile_evaluation.h.

References lastName.

virtual bool PropertyContainer::Property::hasDefault  )  [inline, protected, virtual]
 

Reimplemented in IntegerArrayProperty.

Definition at line 61 of file textfile_evaluation.h.

References defaultValueAvail.

Referenced by findEntry().

void PropertyContainer::Property::setName const ASCString name_,
const ASCString lastName_
 

Definition at line 599 of file textfile_evaluation.cpp.

References lastName, and ASCString::toLower().

void PropertyContainer::Property::setPropertyContainer PropertyContainer propertyContainer_  )  [inline]
 

Definition at line 71 of file textfile_evaluation.h.

References propertyContainer.

virtual ASCString PropertyContainer::Property::toString  )  const [protected, pure virtual]
 

Implemented in IntegerProperty, FloatProperty, BoolProperty, StringProperty, StringArrayProperty, IntegerArrayProperty, DoubleArrayProperty, IntRangeArrayProperty, TagArrayProperty, TagIntProperty, NamedIntProperty, ASCImageProperty, and ASCImageArrayProperty.

Referenced by writeProperty().

void PropertyContainer::Property::writeProperty  )  [protected]
 

Definition at line 620 of file textfile_evaluation.cpp.

References propertyContainer, toString(), and PropertyContainer::writeProperty().

Referenced by PropertyTemplate< T >::evaluate().


Member Data Documentation

bool PropertyContainer::Property::defaultValueAvail [protected]
 

Definition at line 60 of file textfile_evaluation.h.

Referenced by hasDefault().

TextPropertyGroup::Entry* PropertyContainer::Property::entry [protected]
 

Definition at line 56 of file textfile_evaluation.h.

Referenced by findEntry().

bool PropertyContainer::Property::evaluated
 

Definition at line 66 of file textfile_evaluation.h.

Referenced by PropertyTemplate< T >::evaluate().

ASCString PropertyContainer::Property::lastName [protected]
 

Definition at line 54 of file textfile_evaluation.h.

Referenced by getLastName(), and setName().

ASCString PropertyContainer::Property::name [protected]
 

Definition at line 53 of file textfile_evaluation.h.

PropertyContainer* PropertyContainer::Property::propertyContainer [protected]
 

Definition at line 55 of file textfile_evaluation.h.

Referenced by PropertyTemplate< T >::evaluate(), findEntry(), ValArrayProperty< T >::operation_add(), ASCImageArrayProperty::operation_eq(), ASCImageProperty::operation_eq(), NamedIntProperty::operation_eq(), TagIntProperty::operation_eq(), TagArrayProperty::operation_eq(), BoolProperty::operation_eq(), ValArrayProperty< T >::operation_mult(), ValArrayProperty< T >::operation_sub(), PropertyTemplate< T >::parse(), setPropertyContainer(), and writeProperty().


The documentation for this class was generated from the following files:
Generated on Tue Jun 24 02:19:59 2008 for Advanced Strategic Command by  doxygen 1.4.2