Aria  2.8.0
ArConfigGroup Class Reference

Container for holding a group of ArConfigs. More...

#include <ArConfigGroup.h>

Public Member Functions

void addConfig (ArConfig *config)
 Adds a config to the group.
 
 ArConfigGroup (const char *baseDirectory=NULL)
 Constructor.
 
const char * getBaseDirectory (void) const
 Gets the baes directory of this group (not the configs it contains)
 
bool parseFile (const char *fileName, bool continueOnError=false)
 Parses the given file (starting from the base directory)
 
bool reloadFile (bool continueOnError=true)
 Reloads the last file parsed.
 
void remConfig (ArConfig *config)
 Removes a config from the group.
 
void setBaseDirectory (const char *baseDirectory)
 Sets the base directory on all configs this contains.
 
bool writeFile (const char *fileName)
 Writes a file out (overwrites any existing file)
 
 ~ArConfigGroup (void)
 Destructor.
 

Protected Attributes

std::string myBaseDirectory
 
std::list< ArConfig * > myConfigs
 
std::string myLastFile
 

Detailed Description

Container for holding a group of ArConfigs.


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