Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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

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 [protected, virtual]
 

Reimplemented from PropertyTemplate< T >.

Definition at line 730 of file textfile_evaluation.cpp.

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

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 TextPropertyGroup::Entry::value.

Referenced by operation_add(), and operation_sub().

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(), TextPropertyGroup::Entry::parent, PropertyTemplate< T >::parse(), and TextPropertyGroup::Entry::value.

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 operation_eq(), TextPropertyGroup::Entry::parent, and PropertyTemplate< T >::parse().

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

Implements PropertyContainer::Property.

Definition at line 747 of file textfile_evaluation.cpp.

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


The documentation for this class was generated from the following file:
Generated on Tue Jun 24 02:17:44 2008 for Advanced Strategic Command by  doxygen 1.4.2