#include <ngcbDIC.hpp>
Public Member Functions | |
| ngcbDIC () | |
| Constructor. | |
| ngcbDIC (const char *name) | |
| Constructor with dictionary name. | |
| ngcbDIC (const char *name, char *buffer) | |
| Constructor with dictionary name and parameter description buffer. | |
| virtual | ~ngcbDIC () |
| Destructor. | |
| int | Initialized () |
| Return initialization flag. | |
| char * | ErrMsg () |
| Return a pointer to the global error message buffer. | |
| void | AttachBuffer (char *buffer) |
| Attach a parameter description buffer. | |
| int | Load (const char *name) |
| Load a new dictionary. | |
| void | Clear () |
| Clear dictionary. | |
| int | Loaded () |
| Check if a valid set of parameters is loaded. | |
| ngcbPARAM_LIST * | ParamList () |
| Parameter list. | |
| ngcbPARAM * | Lookup (const char *name) |
| Parameter lookup function. | |
| char * | Info (const char *paramName, int width=0) |
| Lookup parameter and return the formatted parameter description. | |
| char * | DescrBuf () |
| Return parameter description buffer. | |
Public Attributes | |
| int | numDic |
| Number of dictionaries loaded. | |
| ngcb_dicrev_t | rev [ngcbMAX_DIC] |
| Checked-in dictionary names & versions. | |
General dictionary container class
| ngcbDIC::ngcbDIC | ( | ) |
Constructor.
|
explicit |
Constructor with dictionary name.
| ngcbDIC::ngcbDIC | ( | const char * | name, |
| char * | buffer ) |
Constructor with dictionary name and parameter description buffer.
|
virtual |
Destructor.
| void ngcbDIC::AttachBuffer | ( | char * | buffer | ) |
Attach a parameter description buffer.
| void ngcbDIC::Clear | ( | ) |
Clear dictionary.
| char * ngcbDIC::DescrBuf | ( | ) |
Return parameter description buffer.
| char * ngcbDIC::ErrMsg | ( | ) |
Return a pointer to the global error message buffer.
| char * ngcbDIC::Info | ( | const char * | paramName, |
| int | width = 0 ) |
Lookup parameter and return the formatted parameter description.
| int ngcbDIC::Initialized | ( | ) |
Return initialization flag.
| int ngcbDIC::Load | ( | const char * | name | ) |
Load a new dictionary.
| int ngcbDIC::Loaded | ( | ) |
Check if a valid set of parameters is loaded.
| ngcbPARAM * ngcbDIC::Lookup | ( | const char * | name | ) |
Parameter lookup function.
| ngcbPARAM_LIST * ngcbDIC::ParamList | ( | ) |
Parameter list.
| int ngcbDIC::numDic |
Number of dictionaries loaded.
| ngcb_dicrev_t ngcbDIC::rev[ngcbMAX_DIC] |
Checked-in dictionary names & versions.