Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
CdbBdbTestIterator< T > Class Template ReferenceThe utility class for testing iteratots. More...
List of all members.
Static Public Methods
void exerciseIterator () Do the test.
template<class T>The utility class for testing iteratots.
class CdbBdbTestIterator< T >
The only template parameter of this class is T - the type of an iterator to be tested.
This test also assumes that the passed type corresponds to concrete iterator having a default constructor. Therefore the test will also instantiate the iterator.
Note the way the returned value is tested: we do not assume the presence of the default constructor for the value. This method can also return a reference, smart pointer onto an interface or a regular pointer.
See the implementation of this class for more details. Some tests may be implemented using full template specialization.
Definition at line 23 of file CdbBdbTestIterator.hh.
Member Function Documentation
void CdbBdbTestIterator<>::exerciseIterator ( )
Do the test.
This method won't return any status. All problems will be detected either during its compilation or they will be reported through the "cout" or "assert" at the execution time.
Referenced by CdbBdbTestCompilation::iterators().
The documentation for this class was generated from the following files:
BaBar Public Site | SLAC | News | Links | Who's Who | Contact Us
Page Owner: Jacek Becla
Last Update: October 04, 2002