Introspection did not find any typical Config paths
More...
#include "config-store.h"
Inheritance diagram for ns3::ConfigStore:
Collaboration diagram for ns3::ConfigStore:Public Types | |
| enum | FileFormat { XML , RAW_TEXT } |
| store format More... | |
| enum | Mode { LOAD , SAVE , NONE } |
| for ConfigStore operation More... | |
Public Member Functions | |
| ConfigStore () | |
| ~ConfigStore () override | |
| void | ConfigureAttributes () |
| Configure the attribute values. | |
| void | ConfigureDefaults () |
| Configure the default values. | |
| TypeId | GetInstanceTypeId () const override |
| Get the most derived TypeId for this Object. | |
| void | SetFileFormat (FileFormat format) |
| Set the file format. | |
| void | SetFilename (std::string filename) |
| Set the filename. | |
| void | SetMode (Mode mode) |
| Set the mode of operation. | |
| void | SetSaveDeprecated (bool saveDeprecated) |
| Set if to save deprecated attributes. | |
Public Member Functions inherited from ns3::ObjectBase | |
| virtual | ~ObjectBase () |
| Virtual destructor. | |
| void | GetAttribute (std::string name, AttributeValue &value, bool permissive=false) const |
| Get the value of an attribute, raising fatal errors if unsuccessful. | |
| bool | GetAttributeFailSafe (std::string name, AttributeValue &value) const |
| Get the value of an attribute without raising errors. | |
| void | SetAttribute (std::string name, const AttributeValue &value) |
| Set a single attribute, raising fatal errors if unsuccessful. | |
| bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
| Set a single attribute without raising errors. | |
| bool | TraceConnect (std::string name, std::string context, const CallbackBase &cb) |
| Connect a TraceSource to a Callback with a context. | |
| bool | TraceConnectWithoutContext (std::string name, const CallbackBase &cb) |
| Connect a TraceSource to a Callback without a context. | |
| bool | TraceDisconnect (std::string name, std::string context, const CallbackBase &cb) |
| Disconnect from a TraceSource a Callback previously connected with a context. | |
| bool | TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb) |
| Disconnect from a TraceSource a Callback previously connected without a context. | |
Static Public Member Functions | |
| static TypeId | GetTypeId () |
| Get the type ID. | |
Static Public Member Functions inherited from ns3::ObjectBase | |
| static TypeId | GetTypeId () |
| Get the type ID. | |
Private Attributes | |
| FileConfig * | m_file |
| configuration file | |
| FileFormat | m_fileFormat |
| store format | |
| std::string | m_filename |
| store file name | |
| Mode | m_mode |
| store mode | |
| bool | m_saveDeprecated |
| save deprecated attributes | |
Additional Inherited Members | |
Protected Member Functions inherited from ns3::ObjectBase | |
| void | ConstructSelf (const AttributeConstructionList &attributes) |
| Complete construction of ObjectBase; invoked by derived classes. | |
| virtual void | NotifyConstructionCompleted () |
| Notifier called once the ObjectBase is fully constructed. | |
Related Symbols inherited from ns3::ObjectBase | |
| static TypeId | GetObjectIid () |
| Ensure the TypeId for ObjectBase gets fully configured to anchor the inheritance tree properly. | |
Introspection did not find any typical Config paths
RawText|Xml std::string None|Load|Save No TraceSources are defined for this type
Group: ConfigStore
Size of this type is 64 bytes (on a 64-bit architecture).
Definition at line 49 of file config-store.h.
store format
for ConfigStore operation
file format
| Enumerator | |
|---|---|
| XML | |
| RAW_TEXT | |
Definition at line 68 of file config-store.h.
for ConfigStore operation
store / load mode
| Enumerator | |
|---|---|
| LOAD | |
| SAVE | |
| NONE | |
Definition at line 56 of file config-store.h.
| ns3::ConfigStore::ConfigStore | ( | ) |
Definition at line 83 of file config-store.cc.
References ns3::ObjectBase::ConstructSelf(), LOAD, m_file, m_fileFormat, m_filename, m_mode, NS_ABORT_MSG, NS_LOG_FUNCTION, RAW_TEXT, SAVE, and XML.
Here is the call graph for this function:
|
override |
Definition at line 139 of file config-store.cc.
References m_file, and NS_LOG_FUNCTION.
| void ns3::ConfigStore::ConfigureAttributes | ( | ) |
Configure the attribute values.
Definition at line 175 of file config-store.cc.
References m_file, and NS_LOG_FUNCTION.
Referenced by PrintAttributesIfEnabled().
Here is the caller graph for this function:| void ns3::ConfigStore::ConfigureDefaults | ( | ) |
Configure the default values.
Definition at line 182 of file config-store.cc.
References m_file, and NS_LOG_FUNCTION.
Referenced by LteIpv6RoutingTestCase::DoRun().
Here is the caller graph for this function:
|
overridevirtual |
Get the most derived TypeId for this Object.
This method is provided by ns3::Object::GetInstanceTypeId but classes which derive from ns3::ObjectBase directly have to implement it themselves. Typically, this method should simply return the output of GetTypeId().
Implements ns3::ObjectBase.
Definition at line 78 of file config-store.cc.
References GetTypeId().
Here is the call graph for this function:
|
static |
Get the type ID.
Definition at line 37 of file config-store.cc.
References LOAD, ns3::MakeBooleanAccessor(), ns3::MakeBooleanChecker(), ns3::MakeEnumAccessor(), ns3::MakeEnumChecker(), ns3::MakeStringAccessor(), ns3::MakeStringChecker(), NONE, ns3::TypeId::OBSOLETE, RAW_TEXT, SAVE, SetFileFormat(), SetFilename(), SetMode(), ns3::TypeId::SetParent(), SetSaveDeprecated(), and XML.
Referenced by GetInstanceTypeId().
Here is the call graph for this function:
Here is the caller graph for this function:| void ns3::ConfigStore::SetFileFormat | ( | FileFormat | format | ) |
Set the file format.
| format | the file format |
Definition at line 154 of file config-store.cc.
References m_fileFormat, and NS_LOG_FUNCTION.
Referenced by GetTypeId().
Here is the caller graph for this function:| void ns3::ConfigStore::SetFilename | ( | std::string | filename | ) |
Set the filename.
| filename | the file name |
Definition at line 161 of file config-store.cc.
References m_filename, and NS_LOG_FUNCTION.
Referenced by GetTypeId().
Here is the caller graph for this function:| void ns3::ConfigStore::SetMode | ( | Mode | mode | ) |
Set the mode of operation.
| mode | mode of operation |
Definition at line 147 of file config-store.cc.
References m_mode, and NS_LOG_FUNCTION.
Referenced by GetTypeId().
Here is the caller graph for this function:| void ns3::ConfigStore::SetSaveDeprecated | ( | bool | saveDeprecated | ) |
Set if to save deprecated attributes.
| saveDeprecated | the deprecated attributes save policy |
Definition at line 168 of file config-store.cc.
References m_saveDeprecated, and NS_LOG_FUNCTION.
Referenced by GetTypeId().
Here is the caller graph for this function:
|
private |
configuration file
Definition at line 119 of file config-store.h.
Referenced by ConfigStore(), ~ConfigStore(), ConfigureAttributes(), and ConfigureDefaults().
|
private |
store format
Definition at line 116 of file config-store.h.
Referenced by ConfigStore(), and SetFileFormat().
|
private |
store file name
Definition at line 118 of file config-store.h.
Referenced by ConfigStore(), and SetFilename().
|
private |
store mode
Definition at line 115 of file config-store.h.
Referenced by ConfigStore(), and SetMode().
|
private |
save deprecated attributes
Definition at line 117 of file config-store.h.
Referenced by SetSaveDeprecated().