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

Internal checker class templated to each AttributeChecker for each entry in the pair. More...

#include "pair.h"

+ Inheritance diagram for ns3::internal::PairChecker< A, B >:
+ Collaboration diagram for ns3::internal::PairChecker< A, B >:

Public Member Functions

 PairChecker (void)
 
 PairChecker (Ptr< const AttributeChecker > firstchecker, Ptr< const AttributeChecker > secondchecker)
 
ns3::PairChecker::checker_pair_type GetCheckers (void) const
 Get the pair of checkers for each pair entry. More...
 
void SetCheckers (Ptr< const AttributeChecker > firstchecker, Ptr< const AttributeChecker > secondchecker)
 Set the individual AttributeChecker for each pair entry. 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_firstchecker
 
Ptr< const AttributeCheckerm_secondchecker
 

Additional Inherited Members

- Public Types inherited from ns3::PairChecker
typedef std::pair< Ptr< const AttributeChecker >, Ptr< const AttributeChecker > > checker_pair_type
 

Detailed Description

template<class A, class B>
class ns3::internal::PairChecker< A, B >

Internal checker class templated to each AttributeChecker for each entry in the pair.

Definition at line 170 of file pair.h.

Constructor & Destructor Documentation

◆ PairChecker() [1/2]

template<class A , class B >
ns3::internal::PairChecker< A, B >::PairChecker ( void  )

Definition at line 184 of file pair.h.

◆ PairChecker() [2/2]

template<class A , class B >
ns3::internal::PairChecker< A, B >::PairChecker ( Ptr< const AttributeChecker firstchecker,
Ptr< const AttributeChecker secondchecker 
)

Definition at line 190 of file pair.h.

Member Function Documentation

◆ GetCheckers()

template<class A , class B >
ns3::PairChecker::checker_pair_type ns3::internal::PairChecker< A, B >::GetCheckers ( void  ) const
virtual

Get the pair of checkers for each pair entry.

Returns
std::pair with AttributeChecker for each of abscissa and ordinate.

Implements ns3::PairChecker.

Definition at line 205 of file pair.h.

◆ SetCheckers()

template<class A , class B >
void ns3::internal::PairChecker< A, B >::SetCheckers ( Ptr< const AttributeChecker firstchecker,
Ptr< const AttributeChecker secondchecker 
)
virtual

Set the individual AttributeChecker for each pair entry.

Parameters
[in]firstcheckerAttributeChecker for abscissa.
[in]secondcheckerAttributeChecker for ordinate.

Implements ns3::PairChecker.

Definition at line 197 of file pair.h.

Member Data Documentation

◆ m_firstchecker

template<class A , class B >
Ptr<const AttributeChecker> ns3::internal::PairChecker< A, B >::m_firstchecker
private

Definition at line 179 of file pair.h.

◆ m_secondchecker

template<class A , class B >
Ptr<const AttributeChecker> ns3::internal::PairChecker< A, B >::m_secondchecker
private

Definition at line 180 of file pair.h.


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