#include <CfgFile.hh>
Public Member Functions | |
| clCfgFile () | |
| clCfgFile (const char *) | |
| ~clCfgFile () | |
| void | SetFileName (const char *) |
| Read configuration file. | |
| bool | GetStr (const char *, char *) |
| Get value for key. | |
| bool | GetInt (const char *, int *) |
| bool | GetInt (const char *, long *) |
| bool | GetFlt (const char *, float *) |
| bool | GetFlt (const char *, double *) |
| int | GetFltArray (const char *, float *) |
| int | GetFltArray (const char *, double *) |
Private Member Functions | |
| void | ReadFile (const char *) |
| void | FreeAll () |
Private Attributes | |
| int | iEntryCount |
| clAlloc | Names [CFGF_MAX_ENTRIES] |
| clAlloc | Values [CFGF_MAX_ENTRIES] |
|
|
Definition at line 83 of file CfgFile.cc. References iEntryCount. |
|
|
Definition at line 89 of file CfgFile.cc. References iEntryCount, and ReadFile(). |
|
|
Definition at line 103 of file CfgFile.cc. References FreeAll(). |
|
|
Definition at line 30 of file CfgFile.cc. References CFGF_BUFSIZE, CFGF_MAX_ENTRIES, iEntryCount, Names, and Values. Referenced by clCfgFile(), and SetFileName(). |
|
|
Definition at line 70 of file CfgFile.cc. References iEntryCount, Names, and Values. Referenced by SetFileName(), and ~clCfgFile(). |
|
|
Read configuration file. You can call this many times. Previous settings are flushed from the memory every time this method is called.
Definition at line 96 of file CfgFile.cc. References FreeAll(), and ReadFile(). Referenced by clBeamAudioUI::clBeamAudioUI(), clComediSrv::clComediSrv(), clGUILofar::clGUILofar(), clSoundProxy::clSoundProxy(), clSoundSrv2::clSoundSrv2(), clSoundSrvA::clSoundSrvA(), clStreamDist::clStreamDist(), clSpectrum::GetCfg(), clSoundUI::GetCfg(), clLevel::GetCfg(), clGUITransient::GetCfg(), clGUILocate::GetCfg(), clGUILevel::GetCfg(), clDirection3::GetCfg(), clDirection2::GetCfg(), clBeamAudio::GetCfg(), clLofarDemon::GetDataHdr(), clSaveSrv::Initialize(), clLofarDemon::Initialize(), clLocate::Initialize(), clFileSrv::Main(), clBeamSrv2Master::Main(), and clBeamSrvMaster::Main(). |
|
||||||||||||
|
Get value for key.
Definition at line 115 of file CfgFile.cc. References iEntryCount, Names, and Values. Referenced by clStreamDist::AudioInThread(), clSoundProxy::clSoundProxy(), clDirection::Exec(), clSoundSrv2::GetAudioCfg(), clComediSrv::GetAudioCfg(), clSpectrum::GetCfg(), clSoundUI::GetCfg(), clLevel::GetCfg(), clDirection3::GetCfg(), clDirection2::GetCfg(), clBeamAudio::GetCfg(), clLofarDemon::GetDataHdr(), clSaveSrv::Initialize(), clStreamDist::Main(), clBeamSrv2Master::Main(), and clBeamSrvMaster::Main(). |
|
||||||||||||
|
||||||||||||
|
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Definition at line 147 of file CfgFile.cc. References iEntryCount, Names, and Values. |
|
||||||||||||
|
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Definition at line 163 of file CfgFile.cc. References iEntryCount, Names, and Values. Referenced by clGUILofar::clGUILofar(), clGUIDir::Exec(), clComediSrv::GetAudioCfg(), clGUILevel::GetCfg(), clDirection3::GetCfg(), clDirection2::GetCfg(), clBeamAudio::GetCfg(), clDirection::InitArray(), clLocate::Initialize(), clBeamSrv2Master::ReadConfig(), and clBeamSrvMaster::ReadConfig(). |
|
||||||||||||
|
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Definition at line 179 of file CfgFile.cc. References iEntryCount, Names, and Values. |
|
||||||||||||
|
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Definition at line 195 of file CfgFile.cc. References iEntryCount, Names, and Values. Referenced by clDirection::InitArray(). |
|
||||||||||||
|
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. |
|
|
Definition at line 36 of file CfgFile.hh. Referenced by clCfgFile(), FreeAll(), GetFlt(), GetFltArray(), GetInt(), GetStr(), and ReadFile(). |
|
|
Definition at line 37 of file CfgFile.hh. Referenced by FreeAll(), GetFlt(), GetFltArray(), GetInt(), GetStr(), and ReadFile(). |
|
|
Definition at line 38 of file CfgFile.hh. Referenced by FreeAll(), GetFlt(), GetFltArray(), GetInt(), GetStr(), and ReadFile(). |
1.3.3