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

template<class Value_type, class Iter_type>
typedef Config_type::Array_type json_spirit::Semantic_actions< Value_type, Iter_type >::Array_type
template<class Value_type, class Iter_type>
typedef String_type::value_type json_spirit::Semantic_actions< Value_type, Iter_type >::Char_type
template<class Value_type, class Iter_type>
typedef Value_type::Config_type json_spirit::Semantic_actions< Value_type, Iter_type >::Config_type
template<class Value_type, class Iter_type>
typedef Config_type::Object_type json_spirit::Semantic_actions< Value_type, Iter_type >::Object_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

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

Member Function Documentation

template<class Value_type, class Iter_type>
Value_type* json_spirit::Semantic_actions< Value_type, Iter_type >::add_first ( const Value_type value)
inlineprivate
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
template<class Value_type, class Iter_type>
void json_spirit::Semantic_actions< Value_type, Iter_type >::begin_array ( Char_type  c)
inline
template<class Value_type, class Iter_type>
template<class Array_or_obj >
void json_spirit::Semantic_actions< Value_type, Iter_type >::begin_compound ( )
inlineprivate
template<class Value_type, class Iter_type>
void json_spirit::Semantic_actions< Value_type, Iter_type >::begin_obj ( Char_type  c)
inline
template<class Value_type, class Iter_type>
void json_spirit::Semantic_actions< Value_type, Iter_type >::end_array ( Char_type  c)
inline
template<class Value_type, class Iter_type>
void json_spirit::Semantic_actions< Value_type, Iter_type >::end_compound ( )
inlineprivate
template<class Value_type, class Iter_type>
void json_spirit::Semantic_actions< Value_type, Iter_type >::end_obj ( Char_type  c)
inline
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
template<class Value_type, class Iter_type>
void json_spirit::Semantic_actions< Value_type, Iter_type >::new_int ( boost::int64_t  i)
inline
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
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
template<class Value_type, class Iter_type>
void json_spirit::Semantic_actions< Value_type, Iter_type >::new_real ( double  d)
inline
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
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
template<class Value_type, class Iter_type>
void json_spirit::Semantic_actions< Value_type, Iter_type >::new_uint64 ( boost::uint64_t  ui)
inline
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

template<class Value_type, class Iter_type>
Value_type* json_spirit::Semantic_actions< Value_type, Iter_type >::current_p_
private
template<class Value_type, class Iter_type>
String_type json_spirit::Semantic_actions< Value_type, Iter_type >::name_
private
template<class Value_type, class Iter_type>
std::vector< Value_type* > json_spirit::Semantic_actions< Value_type, Iter_type >::stack_
private
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: