|
template<typename U > |
static constexpr bool | isPrimitiveType () |
| Checks whether the given type is a primitive type.
|
|
static std::string | nodeToString (const TxElement &node) |
|
|
std::filesystem::path | fileName_ |
|
std::unique_ptr< TxDocument > | doc_ |
|
TxElement * | rootElement_ |
|
bool | retrieveChild_ |
|
◆ SerializeBase() [1/3]
inviwo::SerializeBase::SerializeBase |
( |
| ) |
|
Base class for Serializer and Deserializer.
This class consists of features that are common to both serializer and de-serializer. Some of them are reference data manager, (ticpp::Node) node switch and factory registration.
◆ SerializeBase() [2/3]
inviwo::SerializeBase::SerializeBase |
( |
const std::filesystem::path & | fileName | ) |
|
Base class for Serializer and Deserializer.
This class consists of features that are common to both serializer and de-serializer. Some of them are reference data manager, (ticpp::Node) node switch and factory registration.
- Parameters
-
fileName | full path to xml file (for reading or writing). |
◆ SerializeBase() [3/3]
inviwo::SerializeBase::SerializeBase |
( |
std::istream & | stream, |
|
|
const std::filesystem::path & | path ) |
Base class for Serializer and Deserializer.
This class consists of features that are common to both serializer and de-serializer. Some of them are reference data manager, (ticpp::Node) node switch and factory registration.
- Parameters
-
stream | containing all xml data (for reading). |
path | A path that will be used to decode the location of data during deserialization. |
◆ 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: