![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
Public Types | |
| using | allocator_type = std::pmr::polymorphic_allocator<std::byte> |
Public Member Functions | |
| TiXmlDocument & | doc () |
| allocator_type | getAllocator () const |
| const std::filesystem::path & | getFileDir () const |
| Gets the workspace file directory. | |
| const std::filesystem::path & | getFileName () const |
| Gets the workspace file name. | |
| SerializeBase & | operator= (const SerializeBase &)=delete |
| SerializeBase & | operator= (SerializeBase &&) noexcept |
| SerializeBase (const SerializeBase &rhs)=delete | |
| SerializeBase (const std::filesystem::path &fileName, allocator_type alloc={}) | |
| Base class for Serializer and Deserializer. | |
| SerializeBase (SerializeBase &&rhs) noexcept | |
Static Public Member Functions | |
| template<typename U> | |
| static constexpr bool | isPrimitiveType () |
| Checks whether the given type is a primitive type. | |
Protected Attributes | |
| std::unique_ptr< TiXmlDocument > | doc_ |
| std::filesystem::path | fileDir_ |
| std::filesystem::path | fileName_ |
| bool | retrieveChild_ |
| TiXmlElement * | rootElement_ |
Friends | |
| class | NodeSwitch |
|
explicit |
Base class for Serializer and Deserializer.
This class consists of features that are common to both serializer and de-serializer.
| fileName | full path to xml file (for reading or writing). |
| alloc | Allocator to use for memory resources. |
|
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
| U | the type to test std::string |