Classes | Public Types | Public Member Functions | List of all members
variant_topic_tools::BuiltinPointer< T > Class Template Reference

Shared pointer to a built-in variable. More...

#include <BuiltinPointer.h>

Inheritance diagram for variant_topic_tools::BuiltinPointer< T >:
Inheritance graph
[legend]

Classes

class  Impl
 Built-in pointer implementation. More...
 

Public Types

typedef type_traits::BuiltinType< T >::ValueType ValueType
 Definition of the built-in value type. More...
 

Public Member Functions

 BOOST_STATIC_ASSERT (type_traits::IsBuiltin< T >::value)
 
 BuiltinPointer (ValueType *builtin=0)
 Default constructor. More...
 
 BuiltinPointer (const boost::shared_ptr< ValueType > &builtin)
 Constructor (overloaded version taking a built-in pointer. More...
 
 BuiltinPointer (const BuiltinPointer< T > &src)
 Copy constructor. More...
 
 BuiltinPointer (const Pointer< ValueType > &src)
 Copy constructor (overloaded version taking a pointer) More...
 
 ~BuiltinPointer ()
 Destructor. More...
 
- Public Member Functions inherited from variant_topic_tools::Pointer< type_traits::BuiltinType< T >::ValueType >
type_traits::BuiltinType< T >::ValueType * get () const
 Retrieve the stored pointer. More...
 
 operator void * () const
 Void pointer conversion. More...
 
bool operator!= (const Pointer< type_traits::BuiltinType< T >::ValueType > &pointer) const
 Inequality comparison operator. More...
 
type_traits::BuiltinType< T >::ValueType & operator* () const
 Reference operator. More...
 
type_traits::BuiltinType< T >::ValueType * operator-> () const
 Pointer operator. More...
 
bool operator== (const Pointer< type_traits::BuiltinType< T >::ValueType > &pointer) const
 Equality comparison operator. More...
 
 Pointer (type_traits::BuiltinType< T >::ValueType *pointer=0)
 Default constructor. More...
 
 Pointer (const Pointer< type_traits::BuiltinType< T >::ValueType > &src)
 Copy constructor. More...
 
void reset ()
 Reset this pointer. More...
 
 ~Pointer ()
 Destructor. More...
 

Additional Inherited Members

- Protected Types inherited from variant_topic_tools::Pointer< type_traits::BuiltinType< T >::ValueType >
typedef boost::shared_ptr< ImplA > ImplPtr
 Declaration of the pointer implementation pointer type. More...
 
typedef boost::weak_ptr< ImplA > ImplWPtr
 Declaration of the pointer implementation weak pointer type. More...
 
- Protected Attributes inherited from variant_topic_tools::Pointer< type_traits::BuiltinType< T >::ValueType >
ImplPtr impl
 The pointer's implementation. More...
 

Detailed Description

template<typename T>
class variant_topic_tools::BuiltinPointer< T >

Shared pointer to a built-in variable.

Definition at line 32 of file BuiltinPointer.h.

Member Typedef Documentation

Definition of the built-in value type.

Definition at line 39 of file BuiltinPointer.h.

Constructor & Destructor Documentation

template<typename T>
variant_topic_tools::BuiltinPointer< T >::BuiltinPointer ( ValueType builtin = 0)

Default constructor.

template<typename T>
variant_topic_tools::BuiltinPointer< T >::BuiltinPointer ( const boost::shared_ptr< ValueType > &  builtin)

Constructor (overloaded version taking a built-in pointer.

template<typename T>
variant_topic_tools::BuiltinPointer< T >::BuiltinPointer ( const BuiltinPointer< T > &  src)

Copy constructor.

template<typename T>
variant_topic_tools::BuiltinPointer< T >::BuiltinPointer ( const Pointer< ValueType > &  src)

Copy constructor (overloaded version taking a pointer)

template<typename T>
variant_topic_tools::BuiltinPointer< T >::~BuiltinPointer ( )

Destructor.

Member Function Documentation

template<typename T>
variant_topic_tools::BuiltinPointer< T >::BOOST_STATIC_ASSERT ( type_traits::IsBuiltin< T >::value  )

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


variant_topic_tools
Author(s): Ralf Kaestner
autogenerated on Sat Jan 9 2021 03:56:50