base class for ConfigStore classes using files More...
#include "file-config.h"
Inheritance diagram for ns3::FileConfig:
Collaboration diagram for ns3::FileConfig:Public Member Functions | |
| virtual | ~FileConfig () |
| virtual void | Attributes ()=0 |
| Load or save the attributes values. | |
| virtual void | Default ()=0 |
| Load or save the default values. | |
| virtual void | Global ()=0 |
| Load or save the global values. | |
| virtual void | SetFilename (std::string filename)=0 |
| Set the file name. | |
| void | SetSaveDeprecated (bool saveDeprecated) |
| Set if to save deprecated attributes. | |
Protected Attributes | |
| bool | m_saveDeprecated |
| save deprecated attributes | |
base class for ConfigStore classes using files
Definition at line 33 of file file-config.h.
|
virtual |
Definition at line 25 of file file-config.cc.
|
pure virtual |
Load or save the attributes values.
Implemented in ns3::NoneFileConfig, ns3::RawTextConfigSave, ns3::RawTextConfigLoad, ns3::XmlConfigSave, and ns3::XmlConfigLoad.
Referenced by ns3::ConfigStore::ConfigureAttributes().
Here is the caller graph for this function:
|
pure virtual |
Load or save the default values.
Implemented in ns3::NoneFileConfig, ns3::RawTextConfigSave, ns3::RawTextConfigLoad, ns3::XmlConfigSave, and ns3::XmlConfigLoad.
Referenced by ns3::ConfigStore::ConfigureDefaults().
Here is the caller graph for this function:
|
pure virtual |
Load or save the global values.
Implemented in ns3::NoneFileConfig, ns3::RawTextConfigSave, ns3::RawTextConfigLoad, ns3::XmlConfigSave, and ns3::XmlConfigLoad.
Referenced by ns3::ConfigStore::ConfigureDefaults().
Here is the caller graph for this function:
|
pure virtual |
Set the file name.
| filename | the filename |
Implemented in ns3::NoneFileConfig, ns3::RawTextConfigSave, ns3::RawTextConfigLoad, ns3::XmlConfigSave, and ns3::XmlConfigLoad.
Referenced by ns3::ConfigStore::ConfigStore().
Here is the caller graph for this function:| void ns3::FileConfig::SetSaveDeprecated | ( | bool | saveDeprecated | ) |
Set if to save deprecated attributes.
| saveDeprecated | the deprecated attributes save policy |
Definition at line 30 of file file-config.cc.
References m_saveDeprecated.
Referenced by ns3::ConfigStore::ConfigStore().
Here is the caller graph for this function:
|
protected |
save deprecated attributes
Definition at line 61 of file file-config.h.
Referenced by ns3::RawTextConfigSave::Attributes(), ns3::XmlConfigSave::Attributes(), ns3::RawTextConfigSave::Default(), ns3::XmlConfigSave::Default(), and SetSaveDeprecated().