IntegerProperty Class Reference

Inheritance diagram for IntegerProperty:

Inheritance graph
[legend]
List of all members.

Public Member Functions

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

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

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

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

Implements PropertyContainer::Property.

Definition at line 747 of file textfile_evaluation.cpp.

References PropertyTemplate< T >::property, and strrr().

int IntegerProperty::operation_eq ( const TextPropertyGroup::Entry entry  )  const [protected, virtual]

Reimplemented from PropertyTemplate< T >.

Definition at line 706 of file textfile_evaluation.cpp.

References PropertyContainer::Property::entry, PropertyContainer::Property::name, and TextPropertyGroup::Entry::value.

Referenced by operation_add(), and operation_sub().

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

Reimplemented from PropertyTemplate< T >.

Definition at line 730 of file textfile_evaluation.cpp.

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

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

Reimplemented from PropertyTemplate< T >.

Definition at line 735 of file textfile_evaluation.cpp.

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

int IntegerProperty::operation_mult ( const TextPropertyGroup::Entry entry  )  const [protected, virtual]

Reimplemented from PropertyTemplate< T >.

Definition at line 741 of file textfile_evaluation.cpp.

References atof(), PropertyContainer::Property::entry, TextPropertyGroup::Entry::parent, PropertyTemplate< T >::parse(), and TextPropertyGroup::Entry::value.


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