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

Go to the source code of this file.

Classes

class  ns3::TupleChecker
 Checker for attribute values storing tuples. More...
 
class  ns3::internal::TupleChecker< Args >
 Internal checker class templated to each AttributeChecker for each entry in the tuple. More...
 
struct  ns3::internal::TupleHelper< Args >
 Helper class defining static methods for MakeTupleChecker and MakeTupleAccessor that are called when user specifies the list of AttributeValue types included in a TupleValue type. More...
 
struct  ns3::internal::TupleHelper< std::tuple< Args... > >
 Helper class defining static methods for MakeTupleValue, MakeTupleChecker and MakeTupleAccessor that are called when user provides a std::tuple of the AttributeValue types included in a TupleValue type. More...
 
class  ns3::TupleValue< Args >
 AttributeValue implementation for Tuple. 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<class... Args, class T1 >
Ptr< const AttributeAccessorns3::MakeTupleAccessor (T1 a1)
 Create an AttributeAccessor for a class data member of type tuple, or a lone class get functor or set method.
 
template<class... Args, class T1 , class T2 >
Ptr< const AttributeAccessorns3::MakeTupleAccessor (T1 a1, T2 a2)
 Create an AttributeAccessor using a pair of get functor and set methods from a class.
 
template<class... Args, class... Ts>
Ptr< const AttributeCheckerns3::MakeTupleChecker (Ts... checkers)
 Create a TupleChecker from AttributeCheckers associated with TupleValue elements.
 
template<class T1 , class T2 >
auto ns3::MakeTupleValue (T2 t)
 Create a TupleValue object.
 
template<class... Args>
std::ostream & ns3::operator<< (std::ostream &os, const std::tuple< Args... > &t)
 Stream insertion operator.