Public Types | Public Member Functions | Protected Types | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
boost::optional_detail::optional_base< T > Class Template Reference

#include <optional.hpp>

Inheritance diagram for boost::optional_detail::optional_base< T >:
Inheritance graph
[legend]

Public Types

typedef BOOST_DEDUCED_TYPENAME mpl::if_< is_reference_predicate, types_when_ref, types_when_not_ref >::type types
 

Public Member Functions

pointer_const_type get_ptr () const
 
pointer_type get_ptr ()
 
bool is_initialized () const
 
void reset () BOOST_NOEXCEPT
 
void reset (argument_type val)
 

Protected Types

typedef BOOST_DEDUCED_TYPENAME types::argument_type argument_type
 
typedef mpl::false_ is_not_reference_tag
 
typedef BOOST_DEDUCED_TYPENAME is_reference< T >::type is_reference_predicate
 
typedef mpl::true_ is_reference_tag
 
typedef BOOST_DEDUCED_TYPENAME types::pointer_const_type pointer_const_type
 
typedef BOOST_DEDUCED_TYPENAME types::pointer_type pointer_type
 
typedef BOOST_DEDUCED_TYPENAME types::reference_const_type reference_const_type
 
typedef BOOST_DEDUCED_TYPENAME types::reference_type reference_type
 
typedef BOOST_DEDUCED_TYPENAME types::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper
 
typedef BOOST_DEDUCED_TYPENAME types::rval_reference_type rval_reference_type
 
typedef T value_type
 

Protected Member Functions

void assign (optional_base const &rhs)
 
void assign (optional_base &&rhs)
 
template<class U >
void assign (optional< U > const &rhs)
 
template<class U >
void assign (optional< U > &&rhs)
 
void assign (argument_type val)
 
void assign (rval_reference_type val)
 
void assign (none_t) BOOST_NOEXCEPT
 
template<class Expr , class ExprPtr >
void assign_expr (Expr &&expr, ExprPtr const *tag)
 
template<class Expr >
void assign_expr_to_initialized (Expr &&factory, in_place_factory_base const *tag)
 
template<class Expr >
void assign_expr_to_initialized (Expr &&factory, typed_in_place_factory_base const *tag)
 
template<class Expr >
void assign_expr_to_initialized (Expr &&expr, void const *)
 
void assign_value (argument_type val, is_not_reference_tag)
 
void assign_value (argument_type val, is_reference_tag)
 
void assign_value (rval_reference_type val, is_not_reference_tag)
 
void assign_value (rval_reference_type val, is_reference_tag)
 
void construct (argument_type val)
 
void construct (rval_reference_type val)
 
template<class Expr >
void construct (Expr &&factory, in_place_factory_base const *)
 
template<class Expr >
void construct (Expr &&factory, typed_in_place_factory_base const *)
 
template<class Expr >
void construct (Expr &&expr, void const *)
 
void destroy ()
 
template<class... Args>
void emplace_assign (Args &&...args)
 
reference_const_type get_impl () const
 
reference_type get_impl ()
 
pointer_const_type get_ptr_impl () const
 
pointer_type get_ptr_impl ()
 
 optional_base ()
 
 optional_base (none_t)
 
 optional_base (argument_type val)
 
 optional_base (rval_reference_type val)
 
 optional_base (bool cond, argument_type val)
 
 optional_base (optional_base const &rhs)
 
 optional_base (optional_base &&rhs)
 
template<class Expr , class PtrExpr >
 optional_base (Expr &&expr, PtrExpr const *tag)
 
 ~optional_base ()
 

Private Types

typedef BOOST_DEDUCED_TYPENAME::boost::detail::make_reference_content< T >::type internal_type
 
typedef aligned_storage< internal_typestorage_type
 
typedef optional_base< T > this_type
 
typedef types_when_isnt_ref< T > types_when_not_ref
 
typedef types_when_is_ref< T > types_when_ref
 

Private Member Functions

pointer_const_type cast_ptr (internal_type const *p, is_not_reference_tag) const
 
pointer_type cast_ptr (internal_type *p, is_not_reference_tag)
 
pointer_const_type cast_ptr (internal_type const *p, is_reference_tag) const
 
pointer_type cast_ptr (internal_type *p, is_reference_tag)
 
reference_const_type dereference (internal_type const *p, is_not_reference_tag) const
 
reference_type dereference (internal_type *p, is_not_reference_tag)
 
