A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Configuration Store/Load

Store and load simulation attribute configuration. More...

Classes

class  ns3::AttributeIterator
 This class is used internally by ConfigStore and GtkConfigStore. More...
 
class  ns3::ConfigStore
 Introspection did not find any typical Config paths. More...
 
class  ns3::FileConfig
 
class  ns3::GtkConfigStore
 A class that provides a GTK-based front end to ns3::ConfigStore. More...
 
class  ns3::ModelCreator
 
class  ns3::NoneFileConfig
 
class  ns3::RawTextConfigLoad
 
class  ns3::RawTextConfigSave
 
class  ns3::XmlConfigLoad
 
class  ns3::XmlConfigSave
 

Detailed Description

Store and load simulation attribute configuration.

While it is possible to generate a sample config file and lightly edit it to change a couple of values, there are cases where this process will not work because the same value on the same object can appear multiple times in the same automatically-generated configuration file under different configuration paths.

As such, the best way to use this class is to use it to generate an initial configuration file, extract from that configuration file only the strictly necessary elements, and move these minimal elements to a new configuration file which can then safely be edited. Another option is to use the ns3::GtkConfigStore class which will allow you to edit the parameters and will generate configuration files where all the instances of the same parameter are changed.