com::pcbsys::nirvana::nAdminAPI::nPluginConfigEntry Class Reference

Contains information for a plugin configuration entry. More...

#include <nPluginConfigEntry.h>

Public Member Functions

const std::string & getDescription ()
 Returns the a string describing what this configuration entry is. More...
 
const std::string & getName ()
 Returns the name of the configuration entry. More...
 
const std::string & getValue ()
 Returns the current value. More...
 
 nPluginConfigEntry (const std::string &name, const std::string &desc, const std::string &value)
 Construct a new nPluginConfigEntry. More...
 
void setValue (const std::string &value)
 Sets the value to the string specified. More...
 
std::string toString ()
 String of the object. More...
 

Detailed Description

Contains information for a plugin configuration entry.

This data contains the name of the configuration, a description of what this entry does and the current value.

Constructor & Destructor Documentation

com::pcbsys::nirvana::nAdminAPI::nPluginConfigEntry::nPluginConfigEntry ( const std::string &  name,
const std::string &  desc,
const std::string &  value 
)

Construct a new nPluginConfigEntry.

Parameters
namethe string name of this entry
descthe string description of this entry
valuethe vale of this entry

Member Function Documentation

const std::string& com::pcbsys::nirvana::nAdminAPI::nPluginConfigEntry::getDescription ( )

Returns the a string describing what this configuration entry is.

Returns
description.
const std::string& com::pcbsys::nirvana::nAdminAPI::nPluginConfigEntry::getName ( )

Returns the name of the configuration entry.

Returns
name.
const std::string& com::pcbsys::nirvana::nAdminAPI::nPluginConfigEntry::getValue ( )

Returns the current value.

Returns
value.
void com::pcbsys::nirvana::nAdminAPI::nPluginConfigEntry::setValue ( const std::string &  value)

Sets the value to the string specified.

Parameters
myValuenew value.
std::string com::pcbsys::nirvana::nAdminAPI::nPluginConfigEntry::toString ( )

String of the object.

Returns
string representation.