cxxtools::bin::Formatter Class Reference

#include <cxxtools/bin/formatter.h>

Inheritance diagram for cxxtools::bin::Formatter:
cxxtools::Formatter

Public Member Functions

 Formatter ()
 Formatter (std::ostream &out)
void begin (std::ostream &out)
void finish ()
virtual void addValueString (const std::string &name, const std::string &type, const cxxtools::String &value)
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)
virtual void finishArray ()
virtual void beginObject (const std::string &name, const std::string &type)
virtual void beginMember (const std::string &name)
virtual void finishMember ()
virtual void finishObject ()
- Public Member Functions inherited from cxxtools::Formatter
virtual ~Formatter ()

Additional Inherited Members

- Public Types inherited from cxxtools::Formatter
typedef long int_type
typedef unsigned long unsigned_type

Constructor & Destructor Documentation

cxxtools::bin::Formatter::Formatter ( )

Reimplemented from cxxtools::Formatter.

cxxtools::bin::Formatter::Formatter ( std::ostream &  out)
explicit

Member Function Documentation

virtual void cxxtools::bin::Formatter::addNull ( const std::string &  name,
const std::string &  type 
)
virtual

Reimplemented from cxxtools::Formatter.

virtual void cxxtools::bin::Formatter::addValueBool ( const std::string &  name,
const std::string &  type,
bool  value 
)
virtual

Reimplemented from cxxtools::Formatter.

virtual void cxxtools::bin::Formatter::addValueFloat ( const std::string &  name,
const std::string &  type,
long double  value 
)
virtual

Reimplemented from cxxtools::Formatter.

virtual void cxxtools::bin::Formatter::addValueInt ( const std::string &  name,
const std::string &  type,
int_type  value 
)
virtual

Reimplemented from cxxtools::Formatter.

virtual void cxxtools::bin::Formatter::addValueStdString ( const std::string &  name,
const std::string &  type,
const std::string &  value 
)
virtual

Reimplemented from cxxtools::Formatter.

virtual void cxxtools::bin::Formatter::addValueString ( const std::string &  name,
const std::string &  type,
const cxxtools::String value 
)
virtual

Implements cxxtools::Formatter.

virtual void cxxtools::bin::Formatter::addValueUnsigned ( const std::string &  name,
const std::string &  type,
unsigned_type  value 
)
virtual

Reimplemented from cxxtools::Formatter.

void cxxtools::bin::Formatter::begin ( std::ostream &  out)
virtual void cxxtools::bin::Formatter::beginArray ( const std::string &  name,
const std::string &  type 
)
virtual

Implements cxxtools::Formatter.

virtual void cxxtools::bin::Formatter::beginMember ( const std::string &  name)
virtual

Implements cxxtools::Formatter.

virtual void cxxtools::bin::Formatter::beginObject ( const std::string &  name,
const std::string &  type 
)
virtual

Implements cxxtools::Formatter.

void cxxtools::bin::Formatter::finish ( )
virtual

Implements cxxtools::Formatter.

virtual void cxxtools::bin::Formatter::finishArray ( )
virtual

Implements cxxtools::Formatter.

virtual void cxxtools::bin::Formatter::finishMember ( )
virtual

Implements cxxtools::Formatter.

virtual void cxxtools::bin::Formatter::finishObject ( )
virtual

Implements cxxtools::Formatter.


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