A Discrete-Event Network Simulator
API
Attribute tests
+ Collaboration diagram for Attribute tests:

Files

file  attribute-container-test-suite.cc
 Attribute container test suite.
 
file  attribute-test-suite.cc
 Attribute test suite.
 

Classes

class  AttributeContainerObject
 Attribute container object. More...
 
class  AttributeContainerSerializationTestCase
 Attribute serialization and deserialization TestCase. More...
 
class  AttributeContainerSetGetTestCase
 Attribute set and get TestCase. More...
 
class  AttributeContainerTestCase
 Test AttributeContainer instantiation, initialization, access. More...
 
class  AttributeContainerTestSuite
 Attribute attribute container TestCase. More...
 
class  AttributeObjectTest
 Class used to check attributes. More...
 
class  AttributesTestSuite
 The attributes Test Suite. More...
 
class  AttributeTestCase< T >
 Test case template used for generic Attribute Value types – used to make sure that Attributes work as expected. More...
 
class  CallbackValueTestCase
 Test the Attributes of type CallbackValue. More...
 
class  Derived
 Simple class derived from ns3::Object, used to check attribute constructors. More...
 
class  IntegerTraceSourceAttributeTestCase
 Trace sources with value semantics can be used like Attributes, make sure we can use them that way. More...
 
class  IntegerTraceSourceTestCase
 Trace sources used like Attributes must also work as trace sources, make sure we can use them that way. More...
 
class  ObjectMapAttributeTestCase
 Test case for Object Map Attributes. More...
 
class  ObjectVectorAttributeTestCase
 Test case for Object Vector Attributes. More...
 
class  PointerAttributeTestCase
 Smart pointers (Ptr) are central to our architecture, so they must work as attributes. More...
 
class  RandomVariableStreamAttributeTestCase
 Test the Attributes of type RandomVariableStream. More...
 
class  TracedCallbackTestCase
 Trace sources used like Attributes must also work as trace sources, make sure we can use them that way. More...
 
class  ns3::ValueClassTest
 Test class for TracedValue callbacks attributes. More...
 

Functions

template<class A , class B , class C , class D >
bool operator== (const std::pair< A, B > &x, const std::pair< C, D > &y)
 This function handles mixed constness and compatible, yet distinct numerical classes (like int and long) More...
 

Detailed Description

Function Documentation

◆ operator==()

template<class A , class B , class C , class D >
bool operator== ( const std::pair< A, B > &  x,
const std::pair< C, D > &  y 
)

This function handles mixed constness and compatible, yet distinct numerical classes (like int and long)

Parameters
xThe left operand.
yThe right operand.
Returns
true if the pairs have the same numerical values.

Definition at line 159 of file attribute-container-test-suite.cc.

References sample-rng-plot::x.