A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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.
 
Ptr< const AttributeCheckerGetItemChecker () const override
 Get the item checker.
 
void SetItemChecker (Ptr< const AttributeChecker > itemchecker) override
 Set the item checker.
 
- 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.
 
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.
 
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.
 
 SimpleRefCount (const SimpleRefCount &o)
 Copy constructor.
 
uint32_t GetReferenceCount () const
 Get the reference count of the object.
 
SimpleRefCountoperator= (const SimpleRefCount &o)
 Assignment operator.
 
void Ref () const
 Increment the reference count.
 
void Unref () const
 Decrement the reference count.
 

Private Attributes

Ptr< const AttributeCheckerm_itemchecker
 The AttributeChecker.
 

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 313 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 330 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 336 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 351 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 344 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 326 of file attribute-container.h.


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