Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros
Stokhos_StorageHelpers.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define STOKHOS_STORAGE_HELPER_STRINGNAME_DYNAMIC(__storagename__)
 
#define STOKHOS_STORAGE_HELPER_STRINGNAME_STATIC(__storagename__)
 

Macro Definition Documentation

#define STOKHOS_STORAGE_HELPER_STRINGNAME_DYNAMIC (   __storagename__)
Value:
namespace Sacado \
{ \
template <typename ordinal_t, typename value_t, typename device_t> \
struct StringName<Stokhos::__storagename__<ordinal_t, \
value_t, \
device_t>> \
{ \
static std::string eval() \
{ \
std::stringstream ss; \
ss << "Stokhos::" #__storagename__ "<" \
<< StringName<ordinal_t>::eval() << "," \
<< StringName<value_t>::eval() << "," \
<< StringName<device_t>::eval() << ">"; \
return ss.str(); \
} \
}; \
}

Definition at line 13 of file Stokhos_StorageHelpers.hpp.

#define STOKHOS_STORAGE_HELPER_STRINGNAME_STATIC (   __storagename__)
Value:
namespace Sacado \
{ \
template <typename ordinal_t, typename value_t, int Num, typename device_t> \
struct StringName<Stokhos::__storagename__<ordinal_t, \
value_t, \
Num, \
device_t>> \
{ \
static std::string eval() \
{ \
std::stringstream ss; \
ss << "Stokhos::" #__storagename__ "<" \
<< StringName<ordinal_t>::eval() << "," \
<< StringName<value_t>::eval() << "," \
<< Num << "," \
<< StringName<device_t>::eval() << ">"; \
return ss.str(); \
} \
}; \
}

Definition at line 33 of file Stokhos_StorageHelpers.hpp.