Public Member Functions

ns3::internal::AnObjectVectorChecker< T > Class Template Reference

Inheritance diagram for ns3::internal::AnObjectVectorChecker< T >:
Inheritance graph
[legend]
Collaboration diagram for ns3::internal::AnObjectVectorChecker< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual TypeId GetItemTypeId (void) const
virtual bool Check (const AttributeValue &value) const
virtual std::string GetValueTypeName (void) const
virtual bool HasUnderlyingTypeInformation (void) const
virtual std::string GetUnderlyingTypeInformation (void) const
virtual Ptr< AttributeValueCreate (void) const
virtual bool Copy (const AttributeValue &source, AttributeValue &destination) const

template<typename T>
class ns3::internal::AnObjectVectorChecker< T >


Member Function Documentation

template<typename T >
virtual bool ns3::internal::AnObjectVectorChecker< T >::Check ( const AttributeValue value  )  const [inline, virtual]
Parameters:
value a pointer to the value to check
Returns:
true if the input value is both of the right type and if its value is within the requested range. Returns false otherwise.

Implements ns3::AttributeChecker.

template<typename T >
virtual Ptr<AttributeValue> ns3::internal::AnObjectVectorChecker< T >::Create ( void   )  const [inline, virtual]
Returns:
a new instance of an AttributeValue (wrapper in an Attribute instance) which matches the type of the underlying attribute.

This method is typically used to create a temporary variable prior to calling Attribute::DeserializeFromString.

Implements ns3::AttributeChecker.

template<typename T >
virtual std::string ns3::internal::AnObjectVectorChecker< T >::GetUnderlyingTypeInformation ( void   )  const [inline, virtual]
Returns:
a human-readable representation of information about the underlying C++ type.

Implements ns3::AttributeChecker.

template<typename T >
virtual std::string ns3::internal::AnObjectVectorChecker< T >::GetValueTypeName ( void   )  const [inline, virtual]
Returns:
the c++ fully-qualified typename of the subclass of the ns3::AttributeValue base class which is associated to this checker.

A typical return value here is FooValue where Foo is the name of the type being wrapped.

Implements ns3::AttributeChecker.

template<typename T >
virtual bool ns3::internal::AnObjectVectorChecker< T >::HasUnderlyingTypeInformation ( void   )  const [inline, virtual]
Returns:
true if this checker has information about the underlying C++ type, false otherwise.

If this method returns false, the return value of the GetUnderlyingTypeInformation method cannot be relied upon.

Implements ns3::AttributeChecker.


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