Public Member Functions

ns3::AccessorHelper< T, U > Class Template Reference

Inheritance diagram for ns3::AccessorHelper< T, U >:
Inheritance graph
[legend]
Collaboration diagram for ns3::AccessorHelper< T, U >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual bool Set (ObjectBase *object, const AttributeValue &val) const
virtual bool Get (const ObjectBase *object, AttributeValue &val) const

template<typename T, typename U>
class ns3::AccessorHelper< T, U >


Member Function Documentation

template<typename T , typename U >
virtual bool ns3::AccessorHelper< T, U >::Get ( const ObjectBase object,
AttributeValue attribute 
) const [inline, virtual]
Parameters:
object the object instance to get the value from
attribute a 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.

template<typename T , typename U >
virtual bool ns3::AccessorHelper< T, U >::Set ( ObjectBase object,
const AttributeValue value 
) const [inline, virtual]
Parameters:
object the object instance to set the value in
value the 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.


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