A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
pair.h File Reference
#include <ns3/attribute-helper.h>
#include <ns3/string.h>
#include <sstream>
#include <type_traits>
#include <typeinfo>
#include <utility>
+ Include dependency graph for pair.h:

Go to the source code of this file.

Classes

class  ns3::PairChecker
 AttributeChecker implementation for PairValue. More...
 
class  ns3::internal::PairChecker< A, B >
 Internal checker class templated to each AttributeChecker for each entry in the pair. More...
 
class  ns3::PairValue< A, B >
 Hold objects of type std::pair<A, B>. More...
 

Namespaces

namespace  ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 
namespace  ns3::internal
 Namespace for implementation details.
 

Functions

template<typename A , typename B , typename T1 >
Ptr< const AttributeAccessor > ns3::MakePairAccessor (T1 a1)
 Create an AttributeAccessor for std::pair<>.
 
template<class A , class B >
Ptr< AttributeChecker > ns3::MakePairChecker ()
 Make a PairChecker without abscissa and ordinate AttributeCheckers.
 
template<class A , class B >
Ptr< AttributeChecker > ns3::MakePairChecker (const PairValue< A, B > &value)
 Make a PairChecker from a PairValue.
 
template<class A , class B >
Ptr< const AttributeChecker > ns3::MakePairChecker (Ptr< const AttributeChecker > firstchecker, Ptr< const AttributeChecker > secondchecker)
 Make a PairChecker from abscissa and ordinate AttributeCheckers.
 
template<class A , class B >
std::ostream & ns3::operator<< (std::ostream &os, const std::pair< A, B > &p)
 Output streamer for a std::pair.