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 () | |
| Default c'tor. | |
| PairChecker (Ptr< const AttributeChecker > firstchecker, Ptr< const AttributeChecker > secondchecker) | |
| Construct from a pair of AttributeChecker's. | |
| ns3::PairChecker::checker_pair_type | GetCheckers () const override |
| Get the pair of checkers for each pair entry. | |
| void | SetCheckers (Ptr< const AttributeChecker > firstchecker, Ptr< const AttributeChecker > secondchecker) override |
| Set the individual AttributeChecker for each pair entry. | |
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< AttributeValue > | Create () const =0 |
| Ptr< AttributeValue > | CreateValidValue (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. | |
| SimpleRefCount & | operator= (const SimpleRefCount &o) |
| Assignment operator. | |
| void | Ref () const |
| Increment the reference count. | |
| void | Unref () const |
| Decrement the reference count. | |
Private Attributes | |
| Ptr< const AttributeChecker > | m_firstchecker |
| The first checker. | |
| Ptr< const AttributeChecker > | m_secondchecker |
| The second checker. | |
Additional Inherited Members | |
Public Types inherited from ns3::PairChecker | |
| typedef std::pair< Ptr< const AttributeChecker >, Ptr< const AttributeChecker > > | checker_pair_type |
| Type holding an AttributeChecker for each member of a pair. | |
Internal checker class templated to each AttributeChecker for each entry in the pair.
| ns3::internal::PairChecker< A, B >::PairChecker | ( | ) |
Default c'tor.
Definition at line 238 of file pair.h.
References m_firstchecker, and m_secondchecker.
| ns3::internal::PairChecker< A, B >::PairChecker | ( | Ptr< const AttributeChecker > | firstchecker, |
| Ptr< const AttributeChecker > | secondchecker ) |
Construct from a pair of AttributeChecker's.
| firstchecker | The AttributeChecker for first. |
| secondchecker | The AttributeChecker for second. |
Definition at line 245 of file pair.h.
References m_firstchecker, and m_secondchecker.
|
overridevirtual |
Get the pair of checkers for each pair entry.
Implements ns3::PairChecker.
Definition at line 263 of file pair.h.
References m_firstchecker, and m_secondchecker.
|
overridevirtual |
Set the individual AttributeChecker for each pair entry.
| [in] | firstchecker | AttributeChecker for abscissa. |
| [in] | secondchecker | AttributeChecker for ordinate. |
Implements ns3::PairChecker.
Definition at line 254 of file pair.h.
References m_firstchecker, and m_secondchecker.
|
private |
The first checker.
Definition at line 232 of file pair.h.
Referenced by PairChecker(), PairChecker(), GetCheckers(), and SetCheckers().
|
private |
The second checker.
Definition at line 234 of file pair.h.
Referenced by PairChecker(), PairChecker(), GetCheckers(), and SetCheckers().