reference_const_type dereference (internal_type const *p, is_reference_tag) const
 
reference_type dereference (internal_type *p, is_reference_tag)
 
void destroy_impl (is_not_reference_tag)
 
void destroy_impl (is_reference_tag)
 
internal_type const * get_object () const
 
internal_typeget_object ()
 

Private Attributes

bool m_initialized
 
storage_type m_storage
 

Detailed Description

template<class T>
class boost::optional_detail::optional_base< T >

Definition at line 201 of file optional/optional.hpp.

Member Typedef Documentation

template<class T>
typedef BOOST_DEDUCED_TYPENAME types::argument_type boost::optional_detail::optional_base< T >::argument_type
protected

Definition at line 239 of file optional/optional.hpp.

Definition at line 209 of file optional/optional.hpp.

template<class T>
typedef mpl::false_ boost::optional_detail::optional_base< T >::is_not_reference_tag
protected

Definition at line 223 of file optional/optional.hpp.

Definition at line 225 of file optional/optional.hpp.

template<class T>
typedef mpl::true_ boost::optional_detail::optional_base< T >::is_reference_tag
protected

Definition at line 222 of file optional/optional.hpp.

template<class T>
typedef BOOST_DEDUCED_TYPENAME types::pointer_const_type boost::optional_detail::optional_base< T >::pointer_const_type
protected

Definition at line 238 of file optional/optional.hpp.

template<class T>
typedef BOOST_DEDUCED_TYPENAME types::pointer_type boost::optional_detail::optional_base< T >::pointer_type
protected

Definition at line 237 of file optional/optional.hpp.

template<class T>
typedef BOOST_DEDUCED_TYPENAME types::reference_const_type boost::optional_detail::optional_base< T >::reference_const_type
protected

Definition at line 232 of file optional/optional.hpp.

template<class T>
typedef BOOST_DEDUCED_TYPENAME types::reference_type boost::optional_detail::optional_base< T >::reference_type
protected

Definition at line 231 of file optional/optional.hpp.

template<class T>
typedef BOOST_DEDUCED_TYPENAME types::reference_type_of_temporary_wrapper boost::optional_detail::optional_base< T >::reference_type_of_temporary_wrapper
protected

Definition at line 235 of file optional/optional.hpp.

template<class T>
typedef BOOST_DEDUCED_TYPENAME types::rval_reference_type boost::optional_detail::optional_base< T >::rval_reference_type
protected

Definition at line 234 of file optional/optional.hpp.

Definition at line 211 of file optional/optional.hpp.

template<class T>
typedef optional_base<T> boost::optional_detail::optional_base< T >::this_type
private

Definition at line 216 of file optional/optional.hpp.

Definition at line 228 of file optional/optional.hpp.

Definition at line 213 of file optional/optional.hpp.

template<class T>
typedef types_when_is_ref<T> boost::optional_detail::optional_base< T >::types_when_ref
private

Definition at line 214 of file optional/optional.hpp.

template<class T>
typedef T boost::optional_detail::optional_base< T >::value_type
protected

Definition at line 220 of file optional/optional.hpp.

Constructor & Destructor Documentation

template<class T>
boost::optional_detail::optional_base< T >::optional_base ( )
inlineprotected

Definition at line 243 of file optional/optional.hpp.

template<class T>
boost::optional_detail::optional_base< T >::optional_base ( none_t  )
inlineprotected

Definition at line 249 of file optional/optional.hpp.

template<class T>
boost::optional_detail::optional_base< T >::optional_base ( argument_type  val)
inlineprotected

Definition at line 255 of file optional/optional.hpp.

template<class T>
boost::optional_detail::optional_base< T >::optional_base ( rval_reference_type  val)
inlineprotected

Definition at line 265 of file optional/optional.hpp.

template<class T>
boost::optional_detail::optional_base< T >::optional_base ( bool  cond,
argument_type  val 
)
inlineprotected

Definition at line 275 of file optional/optional.hpp.

template<class T>
boost::optional_detail::optional_base< T >::optional_base ( optional_base< T > const &  rhs)
inlineprotected

Definition at line 285 of file optional/optional.hpp.

template<class T>
boost::optional_detail::optional_base< T >::optional_base ( optional_base< T > &&  rhs)
inlineprotected

Definition at line 296 of file optional/optional.hpp.

