Public Member Functions | Private Member Functions | Private Attributes
YAML_PM::Emitter Class Reference

#include <emitter.h>

Inheritance diagram for YAML_PM::Emitter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

const char * c_str () const
 Emitter ()
const std::string GetLastError () const
bool good () const
bool SetBoolFormat (EMITTER_MANIP value)
bool SetDoublePrecision (unsigned n)
bool SetFloatPrecision (unsigned n)
bool SetIndent (unsigned n)
bool SetIntBase (EMITTER_MANIP value)
EmitterSetLocalIndent (const _Indent &indent)
EmitterSetLocalPrecision (const _Precision &precision)
EmitterSetLocalValue (EMITTER_MANIP value)
bool SetMapFormat (EMITTER_MANIP value)
bool SetOutputCharset (EMITTER_MANIP value)
bool SetPostCommentIndent (unsigned n)
bool SetPreCommentIndent (unsigned n)
bool SetSeqFormat (EMITTER_MANIP value)
bool SetStringFormat (EMITTER_MANIP value)
unsigned size () const
EmitterWrite (const std::string &str)
EmitterWrite (bool b)
EmitterWrite (char ch)
EmitterWrite (const _Alias &alias)
EmitterWrite (const _Anchor &anchor)
EmitterWrite (const _Tag &tag)
EmitterWrite (const _Comment &comment)
EmitterWrite (const _Null &null)
EmitterWrite (const Binary &binary)
template<typename T >
EmitterWriteIntegralType (T value)
template<typename T >
EmitterWriteStreamable (T value)
 ~Emitter ()

Private Member Functions

bool CanEmitNewline () const
const char * ComputeFullBoolName (bool b) const
void EmitBeginDoc ()
void EmitBeginMap ()
void EmitBeginSeq ()
void EmitEndDoc ()
void EmitEndMap ()
void EmitEndSeq ()
void EmitKey ()
void EmitKindTag ()
void EmitNewline ()
void EmitSeparationIfNecessary ()
void EmitTag (bool verbatim, const _Tag &tag)
void EmitValue ()
unsigned GetDoublePrecision () const
unsigned GetFloatPrecision () const
bool GotoNextPreAtomicState ()
void PostAtomicWrite ()
void PostWriteIntegralType (const std::stringstream &str)
void PostWriteStreamable (const std::stringstream &str)
void PreAtomicWrite ()
void PreWriteIntegralType (std::stringstream &str)
void PreWriteStreamable (std::stringstream &str)
template<typename T >
void SetStreamablePrecision (std::stringstream &)

Private Attributes

std::auto_ptr< EmitterStatem_pState
ostream m_stream

Detailed Description

Definition at line 23 of file emitter.h.


Constructor & Destructor Documentation

Definition at line 10 of file emitter.cpp.

Definition at line 14 of file emitter.cpp.


Member Function Documentation

const char * YAML_PM::Emitter::c_str ( ) const

Definition at line 18 of file emitter.cpp.

bool YAML_PM::Emitter::CanEmitNewline ( ) const [private]

Definition at line 605 of file emitter.cpp.

const char * YAML_PM::Emitter::ComputeFullBoolName ( bool  b) const [private]

Definition at line 713 of file emitter.cpp.

void YAML_PM::Emitter::EmitBeginDoc ( ) [private]

Definition at line 351 of file emitter.cpp.

void YAML_PM::Emitter::EmitBeginMap ( ) [private]

Definition at line 462 of file emitter.cpp.

void YAML_PM::Emitter::EmitBeginSeq ( ) [private]

Definition at line 392 of file emitter.cpp.

void YAML_PM::Emitter::EmitEndDoc ( ) [private]

Definition at line 371 of file emitter.cpp.

void YAML_PM::Emitter::EmitEndMap ( ) [private]

Definition at line 496 of file emitter.cpp.

void YAML_PM::Emitter::EmitEndSeq ( ) [private]

Definition at line 426 of file emitter.cpp.

void YAML_PM::Emitter::EmitKey ( ) [private]

Definition at line 532 of file emitter.cpp.

void YAML_PM::Emitter::EmitKindTag ( ) [private]

Definition at line 837 of file emitter.cpp.

