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

ArConfigSection Class Reference

#include <ArConfig.h>

List of all members.


Detailed Description

Represents a section in the configuration. Sections are used to group items used by separate parts of Aria.
Examples:

configExample.cpp.


Public Member Functions

bool addFlags (const char *flags, bool isQuiet=false)
 ArConfigSection (const ArConfigSection &section)
 ArConfigSection (const char *name=NULL, const char *comment=NULL)
ArConfigArgfindParam (const char *paramName)
 Finds a parameter item in this section with the given name. Returns NULL if not found.
const char * getComment (void) const
const char * getFlags (void) const
const char * getName (void) const
std::list< ArConfigArg > * getParams (void)
bool hasFlag (const char *flag) const
ArConfigSectionoperator= (const ArConfigSection &section)
bool remFlag (const char *dataFlag)
bool remStringHolder (const char *paramName)
 Removes a string holder for this param, returns true if it found one.
void setComment (const char *comment)
void setName (const char *name)

Protected Attributes

std::string myComment
ArArgumentBuildermyFlags
std::string myName
std::list< ArConfigArgmyParams


Member Function Documentation

const char* ArConfigSection::getComment void   )  const [inline]
 

Returns:
A comment describing this section

const char* ArConfigSection::getName void   )  const [inline]
 

Returns:
The name of this section


The documentation for this class was generated from the following files:
Generated on Thu Jan 7 10:34:41 2010 for Aria by  doxygen 1.4.2