A simple way to store test vectors (for stimulus or from responses) More...
#include "test.h"
 Inheritance diagram for ns3::TestVectors< T >:
 Inheritance diagram for ns3::TestVectors< T >: Collaboration diagram for ns3::TestVectors< T >:
 Collaboration diagram for ns3::TestVectors< T >:| Public Member Functions | |
| TestVectors () | |
| Constructor. | |
| TestVectors (const TestVectors &)=delete | |
| virtual | ~TestVectors () | 
| Virtual destructor. | |
| std::size_t | Add (T vector) | 
| T | Get (std::size_t i) const | 
| Get the i'th test vector. | |
| std::size_t | GetN () const | 
| Get the total number of test vectors. | |
| TestVectors & | operator= (const TestVectors &)=delete | 
| void | Reserve (uint32_t reserve) | 
| Set the expected length of this vector. | |
| Private Types | |
| typedef std::vector< T > | TestVector | 
| Container type. | |
| Private Attributes | |
| TestVector | m_vectors | 
| The list of test vectors. | |
A simple way to store test vectors (for stimulus or from responses)
| 
 | private | 
| ns3::TestVectors< T >::TestVectors | 
| 
 | virtual | 
| 
 | delete | 
| std::size_t ns3::TestVectors< T >::Add | ( | T | vector | ) | 
| [in] | vector | The test vector to add | 
Definition at line 1385 of file test.h.
Referenced by Ns3TcpNoDelayTestCase::DoRun(), Ns3TcpSocketTestCaseP2P::DoRun(), Ns3TcpSocketTestCaseCsma::DoRun(), Ns3TcpNoDelayTestCase::SinkRx(), Ns3TcpSocketTestCaseP2P::SinkRx(), and Ns3TcpSocketTestCaseCsma::SinkRx().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| T ns3::TestVectors< T >::Get | ( | std::size_t | i | ) | const | 
Get the i'th test vector.
| [in] | i | The requested vector index | 
Definition at line 1401 of file test.h.
References NS_ABORT_MSG_UNLESS.
Referenced by Ns3TcpNoDelayTestCase::DoRun(), Ns3TcpSocketTestCaseP2P::DoRun(), and Ns3TcpSocketTestCaseCsma::DoRun().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| std::size_t ns3::TestVectors< T >::GetN | 
Get the total number of test vectors.
Definition at line 1394 of file test.h.
Referenced by Ns3TcpNoDelayTestCase::DoRun(), Ns3TcpSocketTestCaseP2P::DoRun(), and Ns3TcpSocketTestCaseCsma::DoRun().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | delete | 
| void ns3::TestVectors< T >::Reserve | ( | uint32_t | reserve | ) | 
| 
 | private |