Classes | Public Member Functions | Private Member Functions | Private Attributes
YAML_PM::EmitterState Class Reference

#include <emitterstate.h>

List of all members.

Classes

struct  Group

Public Member Functions

void BeginGroup (GROUP_TYPE type)
void ClearModifiedSettings ()
bool CurrentlyInLongKey ()
 EmitterState ()
void EndGroup (GROUP_TYPE type)
void ForceHardSeparation ()
EMITTER_MANIP GetBoolCaseFormat () const
EMITTER_MANIP GetBoolFormat () const
EMITTER_MANIP GetBoolLengthFormat () const
FLOW_TYPE GetCurGroupFlowType () const
GROUP_TYPE GetCurGroupType () const
int GetCurIndent () const
EMITTER_STATE GetCurState () const
unsigned GetDoublePrecision () const
unsigned GetFloatPrecision () const
EMITTER_MANIP GetFlowType (GROUP_TYPE groupType) const
int GetIndent () const
EMITTER_MANIP GetIntFormat () const
const std::string GetLastError () const
EMITTER_MANIP GetMapKeyFormat () const
EMITTER_MANIP GetOutputCharset () const
int GetPostCommentIndent () const
int GetPreCommentIndent () const
EMITTER_MANIP GetStringFormat () const
bool good () const
void PopState ()
void PushState (EMITTER_STATE state)
void RequireHardSeparation ()
bool RequiresHardSeparation () const
void RequireSoftSeparation ()
bool RequiresSoftSeparation () const
bool SetBoolCaseFormat (EMITTER_MANIP value, FMT_SCOPE scope)
bool SetBoolFormat (EMITTER_MANIP value, FMT_SCOPE scope)
bool SetBoolLengthFormat (EMITTER_MANIP value, FMT_SCOPE scope)
bool SetDoublePrecision (int value, FMT_SCOPE scope)
void SetError (const std::string &error)
bool SetFloatPrecision (int value, FMT_SCOPE scope)
bool SetFlowType (GROUP_TYPE groupType, EMITTER_MANIP value, FMT_SCOPE scope)
bool SetIndent (unsigned value, FMT_SCOPE scope)
bool SetIntFormat (EMITTER_MANIP value, FMT_SCOPE scope)
void SetLocalValue (EMITTER_MANIP value)
bool SetMapKeyFormat (EMITTER_MANIP value, FMT_SCOPE scope)
bool SetOutputCharset (EMITTER_MANIP value, FMT_SCOPE scope)
bool SetPostCommentIndent (unsigned value, FMT_SCOPE scope)
bool SetPreCommentIndent (unsigned value, FMT_SCOPE scope)
bool SetStringFormat (EMITTER_MANIP value, FMT_SCOPE scope)
void StartLongKey ()
void StartSimpleKey ()
void SwitchState (EMITTER_STATE state)
void UnsetSeparation ()
 ~EmitterState ()

Private Member Functions

template<typename T >
void _Set (Setting< T > &fmt, T value, FMT_SCOPE scope)

Private Attributes

Setting< EMITTER_MANIPm_boolCaseFmt
Setting< EMITTER_MANIPm_boolFmt
Setting< EMITTER_MANIPm_boolLengthFmt
Setting< EMITTER_MANIPm_charset
unsigned m_curIndent
Setting< int > m_doublePrecision
Setting< int > m_floatPrecision
SettingChanges m_globalModifiedSettings
ptr_stack< Groupm_groups
Setting< unsigned > m_indent
Setting< EMITTER_MANIPm_intFmt
bool m_isGood
std::string m_lastError
Setting< EMITTER_MANIPm_mapFmt
Setting< EMITTER_MANIPm_mapKeyFmt
SettingChanges m_modifiedSettings
Setting< unsigned > m_postCommentIndent
Setting< unsigned > m_preCommentIndent
bool m_requiresHardSeparation
bool m_requiresSoftSeparation
Setting< EMITTER_MANIPm_seqFmt
std::stack< EMITTER_STATEm_stateStack
Setting< EMITTER_MANIPm_strFmt

Detailed Description

Definition at line 76 of file emitterstate.h.


Constructor & Destructor Documentation

Definition at line 7 of file emitterstate.cpp.

Definition at line 29 of file emitterstate.cpp.


Member Function Documentation

template<typename T >
void YAML_PM::EmitterState::_Set ( Setting< T > &  fmt,
value,
FMT_SCOPE  scope 
) [private]

Definition at line 201 of file emitterstate.h.

Definition at line 49 of file emitterstate.cpp.

Definition at line 124 of file emitterstate.cpp.

Definition at line 105 of file emitterstate.cpp.

Definition at line 67 of file emitterstate.cpp.

Definition at line 111 of file emitterstate.h.

Definition at line 130 of file emitterstate.h.

