A class to enable loading of configuration store from an XML file. More...
#include "xml-config.h"
Inheritance diagram for ns3::XmlConfigLoad:
Collaboration diagram for ns3::XmlConfigLoad:Public Member Functions | |
| XmlConfigLoad () | |
| ~XmlConfigLoad () override | |
| void | Attributes () override |
| Load or save the attributes values. | |
| void | Default () override |
| Load or save the default values. | |
| void | Global () override |
| Load or save the global values. | |
| void | SetFilename (std::string filename) override |
| Set the file name. | |
Public Member Functions inherited from ns3::FileConfig | |
| virtual | ~FileConfig () |
Private Attributes | |
| std::string | m_filename |
| the file name | |
A class to enable loading of configuration store from an XML file.
Definition at line 48 of file xml-config.h.
| ns3::XmlConfigLoad::XmlConfigLoad | ( | ) |
Definition at line 302 of file xml-config.cc.
References NS_LOG_FUNCTION.
|
override |
Definition at line 307 of file xml-config.cc.
References NS_LOG_FUNCTION.
|
overridevirtual |
Load or save the attributes values.
Implements ns3::FileConfig.
Definition at line 398 of file xml-config.cc.
References m_filename, NS_FATAL_ERROR, NS_LOG_DEBUG, and ns3::Config::Set().
Here is the call graph for this function:
|
overridevirtual |
Load or save the default values.
Implements ns3::FileConfig.
Definition at line 320 of file xml-config.cc.
References m_filename, NS_FATAL_ERROR, NS_LOG_DEBUG, and ns3::Config::SetDefault().
Here is the call graph for this function:
|
overridevirtual |
Load or save the global values.
Implements ns3::FileConfig.
Definition at line 359 of file xml-config.cc.
References m_filename, NS_FATAL_ERROR, NS_LOG_DEBUG, and ns3::Config::SetGlobal().
Here is the call graph for this function:
|
overridevirtual |
Set the file name.
| filename | the filename |
Implements ns3::FileConfig.
Definition at line 313 of file xml-config.cc.
References m_filename, and NS_LOG_FUNCTION.
|
private |
the file name
Definition at line 60 of file xml-config.h.
Referenced by Attributes(), Default(), Global(), and SetFilename().