A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::PairChecker Class Referenceabstract

AttributeChecker implementation for PairValue. More...

#include "pair.h"

+ Inheritance diagram for ns3::PairChecker:
+ Collaboration diagram for ns3::PairChecker:

Public Types

typedef std::pair< Ptr< const AttributeChecker >, Ptr< const AttributeChecker > > checker_pair_type
 Type holding an AttributeChecker for each member of a pair.
 

Public Member Functions

virtual checker_pair_type GetCheckers () const =0
 Get the pair of checkers for each pair entry.
 
virtual void SetCheckers (Ptr< const AttributeChecker > firstchecker, Ptr< const AttributeChecker > secondchecker)=0
 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< 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.
 

Detailed Description

AttributeChecker implementation for PairValue.

See also
AttributeChecker

Definition at line 126 of file pair.h.

Member Typedef Documentation

◆ checker_pair_type

Type holding an AttributeChecker for each member of a pair.

Definition at line 130 of file pair.h.

Member Function Documentation

◆ GetCheckers()

virtual checker_pair_type ns3::PairChecker::GetCheckers ( ) const
pure virtual

Get the pair of checkers for each pair entry.

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

Implemented in ns3::internal::PairChecker< A, B >.

◆ SetCheckers()

virtual void ns3::PairChecker::SetCheckers ( Ptr< const AttributeChecker firstchecker,
Ptr< const AttributeChecker secondchecker 
)
pure virtual

Set the individual AttributeChecker for each pair entry.

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

Implemented in ns3::internal::PairChecker< A, B >.


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