Torc  0.1
torcplaintextserialiser.h
Go to the documentation of this file.
1 #ifndef TORCPLAINTEXTSERIALISER_H
2 #define TORCPLAINTEXTSERIALISER_H
3 
4 // Torc
5 #include "torcserialiser.h"
6 
8 {
9  public:
11  ~TorcPlainTextSerialiser() = default;
12 
13  HTTPResponseType ResponseType (void) override;
14 
15  protected:
16  void Prepare (QByteArray &) override;
17  void Begin (QByteArray &) override;
18  void AddProperty (QByteArray &Dest, const QString &Name, const QVariant &Value) override;
19  void End (QByteArray &) override;
20 
21  private:
22  Q_DISABLE_COPY(TorcPlainTextSerialiser)
23 };
24 
25 #endif // TORCPLAINTEXTSERIALISER_H
~TorcPlainTextSerialiser()=default
void Prepare(QByteArray &) override
void AddProperty(QByteArray &Dest, const QString &Name, const QVariant &Value) override
HTTPResponseType
HTTPResponseType ResponseType(void) override
void End(QByteArray &) override
void Begin(QByteArray &) override