ns-3
ns3::ConfigStore Class Reference
Inheritance diagram for ns3::ConfigStore:
Collaboration diagram for ns3::ConfigStore:

List of all members.

Public Types

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

Public Member Functions

virtual TypeId GetInstanceTypeId (void) const
void SetMode (enum Mode mode)
void SetFileFormat (enum FileFormat format)
void SetFilename (std::string filename)
void ConfigureDefaults (void)
void ConfigureAttributes (void)

Static Public Member Functions

static TypeId GetTypeId (void)
 This method returns the TypeId associated to ns3::ConfigStore.

Member Function Documentation

TypeId ns3::ConfigStore::GetInstanceTypeId ( void  ) const [virtual]
Returns:
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.

References GetTypeId().

TypeId ns3::ConfigStore::GetTypeId ( void  ) [static]

This method returns the TypeId associated to ns3::ConfigStore.

Attributes defined for this type:

  • 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 defined for this type.

Reimplemented from ns3::ObjectBase.

References ns3::TypeId::SetParent().

Referenced by GetInstanceTypeId().


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