A class to enable loading of configuration store from an XML file. More...
#include "xml-config.h"
Public Member Functions | |
XmlConfigLoad () | |
virtual | ~XmlConfigLoad () |
virtual void | Attributes (void) |
Load or save the attributes values. More... | |
virtual void | Default (void) |
Load or save the default values. More... | |
virtual void | Global (void) |
Load or save the global values. More... | |
virtual void | SetFilename (std::string filename) |
Set the file name. More... | |
Public Member Functions inherited from ns3::FileConfig | |
virtual | ~FileConfig () |
Private Attributes | |
std::string | m_filename |
the file name More... | |
A class to enable loading of configuration store from an XML file.
Definition at line 54 of file xml-config.h.
ns3::XmlConfigLoad::XmlConfigLoad | ( | ) |
Definition at line 223 of file xml-config.cc.
References NS_LOG_FUNCTION.
|
virtual |
Definition at line 227 of file xml-config.cc.
References NS_LOG_FUNCTION.
|
virtual |
Load or save the attributes values.
Implements ns3::FileConfig.
Definition at line 315 of file xml-config.cc.
References m_filename, NS_FATAL_ERROR, NS_LOG_DEBUG, and ns3::Config::Set().
|
virtual |
Load or save the default values.
Implements ns3::FileConfig.
Definition at line 239 of file xml-config.cc.
References m_filename, NS_FATAL_ERROR, NS_LOG_DEBUG, and ns3::Config::SetDefault().
|
virtual |
Load or save the global values.
Implements ns3::FileConfig.
Definition at line 277 of file xml-config.cc.
References m_filename, NS_FATAL_ERROR, NS_LOG_DEBUG, and ns3::Config::SetGlobal().
|
virtual |
Set the file name.
filename | the filename |
Implements ns3::FileConfig.
Definition at line 233 of file xml-config.cc.
References m_filename, and NS_LOG_FUNCTION.
|
private |
the file name
Definition at line 65 of file xml-config.h.
Referenced by Attributes(), Default(), Global(), and SetFilename().