Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Wrapper< T > Class Template Reference

#include <Object.h>

Inheritance diagram for Wrapper< T >:
Collaboration diagram for Wrapper< T >:

Public Member Functions

 Wrapper (const T &object)
 
 Wrapper ()
 
 operator T ()
 
virtual ~Wrapper ()
 
- Public Member Functions inherited from Object_base
virtual ~Object_base ()
 
- Public Member Functions inherited from Ref_counted
 Ref_counted ()
 
 Ref_counted (const Ref_counted &)
 
void add_reference ()
 
void remove_reference ()
 
bool is_referenced ()
 
bool is_shared ()
 

Private Attributes

_object
 

Additional Inherited Members

- Protected Attributes inherited from Ref_counted
unsigned int count
 

Detailed Description

template<class T>
class CGAL::Wrapper< T >

Definition at line 66 of file Object.h.

Constructor & Destructor Documentation

Wrapper ( const T &  object)
inline

Definition at line 80 of file Object.h.

80 : _object(object) {}
Wrapper ( )
inline

Definition at line 82 of file Object.h.

82 {}
virtual ~Wrapper ( )
inlinevirtual

Definition at line 86 of file Object.h.

86 {}

Member Function Documentation

operator T ( )
inline

Definition at line 84 of file Object.h.

References Wrapper< T >::_object.

84 { return _object; }

Member Data Documentation

T _object
private

Definition at line 89 of file Object.h.

Referenced by Wrapper< T >::operator T().


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