Public Member Functions | Private Member Functions | Private Attributes | List of all members
YAML_PM::Emitter Class Reference

#include <emitter.h>

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

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 &)
 
template<>
void SetStreamablePrecision (std::stringstream &str)
 
template<>
void SetStreamablePrecision (std::stringstream &str)
 
- Private Member Functions inherited from YAML_PM::noncopyable
 noncopyable ()
 
 ~noncopyable ()
 

Private Attributes

std::auto_ptr< EmitterStatem_pState
 
ostream m_stream
 

Detailed Description

Definition at line 23 of file emitter.h.

Constructor & Destructor Documentation

◆ Emitter()

YAML_PM::Emitter::Emitter ( )

Definition at line 10 of file emitter.cpp.

◆ ~Emitter()

YAML_PM::Emitter::~Emitter ( )

Definition at line 14 of file emitter.cpp.

Member Function Documentation

◆ c_str()

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

Definition at line 18 of file emitter.cpp.

◆ CanEmitNewline()

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

Definition at line 605 of file emitter.cpp.

◆ ComputeFullBoolName()

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

Definition at line 713 of file emitter.cpp.

◆ EmitBeginDoc()

void YAML_PM::Emitter::EmitBeginDoc ( )
private

Definition at line 351 of file emitter.cpp.

◆ EmitBeginMap()

void YAML_PM::Emitter::EmitBeginMap ( )
private

Definition at line 462 of file emitter.cpp.

◆ EmitBeginSeq()

void YAML_PM::Emitter::EmitBeginSeq ( )
private

Definition at line 392 of file emitter.cpp.

◆ EmitEndDoc()

void YAML_PM::Emitter::EmitEndDoc ( )
private

Definition at line 371 of file emitter.cpp.

◆ EmitEndMap()

void YAML_PM::Emitter::EmitEndMap ( )
private

Definition at line 496 of file emitter.cpp.

◆ EmitEndSeq()

void YAML_PM::Emitter::EmitEndSeq ( )
private

Definition at line 426 of file emitter.cpp.

◆ EmitKey()

void YAML_PM::Emitter::EmitKey ( )
private

Definition at line 532 of file emitter.cpp.

◆ EmitKindTag()

void YAML_PM::Emitter::EmitKindTag ( )
private

Definition at line 837 of file emitter.cpp.

◆ EmitNewline()

void YAML_PM::Emitter::EmitNewline ( )
private

Definition at line 594 of file emitter.cpp.

◆ EmitSeparationIfNecessary()

void YAML_PM::Emitter::EmitSeparationIfNecessary ( )
private

Definition at line 338 of file emitter.cpp.

◆ EmitTag()

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

◆ EmitValue()

void YAML_PM::Emitter::EmitValue ( )
private

Definition at line 569 of file emitter.cpp.

◆ GetDoublePrecision()

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

Definition at line 696 of file emitter.cpp.

◆ GetFloatPrecision()

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

Definition at line 691 of file emitter.cpp.

◆ GetLastError()

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

Definition at line 34 of file emitter.cpp.

◆ good()

bool YAML_PM::Emitter::good ( ) const

Definition at line 29 of file emitter.cpp.

◆ GotoNextPreAtomicState()

bool YAML_PM::Emitter::GotoNextPreAtomicState ( )
private

Definition at line 169 of file emitter.cpp.

◆ PostAtomicWrite()

void YAML_PM::Emitter::PostAtomicWrite ( )
private

Definition at line 289 of file emitter.cpp.

◆ PostWriteIntegralType()

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

Definition at line 701 of file emitter.cpp.

◆ PostWriteStreamable()

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

Definition at line 707 of file emitter.cpp.

◆ PreAtomicWrite()

void YAML_PM::Emitter::PreAtomicWrite ( )
private

Definition at line 278 of file emitter.cpp.

◆ PreWriteIntegralType()

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

Definition at line 662 of file emitter.cpp.

◆ PreWriteStreamable()

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

Definition at line 685 of file emitter.cpp.

◆ SetBoolFormat()

