5 #ifndef TESTCLASSSIMPLECONTAINERS_H
6 #define TESTCLASSSIMPLECONTAINERS_H
80 os <<
" (" <<
i->first <<
"," <<
i->second <<
")";
84 for ( std::set< unsigned short >::const_iterator
i =
m_set_of_ushort.begin();
110 std::vector< int >::const_iterator this_i_vector_of_int =
m_vector_of_int.begin();
111 std::vector< int >::const_iterator rhs_i_vector_of_int = rhs.
m_vector_of_int.begin();
113 if ( *this_i_vector_of_int != *rhs_i_vector_of_int )
return false;
114 ++this_i_vector_of_int;
115 ++rhs_i_vector_of_int;
118 std::list< double >::const_iterator this_i_list_of_double =
m_list_of_double.begin();
119 std::list< double >::const_iterator rhs_i_list_of_double = rhs.
m_list_of_double.begin();
121 if ( *this_i_list_of_double != *rhs_i_list_of_double )
return false;
122 ++this_i_list_of_double;
123 ++rhs_i_list_of_double;
127 std::map< std::string, long >::const_iterator rhs_i_map_of_string_to_long = rhs.
m_map_of_string_to_long.begin();
129 if ( this_i_map_of_string_to_long->first != rhs_i_map_of_string_to_long->first ||
130 this_i_map_of_string_to_long->second != rhs_i_map_of_string_to_long->second )
return false;
131 ++this_i_map_of_string_to_long;
132 ++rhs_i_map_of_string_to_long;
135 std::set< unsigned short >::const_iterator this_i_set_of_ushort =
m_set_of_ushort.begin();
136 std::set< unsigned short >::const_iterator rhs_i_set_of_ushort = rhs.
m_set_of_ushort.begin();
138 if ( *this_i_set_of_ushort != *rhs_i_set_of_ushort )
return false;
139 ++this_i_set_of_ushort;
140 ++rhs_i_set_of_ushort;
143 std::deque< float >::const_iterator this_i_deque_of_float =
m_deque_of_float.begin();
144 std::deque< float >::const_iterator rhs_i_deque_of_float = rhs.
m_deque_of_float.begin();
146 if ( *this_i_deque_of_float != *rhs_i_deque_of_float )
return false;
147 ++this_i_deque_of_float;
148 ++rhs_i_deque_of_float;
157 return ( ( (*
this) == rhs ) ?
false :
true );