5 #ifndef TESTCLASSSTLCONTAINERS_H
6 #define TESTCLASSSTLCONTAINERS_H
56 os <<
" (" <<
i->first <<
"," <<
i->second <<
")";
60 for ( std::set< unsigned short >::const_iterator
i =
m_set_of_ushort.begin();
76 std::vector< int >::const_iterator this_i_vector_of_int =
m_vector_of_int.begin();
77 std::vector< int >::const_iterator rhs_i_vector_of_int = rhs.
m_vector_of_int.begin();
79 if ( *this_i_vector_of_int != *rhs_i_vector_of_int )
return false;
80 ++this_i_vector_of_int;
81 ++rhs_i_vector_of_int;
85 std::map< std::string, long >::const_iterator rhs_i_map_of_string_to_long = rhs.
m_map_of_string_to_long.begin();
87 if ( this_i_map_of_string_to_long->first != rhs_i_map_of_string_to_long->first ||
88 this_i_map_of_string_to_long->second != rhs_i_map_of_string_to_long->second )
return false;
89 ++this_i_map_of_string_to_long;
90 ++rhs_i_map_of_string_to_long;
93 std::set< unsigned short >::const_iterator this_i_set_of_ushort =
m_set_of_ushort.begin();
94 std::set< unsigned short >::const_iterator rhs_i_set_of_ushort = rhs.
m_set_of_ushort.begin();
96 if ( *this_i_set_of_ushort != *rhs_i_set_of_ushort )
return false;
97 ++this_i_set_of_ushort;
98 ++rhs_i_set_of_ushort;
107 return ( ( (*
this) == rhs ) ?
false :
true );