|
using | allocator_type = std::pmr::polymorphic_allocator<std::byte> |
|
|
template<typename U > |
static constexpr bool | isPrimitiveType () |
| Checks whether the given type is a primitive type.
|
|
|
std::filesystem::path | fileName_ |
|
std::filesystem::path | fileDir_ |
|
std::unique_ptr< TiXmlDocument > | doc_ |
|
TiXmlElement * | rootElement_ |
|
bool | retrieveChild_ |
|
◆ SerializeBase()
inviwo::SerializeBase::SerializeBase |
( |
const std::filesystem::path & | fileName, |
|
|
allocator_type | alloc = {} ) |
|
explicit |
Base class for Serializer and Deserializer.
This class consists of features that are common to both serializer and de-serializer.
- Parameters
-
fileName | full path to xml file (for reading or writing). |
◆ isPrimitiveType()
template<typename U >
static constexpr bool inviwo::SerializeBase::isPrimitiveType |
( |
| ) |
|
|
inlinestaticconstexpr |
Checks whether the given type is a primitive type.
return true if type is one of following type: bool, char, signed int, unsigned int, float, double, long double, std::string
- Template Parameters
-
U | the type to test std::string |
- Returns
- true or false
The documentation for this class was generated from the following file: