Honeycomb  0.1
Component-Model Framework
Classes | Public Types | List of all members
honey::json::Config< ordered, Alloc > Struct Template Reference

Configuration for json value variant. More...

#include <Json.h>

Classes

struct  ObjectOrdered
 

Public Types

typedef Value_< ConfigValue
 
typedef recursive_wrap< Value, Alloc< Value > > value_wrap
 Holds a value in an array/object. More...
 
typedef vector< value_wrap, Alloc< value_wrap > > Array
 
typedef stdutil::unordered_map< NameId, value_wrap, Alloc > ObjectUnordered
 
typedef std::conditional< ordered, ObjectOrdered, ObjectUnordered >::type Object
 
typedef variant< null_t, int64, double, bool, String, Array, ObjectVariant
 

Detailed Description

template<bool ordered = false, template< class > class Alloc = SmallAllocator>
struct honey::json::Config< ordered, Alloc >

Configuration for json value variant.

Template Parameters
orderedIf true then insertion order of name/value pairs in a json object will be preserved in an additional list member Value::Object::orderedNames.
See also
ObjectOrdered.

Member Typedef Documentation

template<bool ordered = false, template< class > class Alloc = SmallAllocator>
typedef vector<value_wrap, Alloc<value_wrap> > honey::json::Config< ordered, Alloc >::Array
template<bool ordered = false, template< class > class Alloc = SmallAllocator>
typedef std::conditional<ordered, ObjectOrdered, ObjectUnordered>::type honey::json::Config< ordered, Alloc >::Object
template<bool ordered = false, template< class > class Alloc = SmallAllocator>
typedef stdutil::unordered_map<NameId, value_wrap, Alloc> honey::json::Config< ordered, Alloc >::ObjectUnordered
template<bool ordered = false, template< class > class Alloc = SmallAllocator>
typedef Value_<Config> honey::json::Config< ordered, Alloc >::Value
template<bool ordered = false, template< class > class Alloc = SmallAllocator>
typedef recursive_wrap<Value, Alloc<Value> > honey::json::Config< ordered, Alloc >::value_wrap

Holds a value in an array/object.

template<bool ordered = false, template< class > class Alloc = SmallAllocator>
typedef variant<null_t, int64, double, bool, String, Array, Object> honey::json::Config< ordered, Alloc >::Variant

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