|
static std::string | nodeToString (const TxElement &node) |
|
|
std::string | fileName_ |
|
TxDocument | doc_ |
|
TxElement * | rootElement_ |
|
bool | allowRef_ |
|
bool | retrieveChild_ |
|
ReferenceDataContainer | refDataContainer_ |
|
◆ SerializeBase() [1/3]
inviwo::SerializeBase::SerializeBase |
( |
bool |
allowReference = true | ) |
|
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
-
allowReference | disables or enables reference management schemes. |
◆ SerializeBase() [2/3]
inviwo::SerializeBase::SerializeBase |
( |
std::string |
fileName, |
|
|
bool |
allowReference = true |
|
) |
| |
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). |
allowReference | disables or enables reference management schemes. |
◆ SerializeBase() [3/3]
inviwo::SerializeBase::SerializeBase |
( |
std::istream & |
stream, |
|
|
const std::string & |
path, |
|
|
bool |
allowReference = true |
|
) |
| |
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. |
allowReference | disables or enables reference management schemes. |
◆ isPrimitiveType()
bool inviwo::SerializeBase::isPrimitiveType |
( |
const std::type_info & |
type | ) |
const |
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
- Parameters
-
type | can be one of bool, char, signed int, unsigned int, float, double, long double, std::string |
- Returns
- true or false
The documentation for this class was generated from the following files:
- serializebase.h
- serializebase.cpp