A class to enable saving of configuration store in a raw text file. More...
#include "raw-text-config.h"
Inheritance diagram for ns3::RawTextConfigSave:
Collaboration diagram for ns3::RawTextConfigSave:Public Member Functions | |
| RawTextConfigSave () | |
| virtual | ~RawTextConfigSave () |
| 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::ofstream * | m_os |
| Config store output stream. More... | |
A class to enable saving of configuration store in a raw text file.
Definition at line 35 of file raw-text-config.h.
| ns3::RawTextConfigSave::RawTextConfigSave | ( | ) |
Definition at line 33 of file raw-text-config.cc.
References NS_LOG_FUNCTION.
|
virtual |
Definition at line 38 of file raw-text-config.cc.
References m_os, and NS_LOG_FUNCTION.
|
virtual |
Load or save the attributes values.
Implements ns3::FileConfig.
Definition at line 93 of file raw-text-config.cc.
References ns3::StringValue::Get(), m_os, NS_LOG_DEBUG, and NS_LOG_FUNCTION.
Referenced by ns3::save_clicked().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Load or save the default values.
Implements ns3::FileConfig.
Definition at line 56 of file raw-text-config.cc.
References m_os, NS_LOG_DEBUG, and NS_LOG_FUNCTION.
Referenced by ns3::save_clicked_default().
Here is the caller graph for this function:
|
virtual |
Load or save the global values.
Implements ns3::FileConfig.
Definition at line 81 of file raw-text-config.cc.
References ns3::GlobalValue::Begin(), ns3::GlobalValue::End(), ns3::StringValue::Get(), m_os, NS_LOG_FUNCTION, and NS_LOG_LOGIC().
Here is the call graph for this function:
|
virtual |
Set the file name.
| filename | the filename |
Implements ns3::FileConfig.
Definition at line 49 of file raw-text-config.cc.
References m_os, and NS_LOG_FUNCTION.
Referenced by ns3::save_clicked(), and ns3::save_clicked_default().
Here is the caller graph for this function:
|
private |
Config store output stream.
Definition at line 46 of file raw-text-config.h.
Referenced by Attributes(), Default(), Global(), SetFilename(), and ~RawTextConfigSave().