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

List of all members.

Public Member Functions

virtual bool Set (ObjectBase *object, const AttributeValue &value) const
virtual bool Get (const ObjectBase *object, AttributeValue &value) const
virtual bool HasGetter (void) const
virtual bool HasSetter (void) const

Member Function Documentation

bool ns3::ObjectPtrContainerAccessor::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.

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

Implements ns3::AttributeAccessor.

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

Implements ns3::AttributeAccessor.

bool ns3::ObjectPtrContainerAccessor::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.


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