A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::FileConfig Class Referenceabstract

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
 

Detailed Description

base class for ConfigStore classes using files

Definition at line 33 of file file-config.h.

Constructor & Destructor Documentation

◆ ~FileConfig()

ns3::FileConfig::~FileConfig ( )
virtual

Definition at line 25 of file file-config.cc.

Member Function Documentation

◆ Attributes()

virtual void ns3::FileConfig::Attributes ( )
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:

◆ Default()

virtual void ns3::FileConfig::Default ( )
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:

◆ Global()

virtual void ns3::FileConfig::Global ( )
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:

◆ SetFilename()

virtual void ns3::FileConfig::SetFilename ( std::string  filename)
pure virtual

Set the file name.

Parameters
filenamethe 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:

◆ SetSaveDeprecated()

void ns3::FileConfig::SetSaveDeprecated ( bool  saveDeprecated)

Set if to save deprecated attributes.

Parameters
saveDeprecatedthe 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:

Member Data Documentation

◆ m_saveDeprecated

bool ns3::FileConfig::m_saveDeprecated
protected

The documentation for this class was generated from the following files: