Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TCfgMgr Class Reference

#include <CfgMgr.h>

Inheritance diagram for TCfgMgr:

TClntCfgMgr TRelCfgMgr TSrvCfgMgr List of all members.

Public Member Functions

 TCfgMgr (SmartPtr< TIfaceMgr > IfaceMgr)
virtual ~TCfgMgr ()
bool compareConfigs (const string cfgFile, const string oldCfgFile)
void copyFile (const string cfgFile, const string oldCfgFile)
SmartPtr< TDUIDgetDUID ()
void setWorkdir (std::string workdir)
int getLogLevel ()
string getWorkDir ()
string getLogName ()

Protected Member Functions

bool setDUID (const string duidFile)
bool loadDUID (const string filename)
bool generateDUID (const string duidFile, char *mac, int macLen, int macType)

Protected Attributes

SmartPtr< TDUIDDUID
string Workdir
string LogName
int LogLevel
bool IsDone
SmartPtr< TIfaceMgrIfaceMgr

Constructor & Destructor Documentation

TCfgMgr::TCfgMgr SmartPtr< TIfaceMgr IfaceMgr  ) 
 

TCfgMgr::~TCfgMgr  )  [virtual]
 


Member Function Documentation

bool TCfgMgr::compareConfigs const string  cfgFile,
const string  oldCfgFile
 

void TCfgMgr::copyFile const string  cfgFile,
const string  oldCfgFile
 

bool TCfgMgr::generateDUID const string  duidFile,
char *  mac,
int  macLen,
int  macType
[protected]
 

SmartPtr< TDUID > TCfgMgr::getDUID  ) 
 

int TCfgMgr::getLogLevel  ) 
 

string TCfgMgr::getLogName  ) 
 

string TCfgMgr::getWorkDir  ) 
 

bool TCfgMgr::loadDUID const string  filename  )  [protected]
 

bool TCfgMgr::setDUID const string  duidFile  )  [protected]
 

void TCfgMgr::setWorkdir std::string  workdir  ) 
 


Member Data Documentation

SmartPtr<TDUID> TCfgMgr::DUID [protected]
 

SmartPtr<TIfaceMgr> TCfgMgr::IfaceMgr [protected]
 

bool TCfgMgr::IsDone [protected]
 

int TCfgMgr::LogLevel [protected]
 

string TCfgMgr::LogName [protected]
 

string TCfgMgr::Workdir [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Mar 16 00:10:31 2005 for Dibbler - a portable DHCPv6 by  doxygen 1.3.9.1