template<class T>
template<class Expr , class PtrExpr >
boost::optional_detail::optional_base< T >::optional_base ( Expr &&  expr,
PtrExpr const *  tag 
)
inlineexplicitprotected

Definition at line 308 of file optional/optional.hpp.

template<class T>
boost::optional_detail::optional_base< T >::~optional_base ( )
inlineprotected

Definition at line 331 of file optional/optional.hpp.

Member Function Documentation

template<class T>
void boost::optional_detail::optional_base< T >::assign ( optional_base< T > const &  rhs)
inlineprotected

Definition at line 334 of file optional/optional.hpp.

template<class T>
void boost::optional_detail::optional_base< T >::assign ( optional_base< T > &&  rhs)
inlineprotected

Definition at line 351 of file optional/optional.hpp.

template<class T>
template<class U >
void boost::optional_detail::optional_base< T >::assign ( optional< U > const &  rhs)
inlineprotected

Definition at line 369 of file optional/optional.hpp.

template<class T>
template<class U >
void boost::optional_detail::optional_base< T >::assign ( optional< U > &&  rhs)
inlineprotected

Definition at line 396 of file optional/optional.hpp.

template<class T>
void boost::optional_detail::optional_base< T >::assign ( argument_type  val)
inlineprotected

Definition at line 414 of file optional/optional.hpp.

template<class T>
void boost::optional_detail::optional_base< T >::assign ( rval_reference_type  val)
inlineprotected

Definition at line 423 of file optional/optional.hpp.

template<class T>
void boost::optional_detail::optional_base< T >::assign ( none_t  )
inlineprotected

Definition at line 433 of file optional/optional.hpp.

template<class T>
template<class Expr , class ExprPtr >
void boost::optional_detail::optional_base< T >::assign_expr ( Expr &&  expr,
ExprPtr const *  tag 
)
inlineprotected

Definition at line 439 of file optional/optional.hpp.

template<class T>
template<class Expr >
void boost::optional_detail::optional_base< T >::assign_expr_to_initialized ( Expr &&  factory,
in_place_factory_base const *  tag 
)
inlineprotected

Definition at line 549 of file optional/optional.hpp.

template<class T>
template<class Expr >
void boost::optional_detail::optional_base< T >::assign_expr_to_initialized ( Expr &&  factory,
typed_in_place_factory_base const *  tag 
)
inlineprotected

Definition at line 557 of file optional/optional.hpp.

template<class T>
template<class Expr >
void boost::optional_detail::optional_base< T >::assign_expr_to_initialized ( Expr &&  expr,
void const *   
)
inlineprotected

Definition at line 617 of file optional/optional.hpp.

template<class T>
void boost::optional_detail::optional_base< T >::assign_value ( argument_type  val,
is_not_reference_tag   
)
inlineprotected

Definition at line 687 of file optional/optional.hpp.

template<class T>
void boost::optional_detail::optional_base< T >::assign_value ( argument_type  val,
is_reference_tag   
)
inlineprotected

Definition at line 688 of file optional/optional.hpp.

template<class T>
void boost::optional_detail::optional_base< T >::assign_value ( rval_reference_type  val,
is_not_reference_tag   
)
inlineprotected

Definition at line 690 of file optional/optional.hpp.

template<class T>
void boost::optional_detail::optional_base< T >::assign_value ( rval_reference_type  val,
is_reference_tag   
)
inlineprotected

Definition at line 691 of file optional/optional.hpp.

template<class T>
pointer_const_type boost::optional_detail::optional_base< T >::cast_ptr ( internal_type const *  p,
is_not_reference_tag   
) const
inlineprivate

Definition at line 743 of file optional/optional.hpp.

template<class T>
pointer_type boost::optional_detail::optional_base< T >::cast_ptr ( internal_type p,
is_not_reference_tag   
)
inlineprivate

Definition at line 744 of file optional/optional.hpp.

template<class T>
pointer_const_type boost::optional_detail::optional_base< T >::cast_ptr ( internal_type const *  p,
is_reference_tag   
) const
inlineprivate

Definition at line 745 of file optional/optional.hpp.

template<class T>
pointer_type boost::optional_detail::optional_base< T >::cast_ptr ( internal_type p,
is_reference_tag   
)
inlineprivate

Definition at line 746 of file optional/optional.hpp.

template<class T>
void boost::optional_detail::optional_base< T >::construct ( argument_type  val)
inlineprotected

Definition at line 476 of file optional/optional.hpp.

template<class T>
void boost::optional_detail::optional_base< T >::construct ( rval_reference_type  val)
inlineprotected

Definition at line 483 of file optional/optional.hpp.

template<class T>
template<class Expr >
void boost::optional_detail::optional_base< T >::construct ( Expr &&  factory,
in_place_factory_base const *   
)
inlineprotected

Definition at line 532 of file optional/optional.hpp.

template<class T>
template<class Expr >
void boost::optional_detail::optional_base< T >::construct ( Expr &&  factory,
typed_in_place_factory_base const *   
)
inlineprotected

Definition at line 541 of file optional/optional.hpp.

template<class T>
template<class Expr >
void boost::optional_detail::optional_base< T >::construct ( Expr &&  expr,
void const *   
)
inlineprotected

Definition at line 606 of file optional/optional.hpp.

template<class T>
reference_const_type boost::optional_detail::optional_base< T >::dereference ( internal_type const *  p,
is_not_reference_tag   
) const
inlineprivate

Definition at line 727 of file optional/optional.hpp.

template<class T>
reference_type boost::optional_detail::optional_base< T >::dereference ( internal_type p,
is_not_reference_tag   
)
inlineprivate

Definition at line 728 of file optional/optional.hpp.

template<class T>
reference_const_type boost::optional_detail::optional_base< T >::dereference ( internal_type const *  p,
is_reference_tag   
) const
inlineprivate

Definition at line 729 of file optional/optional.hpp.

template<class T>
reference_type boost::optional_detail::optional_base< T >::dereference ( internal_type p,
is_reference_tag   
)
inlineprivate

Definition at line 730 of file optional/optional.hpp.

template<class T>
void boost::optional_detail::optional_base< T >::destroy ( )
inlineprotected

Definition at line 694 of file optional/optional.hpp.

template<class T>
void boost::optional_detail::optional_base< T >::destroy_impl ( is_not_reference_tag  )
inlineprivate

Definition at line 735 of file optional/optional.hpp.

template<class T>
void boost::optional_detail::optional_base< T >::destroy_impl ( is_reference_tag  )
inlineprivate

Definition at line 738 of file optional/optional.hpp.

template<class T>
template<class... Args>
void boost::optional_detail::optional_base< T >::emplace_assign ( Args &&...  args)
inlineprotected

Definition at line 495 of file optional/optional.hpp.

template<class T>
reference_const_type boost::optional_detail::optional_base< T >::get_impl ( ) const
inlineprotected

Definition at line 700 of file optional/optional.hpp.

template<class T>
reference_type boost::optional_detail::optional_base< T >::get_impl ( )
inlineprotected

Definition at line 701 of file optional/optional.hpp.

template<class T>
internal_type const* boost::optional_detail::optional_base< T >::get_object ( ) const
inlineprivate

Definition at line 722 of file optional/optional.hpp.

template<class T>
internal_type* boost::optional_detail::optional_base< T >::get_object ( )
inlineprivate

Definition at line 723 of file optional/optional.hpp.

template<class T>
pointer_const_type boost::optional_detail::optional_base< T >::get_ptr ( ) const
inline

Definition at line 469 of file optional/optional.hpp.

template<class T>
pointer_type boost::optional_detail::optional_base< T >::get_ptr ( )
inline

Definition at line 470 of file optional/optional.hpp.

template<class T>
pointer_const_type boost::optional_detail::optional_base< T >::get_ptr_impl ( ) const
inlineprotected

Definition at line 703 of file optional/optional.hpp.

template<class T>
pointer_type boost::optional_detail::optional_base< T >::get_ptr_impl ( )
inlineprotected

Definition at line 704 of file optional/optional.hpp.

template<class T>
bool boost::optional_detail::optional_base< T >::is_initialized ( ) const
inline

Definition at line 472 of file optional/optional.hpp.

template<class T>
void boost::optional_detail::optional_base< T >::reset ( void  )
inline

Definition at line 461 of file optional/optional.hpp.

template<class T>
void boost::optional_detail::optional_base< T >::reset ( argument_type  val)
inline

Definition at line 464 of file optional/optional.hpp.

Member Data Documentation

template<class T>
bool boost::optional_detail::optional_base< T >::m_initialized
private

Definition at line 748 of file optional/optional.hpp.

template<class T>
storage_type boost::optional_detail::optional_base< T >::m_storage
private

Definition at line 749 of file optional/optional.hpp.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:35