Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::nfp::named_parameter< T, unique_id, ReferenceType > Struct Template Reference

#include <named_params.hpp>

Inheritance diagram for boost::nfp::named_parameter< T, unique_id, ReferenceType >:
Collaboration diagram for boost::nfp::named_parameter< T, unique_id, ReferenceType >:

Public Types

typedef nfp_detail::nil nil_t
 
typedef T data_type
 
typedef ReferenceType ref_type
 
typedef unique_id id
 

Public Member Functions

 named_parameter (ref_type v)
 
 named_parameter (named_parameter const &np)
 
ref_type operator[] (keyword< unique_id, true >) const
 
ref_type operator[] (keyword< unique_id, false >) const
 
template<typename UnknownId >
nil_t operator[] (keyword< UnknownId, false >) const
 
bool has (keyword< unique_id, false >) const
 
template<typename UnknownId >
bool has (keyword< UnknownId, false >) const
 
void erase (keyword< unique_id, false >) const
 
template<typename UnknownId >
void erase (keyword< UnknownId, false >) const
 
template<typename Visitor >
void apply_to (Visitor &V) const
 
named_parameter_combine< NP,
named_parameter< T, unique_id,
ReferenceType > > 
operator, (NP const &np) const
 

Member Typedef Documentation

template<typename T, typename unique_id, typename ReferenceType = T&>
typedef T boost::nfp::named_parameter< T, unique_id, ReferenceType >::data_type
template<typename T, typename unique_id, typename ReferenceType = T&>
typedef unique_id boost::nfp::named_parameter< T, unique_id, ReferenceType >::id
template<typename T, typename unique_id, typename ReferenceType = T&>
typedef nfp_detail::nil boost::nfp::named_parameter< T, unique_id, ReferenceType >::nil_t
template<typename T, typename unique_id, typename ReferenceType = T&>
typedef ReferenceType boost::nfp::named_parameter< T, unique_id, ReferenceType >::ref_type

Constructor & Destructor Documentation

template<typename T, typename unique_id, typename ReferenceType = T&>
boost::nfp::named_parameter< T, unique_id, ReferenceType >::named_parameter ( ref_type  v)
inlineexplicit
template<typename T, typename unique_id, typename ReferenceType = T&>
boost::nfp::named_parameter< T, unique_id, ReferenceType >::named_parameter ( named_parameter< T, unique_id, ReferenceType > const &  np)
inline

Member Function Documentation

template<typename T, typename unique_id, typename ReferenceType = T&>
template<typename Visitor >
void boost::nfp::named_parameter< T, unique_id, ReferenceType >::apply_to ( Visitor &  V) const
inline
template<typename T, typename unique_id, typename ReferenceType = T&>
void boost::nfp::named_parameter< T, unique_id, ReferenceType >::erase ( keyword< unique_id, false >  ) const
inline
template<typename T, typename unique_id, typename ReferenceType = T&>
template<typename UnknownId >
void boost::nfp::named_parameter< T, unique_id, ReferenceType >::erase ( keyword< UnknownId, false >  ) const
inline
template<typename T, typename unique_id, typename ReferenceType = T&>
bool boost::nfp::named_parameter< T, unique_id, ReferenceType >::has ( keyword< unique_id, false >  ) const
inline
template<typename T, typename unique_id, typename ReferenceType = T&>
template<typename UnknownId >
bool boost::nfp::named_parameter< T, unique_id, ReferenceType >::has ( keyword< UnknownId, false >  ) const
inline
named_parameter_combine<NP,named_parameter< T, unique_id, ReferenceType > > boost::nfp::nfp_detail::named_parameter_base< named_parameter< T, unique_id, ReferenceType > >::operator, ( NP const &  np) const
inlineinherited
template<typename T, typename unique_id, typename ReferenceType = T&>
ref_type boost::nfp::named_parameter< T, unique_id, ReferenceType >::operator[] ( keyword< unique_id, true >  ) const
inline
template<typename T, typename unique_id, typename ReferenceType = T&>
ref_type boost::nfp::named_parameter< T, unique_id, ReferenceType >::operator[] ( keyword< unique_id, false >  ) const
inline
template<typename T, typename unique_id, typename ReferenceType = T&>
template<typename UnknownId >
nil_t boost::nfp::named_parameter< T, unique_id, ReferenceType >::operator[] ( keyword< UnknownId, false >  ) const
inline

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