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

Public Member Functions

 TagIntProperty (int &property_, int tagNum_, const char **tags_, bool inverted_)
 
 TagIntProperty (int &property_, int tagNum_, const char **tags_, int defaultValue_, bool inverted_)
 
- 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
 
int operation_add (const TextPropertyGroup::Entry &entry) const
 
int operation_sub (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
 
- 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 182 of file textfile_evaluation.cpp.

Constructor & Destructor Documentation

TagIntProperty::TagIntProperty ( int &  property_,
int  tagNum_,
const char **  tags_,
bool  inverted_ 
)
inline

Definition at line 192 of file textfile_evaluation.cpp.

TagIntProperty::TagIntProperty ( int &  property_,
int  tagNum_,
const char **  tags_,
int  defaultValue_,
bool  inverted_ 
)
inline

Definition at line 193 of file textfile_evaluation.cpp.

Member Function Documentation

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

Reimplemented from PropertyTemplate< T >.

Definition at line 1098 of file textfile_evaluation.cpp.

References TextPropertyGroup::Entry::parent.

int TagIntProperty::operation_eq ( const TextPropertyGroup::Entry entry) const
protectedvirtual
int TagIntProperty::operation_sub ( const TextPropertyGroup::Entry entry) const
protectedvirtual

Reimplemented from PropertyTemplate< T >.

Definition at line 1103 of file textfile_evaluation.cpp.

References TextPropertyGroup::Entry::parent.

ASCString TagIntProperty::toString ( ) const
protectedvirtual

Implements PropertyContainer::Property.

Definition at line 1137 of file textfile_evaluation.cpp.


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