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

#include "attribute-container.h"

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

Public Member Functions

 AttributeContainerChecker ()
 
 AttributeContainerChecker (Ptr< const AttributeChecker > itemchecker)
 Explicit constructor. More...
 
Ptr< const AttributeCheckerGetItemChecker () const override
 Get the item checker. More...
 
void SetItemChecker (Ptr< const AttributeChecker > itemchecker) override
 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 () 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 () const =0
 
virtual std::string GetValueTypeName () const =0
 
virtual bool HasUnderlyingTypeInformation () const =0
 
- Public Member Functions inherited from ns3::SimpleRefCount< AttributeChecker >
 SimpleRefCount ()
 Default constructor. More...
 
 SimpleRefCount (const SimpleRefCount &o[[maybe_unused]])
 Copy constructor. More...
 
uint32_t GetReferenceCount () const
 Get the reference count of the object. More...
 
SimpleRefCountoperator= (const SimpleRefCount &o[[maybe_unused]])
 Assignment operator. More...
 
void Ref () const
 Increment the reference count. More...
 
void Unref () const
 Decrement the reference count. More...
 

Private Attributes

Ptr< const AttributeCheckerm_itemchecker
 The AttributeChecker. More...
 

Detailed Description

template<class A, char Sep, template< class... > class C>
class ns3::internal::AttributeContainerChecker< A, Sep, 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 296 of file attribute-container.h.

Constructor & Destructor Documentation

◆ AttributeContainerChecker() [1/2]

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

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

◆ AttributeContainerChecker() [2/2]

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

Explicit constructor.

Parameters
itemcheckerThe AttributeChecker.

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

Member Function Documentation

◆ GetItemChecker()

template<class A , char Sep, template< class... > class C>
Ptr< const AttributeChecker > ns3::internal::AttributeContainerChecker< A, Sep, C >::GetItemChecker ( ) const
overridevirtual

Get the item checker.

Returns
The item checker

Implements ns3::AttributeContainerChecker.

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

◆ SetItemChecker()

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

Set the item checker.

Parameters
itemcheckerThe item checker

Implements ns3::AttributeContainerChecker.

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

Member Data Documentation

◆ m_itemchecker

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

The AttributeChecker.

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


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