A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ns3::NscStackStringAccessor Class Reference
+ Inheritance diagram for ns3::NscStackStringAccessor:

Public Member Functions

 NscStackStringAccessor (std::string name)
 
virtual bool Get (const ObjectBase *object, AttributeValue &val) const
 
virtual bool HasGetter (void) const
 
virtual bool HasSetter (void) const
 
virtual bool Set (ObjectBase *object, const AttributeValue &val) const
 
- Public Member Functions inherited from ns3::SimpleRefCount< AttributeAccessor >
 SimpleRefCount (const SimpleRefCount &o)
 
uint32_t GetReferenceCount (void) const
 
SimpleRefCountoperator= (const SimpleRefCount &o)
 
void Ref (void) const
 
void Unref (void) const
 

Private Attributes

std::string m_name
 

Additional Inherited Members

- Static Public Member Functions inherited from ns3::SimpleRefCount< AttributeAccessor >
static void Cleanup (void)
 

Detailed Description

Definition at line 26 of file nsc-sysctl.cc.

Member Function Documentation

bool ns3::NscStackStringAccessor::Get ( const ObjectBase object,
AttributeValue attribute 
) const
virtual
Parameters
objectthe object instance to get the value from
attributea pointer to where the value should be set.
Returns
true if the value could be read successfully, and stored in the input value, false otherwise.

This method expects that the caller has checked that the input value is valid with AttributeChecker::Check.

Implements ns3::AttributeAccessor.

Definition at line 66 of file nsc-sysctl.cc.

bool ns3::NscStackStringAccessor::HasGetter ( void  ) const
virtual
Returns
true if this accessor supports the Get operation, false otherwise.

Implements ns3::AttributeAccessor.

Definition at line 39 of file nsc-sysctl.cc.

bool ns3::NscStackStringAccessor::HasSetter ( void  ) const
virtual
Returns
true if this accessor supports the Set operation, false otherwise.

Implements ns3::AttributeAccessor.

Definition at line 44 of file nsc-sysctl.cc.

bool ns3::NscStackStringAccessor::Set ( ObjectBase object,
const AttributeValue value 
) const
virtual
Parameters
objectthe object instance to set the value in
valuethe value to set
Returns
true if the value could be set successfully, false otherwise.

This method expects that the caller has checked that the input value is valid with AttributeChecker::Check.

Implements ns3::AttributeAccessor.

Definition at line 50 of file nsc-sysctl.cc.


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