Emergency 2017 Dokumentation  v3.0.1
qsf::TsTranslatorSerializer Class Reference

Qt XML ts translator serializer. More...

#include <TsTranslatorSerializer.h>

Public Member Functions

 TsTranslatorSerializer ()
 Default constructor. More...
 
 ~TsTranslatorSerializer ()
 Destructor. More...
 
virtual void deserialize (Translator &translator, std::istream &istream) const override
 Deserialize a translator by using a given input stream. More...
 
virtual void serialize (Translator &translator, std::ostream &ostream) const override
 Serialize the translator into a given output stream. More...
 

Additional Inherited Members

- Protected Member Functions inherited from qsf::Serializer
 Serializer ()
 Default constructor. More...
 
virtual ~Serializer ()
 Destructor. More...
 

Detailed Description

Qt XML ts translator serializer.

Todo:
  • TODO(co) Currently only a subset of the TS file format is supported

Definition at line 47 of file TsTranslatorSerializer.h.

Constructor & Destructor Documentation

qsf::TsTranslatorSerializer::TsTranslatorSerializer ( )
inline

Default constructor.

Definition at line 14 of file TsTranslatorSerializer-inl.h.

qsf::TsTranslatorSerializer::~TsTranslatorSerializer ( )
inline

Destructor.

Note
  • Not virtual by intent

Definition at line 19 of file TsTranslatorSerializer-inl.h.

Member Function Documentation

virtual void qsf::TsTranslatorSerializer::deserialize ( Translator translator,
std::istream &  istream 
) const
overridevirtual

Deserialize a translator by using a given input stream.

Parameters
[in]translatorTranslator instance to fill
[in]istreamInput stream to deserialize the translator from
Exceptions
Throws"std::exception" in case on an error

Implements qsf::TranslatorSerializer.

virtual void qsf::TsTranslatorSerializer::serialize ( Translator translator,
std::ostream &  ostream 
) const
overridevirtual

Serialize the translator into a given output stream.

Parameters
[in]translatorTranslator instance to serialize
[in]ostreamOutput stream to serialize the translator into
Exceptions
Throws"std::exception" in case on an error

Implements qsf::TranslatorSerializer.


The documentation for this class was generated from the following files: