A Discrete-Event Network Simulator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ns3::ConfigStore Class Reference

#include <introspected-doxygen.h>

+ Inheritance diagram for ns3::ConfigStore:

Public Types

enum  FileFormat { XML, RAW_TEXT }
enum  Mode { LOAD, SAVE, NONE }

Public Member Functions

void ConfigureAttributes (void)
void ConfigureDefaults (void)
virtual TypeId GetInstanceTypeId (void) const
void SetFileFormat (enum FileFormat format)
void SetFilename (std::string filename)
void SetMode (enum Mode mode)
- Public Member Functions inherited from ns3::ObjectBase
void GetAttribute (std::string name, AttributeValue &value) const
bool GetAttributeFailSafe (std::string name, AttributeValue &attribute) const
void SetAttribute (std::string name, const AttributeValue &value)
bool SetAttributeFailSafe (std::string name, const AttributeValue &value)
bool TraceConnect (std::string name, std::string context, const CallbackBase &cb)
bool TraceConnectWithoutContext (std::string name, const CallbackBase &cb)
bool TraceDisconnect (std::string name, std::string context, const CallbackBase &cb)
bool TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb)

Static Public Member Functions

static TypeId GetTypeId (void)
- Static Public Member Functions inherited from ns3::ObjectBase
static TypeId GetTypeId (void)

Private Attributes

enum FileFormat m_fileFormat
std::string m_filename
enum Mode m_mode

Additional Inherited Members

- Protected Member Functions inherited from ns3::ObjectBase
void ConstructSelf (const AttributeConstructionList &attributes)
virtual void NotifyConstructionCompleted (void)

Detailed Description

Doxygen introspection did not find any typical Config paths.


  • Mode: Configuration mode
    • Set with class: ns3::EnumValue
    • Underlying type: None|Load|Save
    • Initial value: None
    • Flags: construct write
  • Filename: The file where the configuration should be saved to or loaded from.
    • Set with class: StringValue
    • Underlying type: std::string
    • Initial value:
    • Flags: construct write
  • FileFormat: Type of file format
    • Set with class: ns3::EnumValue
    • Underlying type: RawText|Xml
    • Initial value: RawText
    • Flags: construct write

No TraceSources are defined for this type.

Definition at line 34 of file config-store.h.

Member Function Documentation

TypeId ns3::ConfigStore::GetInstanceTypeId ( void  ) const
the TypeId associated to the most-derived type of this instance.

This method is typically implemented by ns3::Object::GetInstanceTypeId but some classes which derive from ns3::ObjectBase directly have to implement it themselves.

Implements ns3::ObjectBase.

Definition at line 55 of file config-store.cc.

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