Public Member Functions

base::Config::Item Class Reference

A Configuration Item. More...

#include <libppbase/base/Config.h>

List of all members.

Public Member Functions

 Item ()
 Creates an empty item.
 Item (const String &data)
 Creates a single item.
 Item (const std::vector< String > &data)
 Creates an array.
void clear ()
 Clears item.
bool empty () const
 Checks if item is empty.
size_t erase (size_t pos, size_t count=1)
 Erases an array element.
const Stringget (size_t pos=0) const
 Gets an array element.
const std::vector< String > & getAll () const
 Gets all elements.
size_t getCount () const
 Gets the number of elements.
void set (const String &data, size_t pos=0)
 Sets one element.
void setAll (const std::vector< String > &data)
 Sets all elements.

Detailed Description

A Configuration Item.


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