YAML::Emitter Class Reference

#include <emitter.h>

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 SetIndent (unsigned n)
bool SetIntBase (EMITTER_MANIP value)
EmitterSetLocalIndent (const _Indent &indent)
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 _Null &null)
EmitterWrite (const _Comment &comment)
EmitterWrite (const _Tag &tag)
EmitterWrite (const _Anchor &anchor)
EmitterWrite (const _Alias &alias)
EmitterWrite (bool b)
EmitterWrite (const std::string &str)
template<typename T >
EmitterWriteIntegralType (T value)
template<typename T >
EmitterWriteStreamable (T value)
 ~Emitter ()

Private Types

enum  ATOMIC_TYPE {
  AT_SCALAR, AT_SEQ, AT_BLOCK_SEQ, AT_FLOW_SEQ,
  AT_MAP, AT_BLOCK_MAP, AT_FLOW_MAP
}

Private Member Functions

void EmitBeginMap ()
void EmitBeginSeq ()
void EmitEndMap ()
void EmitEndSeq ()
void EmitKey ()
void EmitSeparationIfNecessary ()
void EmitValue ()
bool GotoNextPreAtomicState ()
void PostAtomicWrite ()
void PostWriteIntegralType (const std::stringstream &str)
void PreAtomicWrite ()
void PreWriteIntegralType (std::stringstream &str)

Private Attributes

std::auto_ptr< EmitterState > m_pState
ostream m_stream

Detailed Description

Definition at line 12 of file emitter.h.


Member Enumeration Documentation

Enumerator:
AT_SCALAR 
AT_SEQ 
AT_BLOCK_SEQ 
AT_FLOW_SEQ 
AT_MAP 
AT_BLOCK_MAP 
AT_FLOW_MAP 

Definition at line 61 of file emitter.h.


Constructor & Destructor Documentation

YAML::Emitter::Emitter (  ) 
YAML::Emitter::~Emitter (  ) 

Member Function Documentation

const char* YAML::Emitter::c_str (  )  const
void YAML::Emitter::EmitBeginMap (  )  [private]
void YAML::Emitter::EmitBeginSeq (  )  [private]
void YAML::Emitter::EmitEndMap (  )  [private]
void YAML::Emitter::EmitEndSeq (  )  [private]
void YAML::Emitter::EmitKey (  )  [private]
void YAML::Emitter::EmitSeparationIfNecessary (  )  [private]
void YAML::Emitter::EmitValue (  )  [private]
const std::string YAML::Emitter::GetLastError (  )  const
bool YAML::Emitter::good (  )  const
bool YAML::Emitter::GotoNextPreAtomicState (  )  [private]
void YAML::Emitter::PostAtomicWrite (  )  [private]
void YAML::Emitter::PostWriteIntegralType ( const std::stringstream &  str  )  [private]
void YAML::Emitter::PreAtomicWrite (  )  [private]
void YAML::Emitter::PreWriteIntegralType ( std::stringstream &  str  )  [private]
bool YAML::Emitter::SetBoolFormat ( EMITTER_MANIP  value  ) 
bool YAML::Emitter::SetIndent ( unsigned  n  ) 
bool YAML::Emitter::SetIntBase ( EMITTER_MANIP  value  ) 
Emitter& YAML::Emitter::SetLocalIndent ( const _Indent indent  ) 
Emitter& YAML::Emitter::SetLocalValue ( EMITTER_MANIP  value  ) 
bool YAML::Emitter::SetMapFormat ( EMITTER_MANIP  value  ) 
bool YAML::Emitter::SetOutputCharset ( EMITTER_MANIP  value  ) 
bool YAML::Emitter::SetPostCommentIndent ( unsigned  n  ) 
bool YAML::Emitter::SetPreCommentIndent ( unsigned  n  ) 
bool YAML::Emitter::SetSeqFormat ( EMITTER_MANIP  value  ) 
bool YAML::Emitter::SetStringFormat ( EMITTER_MANIP  value  ) 
unsigned YAML::Emitter::size (  )  const
Emitter& YAML::Emitter::Write ( const _Null null  ) 
Emitter& YAML::Emitter::Write ( const _Comment comment  ) 
Emitter& YAML::Emitter::Write ( const _Tag tag  ) 
Emitter& YAML::Emitter::Write ( const _Anchor anchor  ) 
Emitter& YAML::Emitter::Write ( const _Alias alias  ) 
Emitter& YAML::Emitter::Write ( bool  b  ) 
Emitter& YAML::Emitter::Write ( const std::string &  str  ) 
template<typename T >
Emitter & YAML::Emitter::WriteIntegralType ( value  )  [inline]

Definition at line 81 of file emitter.h.

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

Definition at line 94 of file emitter.h.


Member Data Documentation

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

Definition at line 77 of file emitter.h.

Definition at line 76 of file emitter.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


yaml_cpp
Author(s): Jesse Beder
autogenerated on Fri Jan 11 09:42:45 2013