A Discrete-Event Network Simulator
API
ConfigStoreHelper Class Reference

The ConfigStoreHelper class simplifies config-store raw text load and save. More...

Public Member Functions

 ConfigStoreHelper ()
 Constructor. More...
 
void LoadConfig (std::string configFilename)
 Loads a saved config-store raw text configuration from a given named file. More...
 
void SaveConfig (std::string configFilename)
 Saves a configuration to a given named config-store raw text configuration file. More...
 

Detailed Description

The ConfigStoreHelper class simplifies config-store raw text load and save.

Definition at line 990 of file vanet-routing-compare.cc.

Constructor & Destructor Documentation

◆ ConfigStoreHelper()

ConfigStoreHelper::ConfigStoreHelper ( )

Constructor.

Definition at line 1011 of file vanet-routing-compare.cc.

Member Function Documentation

◆ LoadConfig()

void ConfigStoreHelper::LoadConfig ( std::string  configFilename)

Loads a saved config-store raw text configuration from a given named file.

Parameters
configFilenamethe name of the config-store raw text file

Definition at line 1016 of file vanet-routing-compare.cc.

References ns3::ConfigStore::ConfigureDefaults(), and ns3::Config::SetDefault().

Referenced by VanetRoutingExperiment::CommandSetup().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SaveConfig()

void ConfigStoreHelper::SaveConfig ( std::string  configFilename)

Saves a configuration to a given named config-store raw text configuration file.

Parameters
configFilenamethe name of the config-store raw text file

Definition at line 1028 of file vanet-routing-compare.cc.

References ns3::ConfigStore::ConfigureDefaults(), and ns3::Config::SetDefault().

Referenced by VanetRoutingExperiment::ParseCommandLineArguments().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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