base class for ConfigStore classes using files More...
#include "file-config.h"
Public Member Functions | |
virtual | ~FileConfig () |
virtual void | Attributes ()=0 |
Load or save the attributes values. More... | |
virtual void | Default ()=0 |
Load or save the default values. More... | |
virtual void | Global ()=0 |
Load or save the global values. More... | |
virtual void | SetFilename (std::string filename)=0 |
Set the file name. More... | |
void | SetSaveDeprecated (bool saveDeprecated) |
Set if to save deprecated attributes. More... | |
Protected Attributes | |
bool | m_saveDeprecated |
save deprecated attributes More... | |
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::XmlConfigLoad, ns3::XmlConfigSave, ns3::RawTextConfigLoad, ns3::RawTextConfigSave, and ns3::NoneFileConfig.
Referenced by ns3::ConfigStore::ConfigureAttributes().
|
pure virtual |
Load or save the default values.
Implemented in ns3::XmlConfigLoad, ns3::XmlConfigSave, ns3::RawTextConfigLoad, ns3::RawTextConfigSave, and ns3::NoneFileConfig.
Referenced by ns3::ConfigStore::ConfigureDefaults().
|
pure virtual |
Load or save the global values.
Implemented in ns3::XmlConfigLoad, ns3::XmlConfigSave, ns3::RawTextConfigLoad, ns3::RawTextConfigSave, and ns3::NoneFileConfig.
Referenced by ns3::ConfigStore::ConfigureDefaults().
|
pure virtual |
Set the file name.
filename | the filename |
Implemented in ns3::XmlConfigLoad, ns3::XmlConfigSave, ns3::RawTextConfigLoad, ns3::RawTextConfigSave, and ns3::NoneFileConfig.
Referenced by ns3::ConfigStore::ConfigStore().
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(), ns3::RawTextConfigSave::Attributes(), ns3::XmlConfigSave::Attributes(), ns3::RawTextConfigSave::Default(), and ns3::XmlConfigSave::Default().
|
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().