void YAML_PM::Emitter::EmitNewline ( ) [private]

Definition at line 594 of file emitter.cpp.

Definition at line 338 of file emitter.cpp.

void YAML_PM::Emitter::EmitTag ( bool  verbatim,
const _Tag tag 
) [private]
void YAML_PM::Emitter::EmitValue ( ) [private]

Definition at line 569 of file emitter.cpp.

unsigned YAML_PM::Emitter::GetDoublePrecision ( ) const [private]

Definition at line 696 of file emitter.cpp.

unsigned YAML_PM::Emitter::GetFloatPrecision ( ) const [private]

Definition at line 691 of file emitter.cpp.

const std::string YAML_PM::Emitter::GetLastError ( ) const

Definition at line 34 of file emitter.cpp.

bool YAML_PM::Emitter::good ( ) const

Definition at line 29 of file emitter.cpp.

Definition at line 169 of file emitter.cpp.

Definition at line 289 of file emitter.cpp.

void YAML_PM::Emitter::PostWriteIntegralType ( const std::stringstream &  str) [private]

Definition at line 701 of file emitter.cpp.

void YAML_PM::Emitter::PostWriteStreamable ( const std::stringstream &  str) [private]

Definition at line 707 of file emitter.cpp.

Definition at line 278 of file emitter.cpp.

void YAML_PM::Emitter::PreWriteIntegralType ( std::stringstream &  str) [private]

Definition at line 662 of file emitter.cpp.

void YAML_PM::Emitter::PreWriteStreamable ( std::stringstream &  str) [private]

Definition at line 685 of file emitter.cpp.

Definition at line 50 of file emitter.cpp.

Definition at line 102 of file emitter.cpp.

Definition at line 97 of file emitter.cpp.

bool YAML_PM::Emitter::SetIndent ( unsigned  n)

Definition at line 82 of file emitter.cpp.

Definition at line 62 of file emitter.cpp.

Definition at line 152 of file emitter.cpp.

Definition at line 158 of file emitter.cpp.

Definition at line 109 of file emitter.cpp.

Definition at line 72 of file emitter.cpp.

Definition at line 40 of file emitter.cpp.

Definition at line 92 of file emitter.cpp.

Definition at line 87 of file emitter.cpp.

Definition at line 67 of file emitter.cpp.

void YAML_PM::Emitter::SetStreamablePrecision< double > ( std::stringstream &  str) [inline, private]

Definition at line 78 of file emitter.h.

Definition at line 45 of file emitter.cpp.

unsigned YAML_PM::Emitter::size ( ) const

Definition at line 23 of file emitter.cpp.

Emitter & YAML_PM::Emitter::Write ( const std::string &  str)

Definition at line 618 of file emitter.cpp.

Definition at line 748 of file emitter.cpp.

Definition at line 766 of file emitter.cpp.

Emitter & YAML_PM::Emitter::Write ( const _Alias alias)

Definition at line 780 of file emitter.cpp.

Emitter & YAML_PM::Emitter::Write ( const _Anchor anchor)

Definition at line 795 of file emitter.cpp.

Emitter & YAML_PM::Emitter::Write ( const _Tag tag)

Definition at line 811 of file emitter.cpp.

Emitter & YAML_PM::Emitter::Write ( const _Comment comment)

Definition at line 842 of file emitter.cpp.

Emitter & YAML_PM::Emitter::Write ( const _Null null)

Definition at line 856 of file emitter.cpp.

Emitter & YAML_PM::Emitter::Write ( const Binary binary)

Definition at line 868 of file emitter.cpp.

template<typename T >
Emitter & YAML_PM::Emitter::WriteIntegralType ( value) [inline]

Definition at line 109 of file emitter.h.

template<typename T >
Emitter & YAML_PM::Emitter::WriteStreamable ( value) [inline]

Definition at line 122 of file emitter.h.


Member Data Documentation

std::auto_ptr<EmitterState> YAML_PM::Emitter::m_pState [private]

Definition at line 105 of file emitter.h.

Definition at line 104 of file emitter.h.


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


libpointmatcher
Author(s):
autogenerated on Thu Jun 20 2019 19:51:35