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

Public Member Functions

 IntegerProperty (int &property_)
 
 IntegerProperty (int &property_, 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

ASCString toString () const
 
int operation_eq (const TextPropertyGroup::Entry &entry) const
 
int operation_add (const TextPropertyGroup::Entry &entry) const
 
int operation_sub (const TextPropertyGroup::Entry &entry) const
 
int operation_mult (const TextPropertyGroup::Entry &entry) const
 
- Protected Member Functions inherited from PropertyTemplate< T >
virtual T parse (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 66 of file textfile_evaluation.cpp.

Constructor & Destructor Documentation

IntegerProperty::IntegerProperty ( int &  property_)
inline

Definition at line 74 of file textfile_evaluation.cpp.

IntegerProperty::IntegerProperty ( int &  property_,
int  defaultValue_ 
)
inline

Definition at line 75 of file textfile_evaluation.cpp.

Member Function Documentation

int IntegerProperty::operation_add ( const TextPropertyGroup::Entry entry) const
protectedvirtual

Reimplemented from PropertyTemplate< T >.

Definition at line 730 of file textfile_evaluation.cpp.

References TextPropertyGroup::Entry::parent.

int IntegerProperty::operation_eq ( const TextPropertyGroup::Entry entry) const
protectedvirtual

Reimplemented from PropertyTemplate< T >.

Definition at line 706 of file textfile_evaluation.cpp.

References TextPropertyGroup::Entry::value.

int IntegerProperty::operation_mult ( const TextPropertyGroup::Entry entry) const
protectedvirtual
int IntegerProperty::operation_sub ( const TextPropertyGroup::Entry entry) const
protectedvirtual

Reimplemented from PropertyTemplate< T >.

Definition at line 735 of file textfile_evaluation.cpp.

References TextPropertyGroup::Entry::parent.

ASCString IntegerProperty::toString ( ) const
protectedvirtual

Implements PropertyContainer::Property.

Definition at line 747 of file textfile_evaluation.cpp.

References strrr().


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