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

Public Member Functions

 StringProperty (ASCString &property_)
 
 StringProperty (ASCString &property_, const ASCString &defaultValue)
 
- 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

ASCString toString () const
 
ASCString operation_eq (const TextPropertyGroup::Entry &entry) const
 
ASCString operation_add (const TextPropertyGroup::Entry &entry) 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
 
virtual T operation_sub (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 102 of file textfile_evaluation.cpp.

Constructor & Destructor Documentation

StringProperty::StringProperty ( ASCString property_)
inline

Definition at line 108 of file textfile_evaluation.cpp.

StringProperty::StringProperty ( ASCString property_,
const ASCString defaultValue 
)
inline

Definition at line 109 of file textfile_evaluation.cpp.

Member Function Documentation

ASCString StringProperty::operation_add ( const TextPropertyGroup::Entry entry) const
protectedvirtual
ASCString StringProperty::operation_eq ( const TextPropertyGroup::Entry entry) const
protectedvirtual

Reimplemented from PropertyTemplate< T >.

Definition at line 815 of file textfile_evaluation.cpp.

References TextPropertyGroup::Entry::value, and TextFormatParser::whiteSpace.

ASCString StringProperty::toString ( ) const
protectedvirtual

Implements PropertyContainer::Property.

Definition at line 832 of file textfile_evaluation.cpp.

References TextFormatParser::whiteSpace.


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