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:

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.
 

Detailed Description

base class for ConfigStore classes using files

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

Constructor & Destructor Documentation

◆ ~FileConfig()

ns3::FileConfig::~FileConfig ( )
virtual

Definition at line 14 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::RawTextConfigLoad, ns3::RawTextConfigSave, ns3::XmlConfigLoad, and ns3::XmlConfigSave.

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::RawTextConfigLoad, ns3::RawTextConfigSave, ns3::XmlConfigLoad, and ns3::XmlConfigSave.

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::RawTextConfigLoad, ns3::RawTextConfigSave, ns3::XmlConfigLoad, and ns3::XmlConfigSave.

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::RawTextConfigLoad, ns3::RawTextConfigSave, ns3::XmlConfigLoad, and ns3::XmlConfigSave.

Referenced by ns3::ConfigStore::ConfigStore().

+ Here is the caller graph for this function:

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