Aria  2.7.5.2
ArConfigSection Class Reference

#include <ArConfig.h>

Public Member Functions

bool addFlags (const char *flags, bool isQuiet=false)
 
 ArConfigSection (const char *name=NULL, const char *comment=NULL)
 
 ArConfigSection (const ArConfigSection &section)
 
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
 

Detailed Description

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

Examples:
configExample.cpp.

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: