#include <cxxtools/formatter.h>

Inheritance diagram for cxxtools::Formatter:
cxxtools::bin::Formatter cxxtools::CsvFormatter cxxtools::JsonFormatter cxxtools::xml::XmlFormatter cxxtools::xmlrpc::Formatter

Public Types

typedef long int_type
typedef unsigned long unsigned_type

Public Member Functions

virtual ~Formatter ()
virtual void addValueString (const std::string &name, const std::string &type, const cxxtools::String &value)=0
virtual void addValueStdString (const std::string &name, const std::string &type, const std::string &value)
virtual void addValueBool (const std::string &name, const std::string &type, bool value)
virtual void addValueInt (const std::string &name, const std::string &type, int_type value)
virtual void addValueUnsigned (const std::string &name, const std::string &type, unsigned_type value)
virtual void addValueFloat (const std::string &name, const std::string &type, long double value)
virtual void addNull (const std::string &name, const std::string &type)
virtual void beginArray (const std::string &name, const std::string &type)=0
virtual void finishArray ()=0
virtual void beginObject (const std::string &name, const std::string &type)=0
virtual void beginMember (const std::string &name)=0
virtual void finishMember ()=0
virtual void finishObject ()=0
virtual void finish ()=0

Protected Member Functions

 Formatter ()

Member Typedef Documentation

typedef unsigned long cxxtools::Formatter::unsigned_type

Constructor & Destructor Documentation

virtual cxxtools::Formatter::~Formatter ( )
inlinevirtual
cxxtools::Formatter::Formatter ( )
inlineprotected

Reimplemented in cxxtools::bin::Formatter.

Member Function Documentation

virtual void cxxtools::Formatter::addNull ( const std::string &  name,
const std::string &  type 
)
virtual
virtual void cxxtools::Formatter::addValueBool ( const std::string &  name,
const std::string &  type,
bool  value 
)
virtual
virtual void cxxtools::Formatter::addValueFloat ( const std::string &  name,
const std::string &  type,
long double  value 
)
virtual
virtual void cxxtools::Formatter::addValueInt ( const std::string &  name,
const std::string &  type,
int_type  value 
)
virtual
virtual void cxxtools::Formatter::addValueStdString ( const std::string &  name,
const std::string &  type,
const std::string &  value 
)
virtual
virtual void cxxtools::Formatter::addValueString ( const std::string &  name,
const std::string &  type,
const cxxtools::String value 
)
pure virtual
virtual void cxxtools::Formatter::addValueUnsigned ( const std::string &  name,
const std::string &  type,
unsigned_type  value 
)
virtual
virtual void cxxtools::Formatter::beginArray ( const std::string &  name,
const std::string &  type 
)
pure virtual
virtual void cxxtools::Formatter::beginMember ( const std::string &  name)
pure virtual
virtual void cxxtools::Formatter::beginObject ( const std::string &  name,
const std::string &  type 
)
pure virtual
virtual void cxxtools::Formatter::finish ( )
pure virtual
virtual void cxxtools::Formatter::finishArray ( )
pure virtual
virtual void cxxtools::Formatter::finishMember ( )
pure virtual
virtual void cxxtools::Formatter::finishObject ( )
pure virtual

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