Internal checker class templated to each AttributeChecker for each entry in the pair. More...
#include "pair.h"
Public Member Functions | |
PairChecker (Ptr< const AttributeChecker > firstchecker, Ptr< const AttributeChecker > secondchecker) | |
Construct from a pair of AttributeChecker's. More... | |
PairChecker (void) | |
Default c'tor. More... | |
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< AttributeValue > | Create (void) const =0 |
Ptr< AttributeValue > | CreateValidValue (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[[maybe_unused]]) | |
Copy constructor. More... | |
uint32_t | GetReferenceCount (void) const |
Get the reference count of the object. More... | |
SimpleRefCount & | operator= ([[maybe_unused]] 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 AttributeChecker > | m_firstchecker |
The first checker. More... | |
Ptr< const AttributeChecker > | m_secondchecker |
The second checker. More... | |
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. More... | |
Internal checker class templated to each AttributeChecker for each entry in the pair.
ns3::internal::PairChecker< A, B >::PairChecker | ( | void | ) |
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. |
|
virtual |
Get the pair of checkers for each pair entry.
Implements ns3::PairChecker.
|
virtual |
Set the individual AttributeChecker for each pair entry.
[in] | firstchecker | AttributeChecker for abscissa. |
[in] | secondchecker | AttributeChecker for ordinate. |
Implements ns3::PairChecker.
|
private |
|
private |