A simple way to store test vectors (for stimulus or from responses) More...
#include <test.h>
Inheritance diagram for ns3::TestVectors< T >:Public Member Functions | |
| TestVectors () | |
| Constructor. More... | |
| virtual | ~TestVectors () |
| Virtual desctructor. More... | |
| uint32_t | Add (T vector) |
| T | Get (uint32_t i) const |
| Get the i'th test vector. More... | |
| uint32_t | GetN (void) const |
| void | Reserve (uint32_t reserve) |
Private Types | |
| typedef std::vector< T > | TestVector |
| Container type. More... | |
Private Member Functions | |
| TestVectors (const TestVectors &tv) | |
| Copy constructor, private to block copying. More... | |
| TestVectors & | operator= (const TestVectors &tv) |
| Assignment, private to prevent copying. More... | |
| bool | operator== (const TestVectors &tv) const |
| Comparison (unimplemented?) More... | |
Private Attributes | |
| TestVector | m_vectors |
| The list of test vectors. More... | |
A simple way to store test vectors (for stimulus or from responses)
|
private |
| ns3::TestVectors< T >::TestVectors | ( | ) |
|
virtual |
|
private |
Copy constructor, private to block copying.
| uint32_t ns3::TestVectors< T >::Add | ( | T | vector | ) |
| vector | the test vector to add |
Definition at line 1423 of file test.h.
Referenced by Ns3TcpNoDelayTestCase::DoRun(), Ns3TcpSocketTestCase1::DoRun(), NscTcpLossTestCase1::DoRun(), Ns3TcpSocketTestCase2::DoRun(), NscTcpLossTestCase2::DoRun(), Ns3TcpNoDelayTestCase::SinkRx(), Ns3TcpSocketTestCase1::SinkRx(), NscTcpLossTestCase1::SinkRx(), Ns3TcpSocketTestCase2::SinkRx(), and NscTcpLossTestCase2::SinkRx().
Here is the caller graph for this function:| T ns3::TestVectors< T >::Get | ( | uint32_t | i | ) | const |
Get the i'th test vector.
| i | the requested vector index |
Definition at line 1439 of file test.h.
References NS_ABORT_MSG_UNLESS.
Referenced by Ns3TcpNoDelayTestCase::DoRun(), Ns3TcpSocketTestCase1::DoRun(), NscTcpLossTestCase1::DoRun(), Ns3TcpSocketTestCase2::DoRun(), and NscTcpLossTestCase2::DoRun().
Here is the caller graph for this function:| uint32_t ns3::TestVectors< T >::GetN | ( | void | ) | const |
Definition at line 1432 of file test.h.
Referenced by Ns3TcpNoDelayTestCase::DoRun(), Ns3TcpSocketTestCase1::DoRun(), NscTcpLossTestCase1::DoRun(), Ns3TcpSocketTestCase2::DoRun(), and NscTcpLossTestCase2::DoRun().
Here is the caller graph for this function:
|
private |
Assignment, private to prevent copying.
|
private |
Comparison (unimplemented?)
| void ns3::TestVectors< T >::Reserve | ( | uint32_t | reserve | ) |
|
private |