Back to index

salome-med  6.5.0
Static Public Member Functions
CppUnit::assertion_traits< MEDMEM::VEC_DT_IT_ > Struct Template Reference

List of all members.

Static Public Member Functions

static bool equal (MEDMEM::VEC_DT_IT_ x, MEDMEM::VEC_DT_IT_ y)
static std::string toString (const MEDMEM::VEC_DT_IT_ &x)

Detailed Description

template<>
struct CppUnit::assertion_traits< MEDMEM::VEC_DT_IT_ >

Definition at line 89 of file MEDMEMTest_MedFileBrowser.cxx.


Member Function Documentation

static bool CppUnit::assertion_traits< MEDMEM::VEC_DT_IT_ >::equal ( MEDMEM::VEC_DT_IT_  x,
MEDMEM::VEC_DT_IT_  y 
) [inline, static]

Definition at line 91 of file MEDMEMTest_MedFileBrowser.cxx.

    {
      return x.size() == y.size() && std::equal(x.begin(),x.end(), y.begin(), EQ_DT_IT_());
    }
static std::string CppUnit::assertion_traits< MEDMEM::VEC_DT_IT_ >::toString ( const MEDMEM::VEC_DT_IT_ x) [inline, static]

Definition at line 96 of file MEDMEMTest_MedFileBrowser.cxx.

    {
      MEDMEM::STRING ost("{ ");
      for ( unsigned i = 0; i < x.size(); ++i )
        ost << "{ " << x[i].dt << ", " << x[i].it << " }" << ( i+1==x.size() ? " " : ", ");
      return ost << "}";
    }

The documentation for this struct was generated from the following file: