TagIntProperty Class Reference

Inheritance diagram for TagIntProperty:

Inheritance graph
[legend]
List of all members.

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_)

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

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_eq ( const TextPropertyGroup::Entry entry  )  const [protected, virtual]

Reimplemented from PropertyTemplate< int >.

Definition at line 1109 of file textfile_evaluation.cpp.

References ASCString::compare_ci(), PropertyContainer::Property::entry, PropertyContainer::error(), StringTokenizer::getNextToken(), PropertyContainer::Property::name, PropertyContainer::Property::propertyContainer, and TextPropertyGroup::Entry::value.

Referenced by operation_add(), and operation_sub().

int TagIntProperty::operation_add ( const TextPropertyGroup::Entry entry  )  const [protected, virtual]

Reimplemented from PropertyTemplate< int >.

Definition at line 1098 of file textfile_evaluation.cpp.

References PropertyContainer::Property::entry, operation_eq(), TextPropertyGroup::Entry::parent, and PropertyTemplate< int >::parse().

int TagIntProperty::operation_sub ( const TextPropertyGroup::Entry entry  )  const [protected, virtual]

Reimplemented from PropertyTemplate< int >.

Definition at line 1103 of file textfile_evaluation.cpp.

References PropertyContainer::Property::entry, operation_eq(), TextPropertyGroup::Entry::parent, and PropertyTemplate< int >::parse().

ASCString TagIntProperty::toString (  )  const [protected, virtual]

Implements PropertyContainer::Property.

Definition at line 1137 of file textfile_evaluation.cpp.

References PropertyTemplate< int >::property.


The documentation for this class was generated from the following file:
Generated on Mon May 21 01:47:39 2012 for Advanced Strategic Command by  doxygen 1.5.1