Shared pointer to a built-in variable. More...
#include <BuiltinPointer.h>
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... | |
Shared pointer to a built-in variable.
Definition at line 32 of file BuiltinPointer.h.
typedef type_traits::BuiltinType<T>::ValueType variant_topic_tools::BuiltinPointer< T >::ValueType |
Definition of the built-in value type.
Definition at line 39 of file BuiltinPointer.h.
variant_topic_tools::BuiltinPointer< T >::BuiltinPointer | ( | ValueType * | builtin = 0 | ) |
Default constructor.
variant_topic_tools::BuiltinPointer< T >::BuiltinPointer | ( | const boost::shared_ptr< ValueType > & | builtin | ) |
Constructor (overloaded version taking a built-in pointer.
variant_topic_tools::BuiltinPointer< T >::BuiltinPointer | ( | const BuiltinPointer< T > & | src | ) |
Copy constructor.
variant_topic_tools::BuiltinPointer< T >::BuiltinPointer | ( | const Pointer< ValueType > & | src | ) |
Copy constructor (overloaded version taking a pointer)
variant_topic_tools::BuiltinPointer< T >::~BuiltinPointer | ( | ) |
Destructor.
variant_topic_tools::BuiltinPointer< T >::BOOST_STATIC_ASSERT | ( | type_traits::IsBuiltin< T >::value | ) |