15 #ifndef __ADIOSUtilities_h 
   16 #define __ADIOSUtilities_h 
   26 #include <adios_types.h> 
   43   static void TestEq(
const T& expected, 
const T& actual,
 
   46     if(actual != expected)
 
   56   static void TestNe(
const T& notExpected, 
const T& actual,
 
   59     if(actual == notExpected)
 
   78   static void TestEq(
const T& expected, 
const T& actual,
 
   81     if(actual != expected)
 
   91   static void TestNe(
const T& notExpected, 
const T& actual,
 
   94     if(actual == notExpected)
 
  106 template<
size_t S> ADIOS_DATATYPES 
SizeToInt();
 
  114 template<
size_t S> ADIOS_DATATYPES 
SizeToUInt();
 
  122 template<
typename TN>
 
  134 template<> ADIOS_DATATYPES NativeToADIOS<std::complex<float> >();
 
  135 template<> ADIOS_DATATYPES NativeToADIOS<std::complex<double> >();
 
  136 template<> ADIOS_DATATYPES NativeToADIOS<std::string>();
 
  140 size_t SizeOf(ADIOS_DATATYPES ta);
 
  144 bool IsInt(ADIOS_DATATYPES ta);
 
ADIOS_DATATYPES SizeToInt< 1 >()
 
ADIOS_DATATYPES NativeToADIOS< int8_t >()
 
ADIOS_DATATYPES SizeToInt< 2 >()
 
bool IsInt(ADIOS_DATATYPES ta)
 
ADIOS_DATATYPES SizeToUInt< 8 >()
 
ADIOS_DATATYPES NativeToADIOS< uint8_t >()
 
ADIOS_DATATYPES SizeToInt()
 
static void TestNe(const T ¬Expected, const T &actual, const std::string &msg="")
 
ADIOS_DATATYPES NativeToADIOS< int64_t >()
 
WriteError(const std::string &msg="")
 
static void TestNe(const T ¬Expected, const T &actual, const std::string &msg="")
 
ReadError(const std::string &msg="")
 
ADIOS_DATATYPES NativeToADIOS< double >()
 
static void TestEq(const T &expected, const T &actual, const std::string &msg="")
 
ADIOS_DATATYPES SizeToInt< 4 >()
 
ADIOS_DATATYPES NativeToADIOS< uint32_t >()
 
ADIOS_DATATYPES SizeToUInt< 2 >()
 
ADIOS_DATATYPES NativeToADIOS< float >()
 
ADIOS_DATATYPES SizeToUInt()
 
ADIOS_DATATYPES NativeToADIOS< uint64_t >()
 
ADIOS_DATATYPES NativeToADIOS< int32_t >()
 
ADIOS_DATATYPES NativeToADIOS< uint16_t >()
 
ADIOS_DATATYPES SizeToUInt< 1 >()
 
static void TestEq(const T &expected, const T &actual, const std::string &msg="")
 
ADIOS_DATATYPES SizeToInt< 8 >()
 
ADIOS_DATATYPES SizeToUInt< 4 >()
 
ADIOS_DATATYPES NativeToADIOS< int16_t >()
 
size_t SizeOf(ADIOS_DATATYPES ta)
 
ADIOS_DATATYPES NativeToADIOS()