Advanced Strategic Command
Public Member Functions | List of all members
PropertyWritingContainer Class Reference

#include <textfile_evaluation.h>

Inheritance diagram for PropertyWritingContainer:
Inheritance graph
[legend]

Public Member Functions

virtual ASCString getLocation ()
 
virtual ASCString getFileName ()
 
virtual ASCString getArchive ()
 
 PropertyWritingContainer (const ASCString &baseName, tnstream &stream)
 
 ~PropertyWritingContainer ()
 
void writeProperty (Property &p, const ASCString &value)
 
virtual void openBracket (const ASCString &name)
 
virtual void closeBracket ()
 
- Public Member Functions inherited from PropertyContainer
ASCString getNameStack ()
 
void addString (const ASCString &name, ASCString &property)
 
void addString (const ASCString &name, ASCString &property, const ASCString &defaultValue)
 
void addStringArray (const ASCString &name, vector< ASCString > &property)
 
void addInteger (const ASCString &name, int &property)
 
void addInteger (const ASCString &name, int &property, int defaultValue)
 
void addDFloat (const ASCString &name, double &property)
 
void addDFloat (const ASCString &name, double &property, double defaultValue)
 
void addIntegerArray (const ASCString &name, vector< int > &property, bool required=true)
 
void addDFloatArray (const ASCString &name, vector< double > &property)
 
void addDFloatArray (const ASCString &name, vector< int > &property)
 
void addIntRangeArray (const ASCString &name, vector< IntRange > &property, bool required=true)
 
void addTagArray (const ASCString &name, BitSet &property, int tagNum, const char **tags, bool inverted=false)
 
void addTagInteger (const ASCString &name, int &property, int tagNum, const char **tags, bool inverted=false)
 
void addTagInteger (const ASCString &name, int &property, int tagNum, const char **tags, int defaultValue, bool inverted=false)
 
void addNamedInteger (const ASCString &name, int &property, int tagNum, const char **tags)
 
void addNamedInteger (const ASCString &name, int &property, int tagNum, const char **tags, int defaultValue)
 
void addBreakpoint ()
 
void addImage (const ASCString &name, Surface &property, ASCString &fileName, bool applyFieldMask)
 
void addImageArray (const ASCString &name, vector< Surface > &property, ASCString &fileName)
 
void addBool (const ASCString &name, bool &property)
 
void addBool (const ASCString &name, bool &property, bool defaultValue)
 
void storeContext (const ASCString &label)
 
bool restoreContext (const ASCString &label)
 
bool isReading ()
 
void warning (const ASCString &errmsg)
 
void error (const ASCString &errmsg)
 
bool find (const ASCString &name)
 
virtual ~PropertyContainer ()
 

Additional Inherited Members

- Public Types inherited from PropertyContainer
typedef PointerList< Property * > Properties
 
- Public Attributes inherited from PropertyContainer
Properties properties
 
- Protected Types inherited from PropertyContainer
typedef list< ASCStringLevel
 
typedef map< ASCString, pair
< int, Level > > 
StoredContext
 
- Protected Member Functions inherited from PropertyContainer
 PropertyContainer (const ASCString &baseName, TextPropertyGroup *tpg, bool reading_)
 
- Protected Attributes inherited from PropertyContainer
int levelDepth
 
Level level
 
StoredContext storedContext
 
TextPropertyGrouptextPropertyGroup
 

Detailed Description

Definition at line 139 of file textfile_evaluation.h.

Constructor & Destructor Documentation

PropertyWritingContainer::PropertyWritingContainer ( const ASCString baseName,
tnstream stream 
)
PropertyWritingContainer::~PropertyWritingContainer ( )

Member Function Documentation

void PropertyWritingContainer::closeBracket ( )
virtual
virtual ASCString PropertyWritingContainer::getArchive ( )
inlinevirtual

Implements PropertyContainer.

Definition at line 144 of file textfile_evaluation.h.

References tnstream::getArchive().

virtual ASCString PropertyWritingContainer::getFileName ( )
inlinevirtual

Implements PropertyContainer.

Definition at line 143 of file textfile_evaluation.h.

References tnstream::getDeviceName().

virtual ASCString PropertyWritingContainer::getLocation ( )
inlinevirtual

Implements PropertyContainer.

Definition at line 142 of file textfile_evaluation.h.

References tnstream::getLocation().

void PropertyWritingContainer::openBracket ( const ASCString name)
virtual
void PropertyWritingContainer::writeProperty ( Property p,
const ASCString value 
)
virtual

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