FloatProperty Class Reference

Inheritance diagram for FloatProperty:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 FloatProperty (double &property_)
 FloatProperty (double &property_, double defaultValue_)

Protected Member Functions

ASCString toString () const
double operation_eq (const TextPropertyGroup::Entry &entry) const
double operation_add (const TextPropertyGroup::Entry &entry) const
double operation_mult (const TextPropertyGroup::Entry &entry) const

Detailed Description

Definition at line 79 of file textfile_evaluation.cpp.


Constructor & Destructor Documentation

FloatProperty::FloatProperty ( double &  property_  )  [inline]

Definition at line 86 of file textfile_evaluation.cpp.

FloatProperty::FloatProperty ( double &  property_,
double  defaultValue_ 
) [inline]

Definition at line 87 of file textfile_evaluation.cpp.


Member Function Documentation

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

Implements PropertyContainer::Property.

Definition at line 771 of file textfile_evaluation.cpp.

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

double FloatProperty::operation_eq ( const TextPropertyGroup::Entry entry  )  const [protected, virtual]

Reimplemented from PropertyTemplate< T >.

Definition at line 754 of file textfile_evaluation.cpp.

References atof(), PropertyContainer::Property::entry, and TextPropertyGroup::Entry::value.

Referenced by operation_add().

double FloatProperty::operation_add ( const TextPropertyGroup::Entry entry  )  const [protected, virtual]

Reimplemented from PropertyTemplate< T >.

Definition at line 760 of file textfile_evaluation.cpp.

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

double FloatProperty::operation_mult ( const TextPropertyGroup::Entry entry  )  const [protected, virtual]

Reimplemented from PropertyTemplate< T >.

Definition at line 765 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:46 2012 for Advanced Strategic Command by  doxygen 1.5.1