Advanced Strategic Command
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
PropertyContainer::Property Class Referenceabstract

#include <textfile_evaluation.h>

Inheritance diagram for PropertyContainer::Property:
Inheritance graph
[legend]

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
 

Detailed Description

Definition at line 51 of file textfile_evaluation.h.

Constructor & Destructor Documentation

PropertyContainer::Property::Property ( bool  defaultValueAvail_)
inlineprotected

Definition at line 63 of file textfile_evaluation.h.

virtual PropertyContainer::Property::~Property ( )
inlinevirtual

Definition at line 66 of file textfile_evaluation.h.

Member Function Documentation

virtual void PropertyContainer::Property::evaluate ( )
pure virtual
void PropertyContainer::Property::findEntry ( )
protected

Definition at line 606 of file textfile_evaluation.cpp.

References fatalError(), and ASCString::toLower().

const ASCString& PropertyContainer::Property::getLastName ( )
inline

Definition at line 70 of file textfile_evaluation.h.

References lastName.

Referenced by PropertyWritingContainer::writeProperty().

virtual bool PropertyContainer::Property::hasDefault ( )
inlineprotectedvirtual

Reimplemented in IntegerArrayProperty.

Definition at line 61 of file textfile_evaluation.h.

References defaultValueAvail.

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
protectedpure virtual
void PropertyContainer::Property::writeProperty ( )
protected

Definition at line 620 of file textfile_evaluation.cpp.

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.

bool PropertyContainer::Property::evaluated

Definition at line 66 of file textfile_evaluation.h.

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 setPropertyContainer().


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