A Discrete-Event Network Simulator
API
ns3::internal::AttributeContainerChecker< A, C > Class Template Reference

#include "attribute-container.h"

+ Inheritance diagram for ns3::internal::AttributeContainerChecker< A, C >:
+ Collaboration diagram for ns3::internal::AttributeContainerChecker< A, C >:

Public Member Functions

 AttributeContainerChecker (Ptr< const AttributeChecker > itemchecker)
 Explicit constructor. More...
 
 AttributeContainerChecker (void)
 
Ptr< const AttributeCheckerGetItemChecker (void) const
 Get the item checker. More...
 
void SetItemChecker (Ptr< const AttributeChecker > itemchecker)
 Set the item checker. More...
 
- Public Member Functions inherited from ns3::AttributeChecker
 AttributeChecker ()
 
virtual ~AttributeChecker ()
 
virtual bool Check (const AttributeValue &value) const =0
 
virtual bool Copy (const AttributeValue &source, AttributeValue &destination) const =0
 Copy the source to the destination. More...
 
virtual Ptr< AttributeValueCreate (void) const =0
 
Ptr< AttributeValueCreateValidValue (const AttributeValue &value) const
 Create a valid value from the argument value, or reinterpret the argument as a string. More...
 
virtual std::string GetUnderlyingTypeInformation (void) const =0
 
virtual std::string GetValueTypeName (void) const =0
 
virtual bool HasUnderlyingTypeInformation (void) const =0
 
- Public Member Functions inherited from ns3::SimpleRefCount< AttributeChecker >
 SimpleRefCount ()
 Default constructor. More...
 
 SimpleRefCount (const SimpleRefCount &o)
 Copy constructor. More...
 
uint32_t GetReferenceCount (void) const
 Get the reference count of the object. More...
 
SimpleRefCountoperator= (const SimpleRefCount &o)
 Assignment operator. More...
 
void Ref (void) const
 Increment the reference count. More...
 
void Unref (void) const
 Decrement the reference count. More...
 

Private Attributes

Ptr< const AttributeCheckerm_itemchecker
 The AttributeChecker. More...
 

Detailed Description

template<class A, template< class... > class C>
class ns3::internal::AttributeContainerChecker< A, C >

Internal:
Templated AttributeContainerChecker class that is instantiated in MakeAttributeContainerChecker. The non-templated base ns3::AttributeContainerChecker is returned from that function. This is the same pattern as ObjectPtrContainer.

Definition at line 258 of file attribute-container.h.

Constructor & Destructor Documentation

◆ AttributeContainerChecker() [1/2]

template<class A , template< class... > class C>
ns3::internal::AttributeContainerChecker< A, C >::AttributeContainerChecker ( void  )

Definition at line 275 of file attribute-container.h.

◆ AttributeContainerChecker() [2/2]

template<class A , template< class... > class C>
ns3::internal::AttributeContainerChecker< A, C >::AttributeContainerChecker ( Ptr< const AttributeChecker itemchecker)
explicit

Explicit constructor.

Parameters
itemcheckerThe AttributeChecker.

Definition at line 280 of file attribute-container.h.

Member Function Documentation

◆ GetItemChecker()

template<class A , template< class... > class C>
Ptr< const AttributeChecker > ns3::internal::AttributeContainerChecker< A, C >::GetItemChecker ( void  ) const
virtual

Get the item checker.

Returns
The item checker

Implements ns3::AttributeContainerChecker.

Definition at line 293 of file attribute-container.h.

◆ SetItemChecker()

template<class A , template< class... > class C>
void ns3::internal::AttributeContainerChecker< A, C >::SetItemChecker ( Ptr< const AttributeChecker itemchecker)
virtual

Set the item checker.

Parameters
itemcheckerThe item checker

Implements ns3::AttributeContainerChecker.

Definition at line 286 of file attribute-container.h.

Member Data Documentation

◆ m_itemchecker

template<class A , template< class... > class C>
Ptr<const AttributeChecker> ns3::internal::AttributeContainerChecker< A, C >::m_itemchecker
private

The AttributeChecker.

Definition at line 271 of file attribute-container.h.


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