bool YAML_PM::Emitter::SetBoolFormat ( EMITTER_MANIP  value)

Definition at line 50 of file emitter.cpp.

◆ SetDoublePrecision()

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

Definition at line 102 of file emitter.cpp.

◆ SetFloatPrecision()

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

Definition at line 97 of file emitter.cpp.

◆ SetIndent()

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

Definition at line 82 of file emitter.cpp.

◆ SetIntBase()

bool YAML_PM::Emitter::SetIntBase ( EMITTER_MANIP  value)

Definition at line 62 of file emitter.cpp.

◆ SetLocalIndent()

Emitter & YAML_PM::Emitter::SetLocalIndent ( const _Indent indent)

Definition at line 152 of file emitter.cpp.

◆ SetLocalPrecision()

Emitter & YAML_PM::Emitter::SetLocalPrecision ( const _Precision precision)

Definition at line 158 of file emitter.cpp.

◆ SetLocalValue()

Emitter & YAML_PM::Emitter::SetLocalValue ( EMITTER_MANIP  value)

Definition at line 109 of file emitter.cpp.

◆ SetMapFormat()

bool YAML_PM::Emitter::SetMapFormat ( EMITTER_MANIP  value)

Definition at line 72 of file emitter.cpp.

◆ SetOutputCharset()

bool YAML_PM::Emitter::SetOutputCharset ( EMITTER_MANIP  value)

Definition at line 40 of file emitter.cpp.

◆ SetPostCommentIndent()

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

Definition at line 92 of file emitter.cpp.

◆ SetPreCommentIndent()

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

Definition at line 87 of file emitter.cpp.

◆ SetSeqFormat()

bool YAML_PM::Emitter::SetSeqFormat ( EMITTER_MANIP  value)

Definition at line 67 of file emitter.cpp.

◆ SetStreamablePrecision() [1/3]

template<typename T >
void YAML_PM::Emitter::SetStreamablePrecision ( std::stringstream &  )
inlineprivate

Definition at line 78 of file emitter.h.

◆ SetStreamablePrecision() [2/3]

template<>
void YAML_PM::Emitter::SetStreamablePrecision ( std::stringstream &  str)
inlineprivate

Definition at line 136 of file emitter.h.

◆ SetStreamablePrecision() [3/3]

template<>
void YAML_PM::Emitter::SetStreamablePrecision ( std::stringstream &  str)
inlineprivate

Definition at line 142 of file emitter.h.

◆ SetStringFormat()

bool YAML_PM::Emitter::SetStringFormat ( EMITTER_MANIP  value)

Definition at line 45 of file emitter.cpp.

◆ size()

unsigned YAML_PM::Emitter::size ( ) const

Definition at line 23 of file emitter.cpp.

◆ Write() [1/9]

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

Definition at line 618 of file emitter.cpp.

◆ Write() [2/9]

Emitter & YAML_PM::Emitter::Write ( bool  b)

Definition at line 748 of file emitter.cpp.

◆ Write() [3/9]

Emitter & YAML_PM::Emitter::Write ( char  ch)

Definition at line 766 of file emitter.cpp.

◆ Write() [4/9]

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

Definition at line 780 of file emitter.cpp.

◆ Write() [5/9]

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

Definition at line 795 of file emitter.cpp.

◆ Write() [6/9]

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

Definition at line 811 of file emitter.cpp.

◆ Write() [7/9]

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

Definition at line 842 of file emitter.cpp.

◆ Write() [8/9]

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

Definition at line 856 of file emitter.cpp.

◆ Write() [9/9]

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

Definition at line 868 of file emitter.cpp.

◆ WriteIntegralType()

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

Definition at line 109 of file emitter.h.

◆ WriteStreamable()

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

Definition at line 122 of file emitter.h.

Member Data Documentation

◆ m_pState

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

Definition at line 105 of file emitter.h.

◆ m_stream

ostream YAML_PM::Emitter::m_stream
private

Definition at line 104 of file emitter.h.


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


libpointmatcher
Author(s):
autogenerated on Sat May 27 2023 02:38:04