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

ArConfigSection Class Reference

#include <ArConfig.h>

List of all members.

Public Member Functions

 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 * getName (void) const
std::list< ArConfigArg > * getParams (void)
ArConfigSectionoperator= (const ArConfigSection &section)
void setComment (const char *comment)
void setName (const char *name)

Protected Attributes

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


Detailed Description

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

Definition at line 235 of file ArConfig.h.


Member Function Documentation

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

Returns:
A comment describing this section

Definition at line 248 of file ArConfig.h.

Referenced by ArConfig::writeFile().

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

Returns:
The name of this section

Definition at line 245 of file ArConfig.h.

Referenced by ArConfig::addParam(), ArConfig::findSection(), ArConfig::parseArgument(), ArConfig::parseArgumentParser(), ArConfig::parseSection(), and ArConfig::writeFile().


The documentation for this class was generated from the following files:
Generated on Wed Oct 19 12:56:44 2005 for Aria by  doxygen 1.4.0