cocos2d-x  3.0-rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PrettyPrinter Class Reference

#include <CCDataVisitor.h>

Inheritance diagram for PrettyPrinter:
DataVisitor

Public Member Functions

 PrettyPrinter (int indentLevel=0)
virtual void clear ()
virtual std::string getResult ()
virtual void visitObject (const Ref *p)
 default method, called from non-overloaded methods and for unrecognized objects More...
 
virtual void visit (const __Bool *p)
virtual void visit (const __Integer *p)
virtual void visit (const __Float *p)
virtual void visit (const __Double *p)
virtual void visit (const __String *p)
virtual void visit (const __Array *p)
virtual void visit (const __Dictionary *p)
virtual void visit (const __Set *p)
- Public Member Functions inherited from DataVisitor
virtual ~DataVisitor ()

Constructor & Destructor Documentation

PrettyPrinter ( int  indentLevel = 0)

Member Function Documentation

virtual void clear ( )
virtual
virtual std::string getResult ( )
virtual
virtual void visit ( const __Bool p)
virtual

Reimplemented from DataVisitor.

virtual void visit ( const __Integer p)
virtual

Reimplemented from DataVisitor.

virtual void visit ( const __Float p)
virtual

Reimplemented from DataVisitor.

virtual void visit ( const __Double p)
virtual

Reimplemented from DataVisitor.

virtual void visit ( const __String p)
virtual

Reimplemented from DataVisitor.

virtual void visit ( const __Array p)
virtual

Reimplemented from DataVisitor.

virtual void visit ( const __Dictionary p)
virtual

Reimplemented from DataVisitor.

virtual void visit ( const __Set p)
virtual

Reimplemented from DataVisitor.

virtual void visitObject ( const Ref p)
virtual

default method, called from non-overloaded methods and for unrecognized objects

Implements DataVisitor.


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