Torc  0.1
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
TorcSerialiser Class Referenceabstract

#include <torcserialiser.h>

Inheritance diagram for TorcSerialiser:
[legend]

Public Member Functions

 TorcSerialiser ()=default
 
virtual ~TorcSerialiser ()=default
 
void Serialise (QByteArray &Dest, const QVariant &Data, const QString &Type=QString())
 
virtual HTTPResponseType ResponseType (void)=0
 

Static Public Member Functions

static TorcSerialiserGetSerialiser (const QString &MimeType)
 

Protected Member Functions

virtual void Prepare (QByteArray &Dest)=0
 
virtual void Begin (QByteArray &Dest)=0
 
virtual void AddProperty (QByteArray &Dest, const QString &Name, const QVariant &Value)=0
 
virtual void End (QByteArray &Dest)=0
 

Detailed Description

Definition at line 15 of file torcserialiser.h.

Constructor & Destructor Documentation

TorcSerialiser::TorcSerialiser ( )
default
virtual TorcSerialiser::~TorcSerialiser ( )
virtualdefault

Member Function Documentation

virtual void TorcSerialiser::AddProperty ( QByteArray &  Dest,
const QString &  Name,
const QVariant &  Value 
)
protectedpure virtual
virtual void TorcSerialiser::Begin ( QByteArray &  Dest)
protectedpure virtual
virtual void TorcSerialiser::End ( QByteArray &  Dest)
protectedpure virtual
TorcSerialiser * TorcSerialiser::GetSerialiser ( const QString &  MimeType)
static

Definition at line 28 of file torcserialiser.cpp.

virtual void TorcSerialiser::Prepare ( QByteArray &  Dest)
protectedpure virtual
virtual HTTPResponseType TorcSerialiser::ResponseType ( void  )
pure virtual
void TorcSerialiser::Serialise ( QByteArray &  Dest,
const QVariant &  Data,
const QString &  Type = QString() 
)

Definition at line 78 of file torcserialiser.cpp.


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