Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
Maybe< T > Class Template Reference

XXX use pointer instead?? XXX not used?? More...

#include <utils.h>

List of all members.

Public Member Functions

 Maybe (const Maybe< T > &_obj)
 operator bool ()
bool operator!= (const Maybe< T > &_obj) const
bool operator== (const Maybe< T > &_obj) const
T & value () const

Static Public Member Functions

static Maybe< T > yes (const T &_obj)

Static Public Attributes

static const Maybe< T > no

Private Member Functions

 Maybe ()

Private Attributes

T * obj

Detailed Description

template<typename T>
class Maybe< T >

XXX use pointer instead?? XXX not used??

Definition at line 204 of file utils.h.


Constructor & Destructor Documentation

template<typename T>
Maybe< T >::Maybe ( ) [inline, private]

Definition at line 207 of file utils.h.

template<typename T>
Maybe< T >::Maybe ( const Maybe< T > &  _obj) [inline]

Definition at line 240 of file utils.h.


Member Function Documentation

template<typename T>
Maybe< T >::operator bool ( ) [inline]

Definition at line 224 of file utils.h.

template<typename T>
bool Maybe< T >::operator!= ( const Maybe< T > &  _obj) const [inline]

Definition at line 236 of file utils.h.

template<typename T>
bool Maybe< T >::operator== ( const Maybe< T > &  _obj) const [inline]

Definition at line 228 of file utils.h.

template<typename T>
T& Maybe< T >::value ( ) const [inline]

Definition at line 219 of file utils.h.

template<typename T>
static Maybe<T> Maybe< T >::yes ( const T &  _obj) [inline, static]

Definition at line 213 of file utils.h.


Member Data Documentation

template<typename T>
const Maybe<T> Maybe< T >::no [static]

Definition at line 212 of file utils.h.

template<typename T>
T* Maybe< T >::obj [private]

Definition at line 205 of file utils.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


pose_estimation
Author(s): Jiri Divis/jiridivis@gmail.com
autogenerated on Wed Mar 27 2013 21:00:15