A simple way to store test vectors (for stimulus or from responses) More...
#include <test.h>
Public Member Functions | |
TestVectors () | |
virtual | ~TestVectors () |
uint32_t | Add (T vector) |
T | Get (uint32_t i) const |
uint32_t | GetN (void) const |
void | Reserve (uint32_t reserve) |
Private Types | |
typedef std::vector< T > | TestVector |
Private Member Functions | |
TestVectors (const TestVectors &tv) | |
TestVectors & | operator= (const TestVectors &tv) |
bool | operator== (const TestVectors &tv) const |
Private Attributes | |
TestVector | m_vectors |
A simple way to store test vectors (for stimulus or from responses)
|
private |
ns3::TestVectors< T >::TestVectors | ( | ) |
|
virtual |
|
private |
uint32_t ns3::TestVectors< T >::Add | ( | T | vector | ) |
Definition at line 1055 of file test.h.
Referenced by Ns3TcpCwndTestCase1::CwndChange(), Ns3TcpCwndTestCase2::CwndChange(), FriisPropagationLossModelTestCase::DoRun(), Ns3TcpNoDelayTestCase::DoRun(), Ns3TcpSocketTestCase1::DoRun(), NscTcpLossTestCase1::DoRun(), TwoRayGroundPropagationLossModelTestCase::DoRun(), Ns3TcpSocketTestCase2::DoRun(), NscTcpLossTestCase2::DoRun(), LogDistancePropagationLossModelTestCase::DoRun(), Ns3TcpSocketTestCase1::SinkRx(), Ns3TcpNoDelayTestCase::SinkRx(), NscTcpLossTestCase1::SinkRx(), Ns3TcpSocketTestCase2::SinkRx(), and NscTcpLossTestCase2::SinkRx().
T ns3::TestVectors< T >::Get | ( | uint32_t | i | ) | const |
Definition at line 1071 of file test.h.
References NS_ABORT_MSG_UNLESS.
Referenced by FriisPropagationLossModelTestCase::DoRun(), Ns3TcpNoDelayTestCase::DoRun(), Ns3TcpSocketTestCase1::DoRun(), NscTcpLossTestCase1::DoRun(), TwoRayGroundPropagationLossModelTestCase::DoRun(), Ns3TcpSocketTestCase2::DoRun(), NscTcpLossTestCase2::DoRun(), Ns3TcpCwndTestCase1::DoRun(), LogDistancePropagationLossModelTestCase::DoRun(), Ns3TcpCwndTestCase2::DoRun(), and Ns3TcpCwndTestCase2::VerifyCwndRun().
uint32_t ns3::TestVectors< T >::GetN | ( | void | ) | const |
Definition at line 1064 of file test.h.
Referenced by FriisPropagationLossModelTestCase::DoRun(), Ns3TcpNoDelayTestCase::DoRun(), Ns3TcpSocketTestCase1::DoRun(), NscTcpLossTestCase1::DoRun(), TwoRayGroundPropagationLossModelTestCase::DoRun(), Ns3TcpSocketTestCase2::DoRun(), NscTcpLossTestCase2::DoRun(), Ns3TcpCwndTestCase1::DoRun(), LogDistancePropagationLossModelTestCase::DoRun(), and Ns3TcpCwndTestCase2::DoRun().
|
private |
|
private |
void ns3::TestVectors< T >::Reserve | ( | uint32_t | reserve | ) |
|
private |