A Discrete-Event Network Simulator
API
anonymous_namespace{traced-value-callback-typedef-test-suite.cc} Namespace Reference

Functions

template<typename T >
void TracedValueCbSink (T oldValue, T newValue)
 Template for TracedValue sink functions. More...
 
template<>
void TracedValueCbSink< SequenceNumber32 > (SequenceNumber32 oldValue, SequenceNumber32 newValue)
 TracedValueCbSink specialization for SequenceNumber32. More...
 
template<>
void TracedValueCbSink< Time > (Time oldValue, Time newValue)
 TracedValueCbSink specialization for Time. More...
 
Stringify the known TracedValue type names.
template<typename T >
std::string TypeName (void)
 Generic template for unknown classes. More...
 
template<>
std::string TypeName< bool > (void)
 Generic template for unknown classes. More...
 
template<>
std::string TypeName< int8_t > (void)
 Generic template for unknown classes. More...
 
template<>
std::string TypeName< int16_t > (void)
 Generic template for unknown classes. More...
 
template<>
std::string TypeName< int32_t > (void)
 Generic template for unknown classes. More...
 
template<>
std::string TypeName< int64_t > (void)
 Generic template for unknown classes. More...
 
template<>
std::string TypeName< uint8_t > (void)
 Generic template for unknown classes. More...
 
template<>
std::string TypeName< uint16_t > (void)
 Generic template for unknown classes. More...
 
template<>
std::string TypeName< uint32_t > (void)
 Generic template for unknown classes. More...
 
template<>
std::string TypeName< uint64_t > (void)
 Generic template for unknown classes. More...
 
template<>
std::string TypeName< double > (void)
 Generic template for unknown classes. More...
 
template<>
std::string TypeName< Time > (void)
 Generic template for unknown classes. More...
 
template<>
std::string TypeName< SequenceNumber32 > (void)
 Generic template for unknown classes. More...
 

Variables

std::string g_Result = ""
 Result of callback test. More...
 

Function Documentation

◆ TypeName()

template<typename T >
std::string anonymous_namespace{traced-value-callback-typedef-test-suite.cc}::TypeName ( void  )
inline

Generic template for unknown classes.

Returns
The TracedValueCallback type name, or "unknown" for unknown classes.

Definition at line 49 of file traced-value-callback-typedef-test-suite.cc.

◆ TypeName< bool >()

template<>
std::string anonymous_namespace{traced-value-callback-typedef-test-suite.cc}::TypeName< bool > ( void  )
inline

Generic template for unknown classes.

Returns
The TracedValueCallback type name, or "unknown" for unknown classes.

Definition at line 51 of file traced-value-callback-typedef-test-suite.cc.

◆ TypeName< double >()

template<>
std::string anonymous_namespace{traced-value-callback-typedef-test-suite.cc}::TypeName< double > ( void  )
inline

Generic template for unknown classes.

Returns
The TracedValueCallback type name, or "unknown" for unknown classes.

Definition at line 60 of file traced-value-callback-typedef-test-suite.cc.

◆ TypeName< int16_t >()

template<>
std::string anonymous_namespace{traced-value-callback-typedef-test-suite.cc}::TypeName< int16_t > ( void  )
inline

Generic template for unknown classes.

Returns
The TracedValueCallback type name, or "unknown" for unknown classes.

Definition at line 53 of file traced-value-callback-typedef-test-suite.cc.

◆ TypeName< int32_t >()

template<>
std::string anonymous_namespace{traced-value-callback-typedef-test-suite.cc}::TypeName< int32_t > ( void  )
inline

Generic template for unknown classes.

Returns
The TracedValueCallback type name, or "unknown" for unknown classes.

Definition at line 54 of file traced-value-callback-typedef-test-suite.cc.

◆ TypeName< int64_t >()

template<>
std::string anonymous_namespace{traced-value-callback-typedef-test-suite.cc}::TypeName< int64_t > ( void  )
inline

Generic template for unknown classes.

Returns
The TracedValueCallback type name, or "unknown" for unknown classes.

Definition at line 55 of file traced-value-callback-typedef-test-suite.cc.

◆ TypeName< int8_t >()

template<>
std::string anonymous_namespace{traced-value-callback-typedef-test-suite.cc}::TypeName< int8_t > ( void  )
inline

Generic template for unknown classes.

Returns
The TracedValueCallback type name, or "unknown" for unknown classes.

Definition at line 52 of file traced-value-callback-typedef-test-suite.cc.

◆ TypeName< SequenceNumber32 >()

template<>
std::string anonymous_namespace{traced-value-callback-typedef-test-suite.cc}::TypeName< SequenceNumber32 > ( void  )
inline

Generic template for unknown classes.

Returns
The TracedValueCallback type name, or "unknown" for unknown classes.

Definition at line 62 of file traced-value-callback-typedef-test-suite.cc.

◆ TypeName< Time >()

template<>
std::string anonymous_namespace{traced-value-callback-typedef-test-suite.cc}::TypeName< Time > ( void  )
inline

Generic template for unknown classes.

Returns
The TracedValueCallback type name, or "unknown" for unknown classes.

Definition at line 61 of file traced-value-callback-typedef-test-suite.cc.

◆ TypeName< uint16_t >()

template<>
std::string anonymous_namespace{traced-value-callback-typedef-test-suite.cc}::TypeName< uint16_t > ( void  )
inline

Generic template for unknown classes.

Returns
The TracedValueCallback type name, or "unknown" for unknown classes.

Definition at line 57 of file traced-value-callback-typedef-test-suite.cc.

◆ TypeName< uint32_t >()

template<>
std::string anonymous_namespace{traced-value-callback-typedef-test-suite.cc}::TypeName< uint32_t > ( void  )
inline

Generic template for unknown classes.

Returns
The TracedValueCallback type name, or "unknown" for unknown classes.

Definition at line 58 of file traced-value-callback-typedef-test-suite.cc.

◆ TypeName< uint64_t >()

template<>
std::string anonymous_namespace{traced-value-callback-typedef-test-suite.cc}::TypeName< uint64_t > ( void  )
inline

Generic template for unknown classes.

Returns
The TracedValueCallback type name, or "unknown" for unknown classes.

Definition at line 59 of file traced-value-callback-typedef-test-suite.cc.

◆ TypeName< uint8_t >()

template<>
std::string anonymous_namespace{traced-value-callback-typedef-test-suite.cc}::TypeName< uint8_t > ( void  )
inline

Generic template for unknown classes.

Returns
The TracedValueCallback type name, or "unknown" for unknown classes.

Definition at line 56 of file traced-value-callback-typedef-test-suite.cc.