Advanced Strategic Command
Public Member Functions | Protected Member Functions | List of all members
NamedIntProperty Class Reference
Inheritance diagram for NamedIntProperty:
Inheritance graph
[legend]

Public Member Functions

 NamedIntProperty (int &property_, int tagNum_, const char **tags_)
 
 NamedIntProperty (int &property_, int tagNum_, const char **tags_, int defaultValue_)
 
- Public Member Functions inherited from PropertyTemplate< T >
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

int operation_eq (const TextPropertyGroup::Entry &entry) const
 
ASCString toString () const
 
- Protected Member Functions inherited from PropertyTemplate< T >
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
 
- Protected Member Functions inherited from PropertyContainer::Property
void findEntry ()
 
virtual bool hasDefault ()
 
void writeProperty ()
 
 Property (bool defaultValueAvail_)
 

Additional Inherited Members

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

Detailed Description

Definition at line 197 of file textfile_evaluation.cpp.

Constructor & Destructor Documentation

NamedIntProperty::NamedIntProperty ( int &  property_,
int  tagNum_,
const char **  tags_ 
)
inline

Definition at line 204 of file textfile_evaluation.cpp.

NamedIntProperty::NamedIntProperty ( int &  property_,
int  tagNum_,
const char **  tags_,
int  defaultValue_ 
)
inline

Definition at line 205 of file textfile_evaluation.cpp.

Member Function Documentation

int NamedIntProperty::operation_eq ( const TextPropertyGroup::Entry entry) const
protectedvirtual
ASCString NamedIntProperty::toString ( ) const
protectedvirtual

Implements PropertyContainer::Property.

Definition at line 1171 of file textfile_evaluation.cpp.


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