Flow 1.0.0
Flow project: Public API.
List of all members
flow::cfg::Null_value_set Struct Reference

Empty struct suitable as a *_value_set template arg for Config_manager, when a slot requires a Value_set, but you have no config to actually parse there. More...

#include <cfg_manager.hpp>

Inheritance diagram for flow::cfg::Null_value_set:
[legend]
Collaboration diagram for flow::cfg::Null_value_set:
[legend]

Additional Inherited Members

- Public Types inherited from flow::util::Shared_ptr_alias_holder< boost::shared_ptr< Null_value_set > >
using Ptr = boost::shared_ptr< Null_value_set >
 Short-hand for ref-counted pointer to mutable values of type Target_type::element_type (a-la T*).
 
using Const_ptr = Const_target_ptr
 Short-hand for ref-counted pointer to immutable values of type Target_type::element_type (a-la T const *).
 
- Static Public Member Functions inherited from flow::util::Shared_ptr_alias_holder< boost::shared_ptr< Null_value_set > >
static Ptr ptr_cast (const From_ptr &ptr_to_cast)
 Provides syntactic-sugary way to perform a static_pointer_cast<> from a compatible smart pointer type From_ptr, typically From_ptr::element_type being in the same class hierarchy as Target_ptr::element_type. More...
 
static Const_ptr const_ptr_cast (const From_ptr &ptr_to_cast)
 Identical to ptr_cast() but adds const-ness (immutability) to the pointed-to type. More...
 
static Ptr dynamic_ptr_cast (const From_ptr &ptr_to_cast)
 Equivalent to ptr_cast() but a dynamic_pointer_cast instead of static. More...
 
static Const_ptr dynamic_const_ptr_cast (const From_ptr &ptr_to_cast)
 Identical to const_ptr_cast() but a dynamic_pointer_cast instead of static. More...
 

Detailed Description

Empty struct suitable as a *_value_set template arg for Config_manager, when a slot requires a Value_set, but you have no config to actually parse there.

In particular, if you have a static Value_set but no corresponding dynamic one, you should provide this as the template arg.

See also
null_declare_opts_func() and null_final_validator_func().

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