|
| Deserializer (const std::filesystem::path &fileName) |
| Deserialize content from a file.
|
|
| Deserializer (std::istream &stream, const std::filesystem::path &refPath) |
| Deserialize content from a stream.
|
|
| Deserializer (const Deserializer &)=delete |
|
| Deserializer (Deserializer &&)=default |
|
Deserializer & | operator= (const Deserializer &that)=delete |
|
Deserializer & | operator= (Deserializer &&that)=default |
|
template<typename T > |
void | deserialize (std::string_view key, std::vector< T * > &sVector, std::string_view itemKey="item") |
| Deserialize a vector.
|
|
template<typename T , typename C > |
void | deserialize (std::string_view key, std::vector< T * > &sVector, std::string_view itemKey, C identifier) |
|
template<typename T > |
void | deserialize (std::string_view key, std::vector< T > &sVector, std::string_view itemKey="item") |
|
template<typename T > |
void | deserialize (std::string_view key, std::unordered_set< T > &sSet, std::string_view itemKey="item") |
|
template<typename T > |
void | deserialize (std::string_view key, std::vector< std::unique_ptr< T > > &vector, std::string_view itemKey="item") |
|
template<typename T > |
void | deserialize (std::string_view key, std::list< T > &sContainer, std::string_view itemKey="item") |
|
template<typename T , size_t N> |
void | deserialize (std::string_view key, std::array< T, N > &sContainer, std::string_view itemKey="item") |
|
template<typename K , typename V , typename C , typename A > |
void | deserialize (std::string_view key, std::map< K, V, C, A > &sMap, std::string_view itemKey="item", std::string_view comparisonAttribute=SerializeConstants::KeyAttribute) |
| Deserialize a map.
|
|
template<typename K , typename V , typename C , typename A > |
void | deserialize (std::string_view key, std::map< K, V *, C, A > &sMap, std::string_view itemKey="item", std::string_view comparisonAttribute=SerializeConstants::KeyAttribute) |
|
template<typename K , typename V , typename C , typename A > |
void | deserialize (std::string_view key, std::map< K, std::unique_ptr< V >, C, A > &sMap, std::string_view itemKey="item", std::string_view comparisonAttribute=SerializeConstants::KeyAttribute) |
|
template<typename K , typename V , typename H , typename C , typename A > |
void | deserialize (std::string_view key, std::unordered_map< K, V, H, C, A > &map, std::string_view itemKey="item", std::string_view comparisonAttribute=SerializeConstants::KeyAttribute) |
|
template<typename T , typename ValueGetter , typename IdGetter > |
void | deserialize (std::string_view key, ContainerWrapper< T, ValueGetter, IdGetter > &container) |
|
void | deserialize (std::string_view key, signed char &data, const SerializationTarget &target=SerializationTarget::Node) |
|
void | deserialize (std::string_view key, char &data, const SerializationTarget &target=SerializationTarget::Node) |
|
void | deserialize (std::string_view key, unsigned char &data, const SerializationTarget &target=SerializationTarget::Node) |
|
template<typename T , typename std::enable_if< std::is_integral< T >::value||util::is_floating_point< T >::value||util::is_string< T >::value, int >::type = 0> |
void | deserialize (std::string_view key, T &data, const SerializationTarget &target=SerializationTarget::Node) |
|
template<typename T , typename std::enable_if< std::is_enum< T >::value, int >::type = 0> |
void | deserialize (std::string_view key, T &data, const SerializationTarget &target=SerializationTarget::Node) |
|
template<typename T > |
void | deserialize (std::string_view key, flags::flags< T > &data, const SerializationTarget &target=SerializationTarget::Node) |
|
template<typename Vec , typename std::enable_if< util::rank< Vec >::value==1, int >::type = 0> |
void | deserialize (std::string_view key, Vec &data) |
|
template<typename Mat , typename std::enable_if< util::rank< Mat >::value==2, int >::type = 0> |
void | deserialize (std::string_view key, Mat &data) |
|
template<size_t N> |
void | deserialize (std::string_view key, std::bitset< N > &bits) |
|
void | deserialize (std::string_view key, std::filesystem::path &path, const SerializationTarget &target=SerializationTarget::Node) |
|
void | deserialize (std::string_view key, Serializable &sObj) |
| Deserialize any Serializable object.
|
|
template<class T > |
void | deserialize (std::string_view key, T *&data) |
| Deserialize pointer data of type T, which is of type serializable object or primitive data.
|
|
template<class Base , class T > |
void | deserializeAs (std::string_view key, T *&data) |
|
template<class T > |
void | deserialize (std::string_view key, std::unique_ptr< T > &data) |
|
template<class T > |
void | deserialize (std::string_view key, std::shared_ptr< T > &data) |
|
template<class Base , class T > |
void | deserializeAs (std::string_view key, std::unique_ptr< T > &data) |
|
template<typename T , typename = std::enable_if_t<util::is_detected_exact_v<void, HasDeserialize, T>>> |
void | deserialize (std::string_view key, T &sObj) |
|
void | setExceptionHandler (ExceptionHandler handler) |
|
void | handleError (const ExceptionContext &context) |
|
void | convertVersion (VersionConverter *converter) |
|
template<typename T > |
T * | getRegisteredType (std::string_view className) |
| For allocating objects such as processors, properties.. using registered factories.
|
|
template<typename T > |
T * | getNonRegisteredType () |
| For allocating objects that do not belong to any registered factories.
|
|
void | registerFactory (FactoryBase *factory) |
|
int | getInviwoWorkspaceVersion () const |
|
| SerializeBase () |
| Base class for Serializer and Deserializer.
|
|
| SerializeBase (const std::filesystem::path &fileName) |
| Base class for Serializer and Deserializer.
|
|
| SerializeBase (std::istream &stream, const std::filesystem::path &path) |
| Base class for Serializer and Deserializer.
|
|
| SerializeBase (const SerializeBase &rhs)=delete |
|
| SerializeBase (SerializeBase &&rhs) noexcept |
|
SerializeBase & | operator= (const SerializeBase &)=delete |
|
SerializeBase & | operator= (SerializeBase &&) noexcept |
|
virtual const std::filesystem::path & | getFileName () const |
| gets the xml file name.
|
|
| LogFilter (Logger *logger=LogCentral::getPtr()) |
|
| LogFilter (Logger *logger, LogVerbosity verbosity) |
|
| LogFilter (const LogFilter &)=default |
|
| LogFilter (LogFilter &&) noexcept=default |
|
LogFilter & | operator= (const LogFilter &)=default |
|
LogFilter & | operator= (LogFilter &&) noexcept=default |
|
void | setVerbosity (LogVerbosity verbosity) |
|
LogVerbosity | getVerbosity () |
|
void | setLogger (Logger *logger) |
|
Logger * | getLogger () const |
|
virtual void | log (std::string_view logSource, LogLevel level, LogAudience audience, std::string_view file, std::string_view function, int line, std::string_view msg) override |
|
virtual void | logProcessor (Processor *processor, LogLevel level, LogAudience audience, std::string_view msg, std::string_view file, std::string_view function, int line) override |
|
virtual void | logNetwork (LogLevel level, LogAudience audience, std::string_view msg, std::string_view file, std::string_view function, int line) override |
|
virtual void | logAssertion (std::string_view file, std::string_view function, int line, std::string_view msg) |
|