Definition at line 124 of file emitterstate.h.

Definition at line 127 of file emitterstate.h.

Definition at line 97 of file emitterstate.cpp.

Definition at line 89 of file emitterstate.cpp.

int YAML_PM::EmitterState::GetCurIndent ( ) const [inline]

Definition at line 101 of file emitterstate.h.

Definition at line 88 of file emitterstate.h.

unsigned YAML_PM::EmitterState::GetDoublePrecision ( ) const [inline]

Definition at line 152 of file emitterstate.h.

unsigned YAML_PM::EmitterState::GetFloatPrecision ( ) const [inline]

Definition at line 150 of file emitterstate.h.

Definition at line 245 of file emitterstate.cpp.

int YAML_PM::EmitterState::GetIndent ( ) const [inline]

Definition at line 136 of file emitterstate.h.

Definition at line 133 of file emitterstate.h.

const std::string YAML_PM::EmitterState::GetLastError ( ) const [inline]

Definition at line 84 of file emitterstate.h.

Definition at line 147 of file emitterstate.h.

Definition at line 118 of file emitterstate.h.

Definition at line 141 of file emitterstate.h.

Definition at line 139 of file emitterstate.h.

Definition at line 121 of file emitterstate.h.

bool YAML_PM::EmitterState::good ( ) const [inline]

Definition at line 83 of file emitterstate.h.

Definition at line 91 of file emitterstate.h.

Definition at line 90 of file emitterstate.h.

Definition at line 110 of file emitterstate.h.

Definition at line 108 of file emitterstate.h.

Definition at line 109 of file emitterstate.h.

Definition at line 107 of file emitterstate.h.

Definition at line 180 of file emitterstate.cpp.

Definition at line 155 of file emitterstate.cpp.

Definition at line 168 of file emitterstate.cpp.

bool YAML_PM::EmitterState::SetDoublePrecision ( int  value,
FMT_SCOPE  scope 
)

Definition at line 276 of file emitterstate.cpp.

void YAML_PM::EmitterState::SetError ( const std::string &  error) [inline]

Definition at line 85 of file emitterstate.h.

bool YAML_PM::EmitterState::SetFloatPrecision ( int  value,
FMT_SCOPE  scope 
)

Definition at line 268 of file emitterstate.cpp.

bool YAML_PM::EmitterState::SetFlowType ( GROUP_TYPE  groupType,
EMITTER_MANIP  value,
FMT_SCOPE  scope 
)

Definition at line 233 of file emitterstate.cpp.

bool YAML_PM::EmitterState::SetIndent ( unsigned  value,
FMT_SCOPE  scope 
)

Definition at line 206 of file emitterstate.cpp.

Definition at line 193 of file emitterstate.cpp.

Definition at line 36 of file emitterstate.cpp.

Definition at line 256 of file emitterstate.cpp.

Definition at line 129 of file emitterstate.cpp.

bool YAML_PM::EmitterState::SetPostCommentIndent ( unsigned  value,
FMT_SCOPE  scope 
)

Definition at line 224 of file emitterstate.cpp.

bool YAML_PM::EmitterState::SetPreCommentIndent ( unsigned  value,
FMT_SCOPE  scope 
)

Definition at line 215 of file emitterstate.cpp.

Definition at line 141 of file emitterstate.cpp.

Definition at line 112 of file emitterstate.cpp.

Definition at line 118 of file emitterstate.cpp.

Definition at line 89 of file emitterstate.h.

Definition at line 112 of file emitterstate.h.


Member Data Documentation

Definition at line 170 of file emitterstate.h.

Definition at line 168 of file emitterstate.h.

Definition at line 169 of file emitterstate.h.

Definition at line 166 of file emitterstate.h.

Definition at line 195 of file emitterstate.h.

Definition at line 178 of file emitterstate.h.

Definition at line 177 of file emitterstate.h.

Definition at line 181 of file emitterstate.h.

Definition at line 194 of file emitterstate.h.

Definition at line 172 of file emitterstate.h.

Definition at line 171 of file emitterstate.h.

Definition at line 160 of file emitterstate.h.

std::string YAML_PM::EmitterState::m_lastError [private]

Definition at line 161 of file emitterstate.h.

Definition at line 175 of file emitterstate.h.

Definition at line 176 of file emitterstate.h.

Definition at line 180 of file emitterstate.h.

Definition at line 173 of file emitterstate.h.

Definition at line 173 of file emitterstate.h.

Definition at line 197 of file emitterstate.h.

Definition at line 196 of file emitterstate.h.

Definition at line 174 of file emitterstate.h.

Definition at line 164 of file emitterstate.h.

Definition at line 167 of file emitterstate.h.


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


upstream_src
Author(s):
autogenerated on Mon Oct 6 2014 10:27:43