Pyrogenesis trunk
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
json_spirit::Semantic_actions< Value_type, Iter_type > Class Template Reference

#include <json_spirit_reader_template.h>

Public Types

typedef Value_type::Config_type Config_type
 
typedef Config_type::String_type String_type
 
typedef Config_type::Object_type Object_type
 
typedef Config_type::Array_type Array_type
 
typedef String_type::value_type Char_type
 

Public Member Functions

 Semantic_actions (Value_type &value)
 
void begin_obj (Char_type c)
 
void end_obj (Char_type c)
 
void begin_array (Char_type c)
 
void end_array (Char_type c)
 
void new_name (Iter_type begin, Iter_type end)
 
void new_str (Iter_type begin, Iter_type end)
 
void new_true (Iter_type begin, Iter_type end)
 
void new_false (Iter_type begin, Iter_type end)
 
void new_null (Iter_type begin, Iter_type end)
 
void new_int (boost::int64_t i)
 
void new_uint64 (boost::uint64_t ui)
 
void new_real (double d)
 

Private Member Functions

Semantic_actionsoperator= (const Semantic_actions &)
 
Value_typeadd_first (const Value_type &value)
 
template<class Array_or_obj >
void begin_compound ()
 
void end_compound ()
 
Value_typeadd_to_current (const Value_type &value)
 

Private Attributes

Value_typevalue_
 
Value_typecurrent_p_
 
std::vector< Value_type * > stack_
 
String_type name_
 

Member Typedef Documentation

◆ Array_type

template<class Value_type , class Iter_type >
typedef Config_type::Array_type json_spirit::Semantic_actions< Value_type, Iter_type >::Array_type

◆ Char_type

template<class Value_type , class Iter_type >
typedef String_type::value_type json_spirit::Semantic_actions< Value_type, Iter_type >::Char_type

◆ Config_type

template<class Value_type , class Iter_type >
typedef Value_type::Config_type json_spirit::Semantic_actions< Value_type, Iter_type >::Config_type

◆ Object_type

template<class Value_type , class Iter_type >
typedef Config_type::Object_type json_spirit::Semantic_actions< Value_type, Iter_type >::Object_type

◆ String_type

template<class Value_type , class Iter_type >
typedef Config_type::String_type json_spirit::Semantic_actions< Value_type, Iter_type >::String_type

Constructor & Destructor Documentation

◆ Semantic_actions()

template<class Value_type , class Iter_type >
json_spirit::Semantic_actions< Value_type, Iter_type >::Semantic_actions ( Value_type value)
inline

Member Function Documentation

◆ add_first()

template<class Value_type , class Iter_type >
Value_type * json_spirit::Semantic_actions< Value_type, Iter_type >::add_first ( const Value_type value)
inlineprivate

◆ add_to_current()

template<class Value_type , class Iter_type >
Value_type * json_spirit::Semantic_actions< Value_type, Iter_type >::add_to_current ( const Value_type value)
inlineprivate

◆ begin_array()

template<class Value_type , class Iter_type >
void json_spirit::Semantic_actions< Value_type, Iter_type >::begin_array ( Char_type  c)
inline

◆ begin_compound()

template<class Value_type , class Iter_type >
template<class Array_or_obj >
void json_spirit::Semantic_actions< Value_type, Iter_type >::begin_compound ( )
inlineprivate

◆ begin_obj()

template<class Value_type , class Iter_type >
void json_spirit::Semantic_actions< Value_type, Iter_type >::begin_obj ( Char_type  c)
inline

◆ end_array()

template<class Value_type , class Iter_type >
void json_spirit::Semantic_actions< Value_type, Iter_type >::end_array ( Char_type  c)
inline

◆ end_compound()

template<class Value_type , class Iter_type >
void json_spirit::Semantic_actions< Value_type, Iter_type >::end_compound ( )
inlineprivate

◆ end_obj()

template<class Value_type , class Iter_type >
void json_spirit::Semantic_actions< Value_type, Iter_type >::end_obj ( Char_type  c)
inline

◆ new_false()

template<class Value_type , class Iter_type >
void json_spirit::Semantic_actions< Value_type, Iter_type >::new_false ( Iter_type  begin,
Iter_type  end 
)
inline

◆ new_int()

template<class Value_type , class Iter_type >
void json_spirit::Semantic_actions< Value_type, Iter_type >::new_int ( boost::int64_t  i)
inline

◆ new_name()

template<class Value_type , class Iter_type >
void json_spirit::Semantic_actions< Value_type, Iter_type >::new_name ( Iter_type  begin,
Iter_type  end 
)
inline

◆ new_null()

template<class Value_type , class Iter_type >
void json_spirit::Semantic_actions< Value_type, Iter_type >::new_null ( Iter_type  begin,
Iter_type  end 
)
inline

◆ new_real()

template<class Value_type , class Iter_type >
void json_spirit::Semantic_actions< Value_type, Iter_type >::new_real ( double  d)
inline

◆ new_str()

template<class Value_type , class Iter_type >
void json_spirit::Semantic_actions< Value_type, Iter_type >::new_str ( Iter_type  begin,
Iter_type  end 
)
inline

◆ new_true()

template<class Value_type , class Iter_type >
void json_spirit::Semantic_actions< Value_type, Iter_type >::new_true ( Iter_type  begin,
Iter_type  end 
)
inline

◆ new_uint64()

template<class Value_type , class Iter_type >
void json_spirit::Semantic_actions< Value_type, Iter_type >::new_uint64 ( boost::uint64_t  ui)
inline

◆ operator=()

template<class Value_type , class Iter_type >
Semantic_actions & json_spirit::Semantic_actions< Value_type, Iter_type >::operator= ( const Semantic_actions< Value_type, Iter_type > &  )
private

Member Data Documentation

◆ current_p_

template<class Value_type , class Iter_type >
Value_type* json_spirit::Semantic_actions< Value_type, Iter_type >::current_p_
private

◆ name_

template<class Value_type , class Iter_type >
String_type json_spirit::Semantic_actions< Value_type, Iter_type >::name_
private

◆ stack_

template<class Value_type , class Iter_type >
std::vector< Value_type* > json_spirit::Semantic_actions< Value_type, Iter_type >::stack_
private

◆ value_

template<class Value_type , class Iter_type >
Value_type& json_spirit::Semantic_actions< Value_type, Iter_type >::value_
private

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