PropertyList Class Reference

The PropertyList class manages name/value pairs for storing arbitrary lists of properties for classifiers. More...

#include <PropertyList.h>

List of all members.

Public Member Functions

 PropertyList ()
 Constructor - a PropertyList starts out empty.
virtual void addParam (const string &name, const string &value)
 Add a new name/value pair to the list.
 ~PropertyList ()
 Destructor.
int size ()
 Accessor method.
const string & getName (int i)
 Accessor method.
const string & getValue (int i)
 Accessor method.


Detailed Description

The PropertyList class manages name/value pairs for storing arbitrary lists of properties for classifiers.


Constructor & Destructor Documentation

PropertyList::PropertyList  )  [inline]
 

Constructor - a PropertyList starts out empty.

PropertyList::~PropertyList  )  [inline]
 

Destructor.


Member Function Documentation

virtual void PropertyList::addParam const string &  name,
const string &  value
[inline, virtual]
 

Add a new name/value pair to the list.

Parameters:
name Name of the parameter
value Value of the parameter, in string form.

const string& PropertyList::getName int  i  )  [inline]
 

Accessor method.

Parameters:
i The property of interest.
Returns:
The name of the i'th property.

const string& PropertyList::getValue int  i  )  [inline]
 

Accessor method.

Parameters:
i The property of interest.
Returns:
The value of the i'th property.

int PropertyList::size  )  [inline]
 

Accessor method.

Returns:
The number of stored name/value pairs.


The documentation for this class was generated from the following file:
Generated on Tue Dec 13 11:00:27 2005 for Classer by  doxygen 1.4.3