ARTS  1.0.222
Public Member Functions | Private Attributes | List of all members
WsvPointer< T > Class Template Reference

Template for Wsv Pointers. More...

#include <wsv_aux.h>

Inheritance diagram for WsvPointer< T >:
WsvP

Public Member Functions

 WsvPointer (T *x)
 
 operator T* ()
 
- Public Member Functions inherited from WsvP
virtual operator Index * ()
 
virtual operator Numeric * ()
 
virtual operator String * ()
 
virtual operator Vector * ()
 
virtual operator Matrix * ()
 
virtual operator ArrayOfIndex * ()
 
virtual operator ArrayOfString * ()
 
virtual operator ArrayOfVector * ()
 
virtual operator ArrayOfMatrix * ()
 
virtual operator ArrayOfLineRecord * ()
 
virtual operator ArrayOfArrayOfLineRecord * ()
 
virtual operator ArrayOfLineshapeSpec * ()
 
virtual operator TagGroups * ()
 
virtual operator Los * ()
 
virtual ~WsvP ()
 

Private Attributes

T * mx
 

Detailed Description

template<class T>
class WsvPointer< T >

Template for Wsv Pointers.

This defines for each pointer class the conversion operator back to the type that it is pointing to.

This makes it possible to store arbitrary pointers in an array of pointers to WsvP.

Author
Stefan Buehler

Definition at line 42 of file wsv_aux.h.

Constructor & Destructor Documentation

◆ WsvPointer()

template<class T >
WsvPointer< T >::WsvPointer ( T *  x)
inline

Definition at line 44 of file wsv_aux.h.

Member Function Documentation

◆ operator T*()

template<class T >
WsvPointer< T >::operator T* ( )
inline

Definition at line 45 of file wsv_aux.h.

Member Data Documentation

◆ mx

template<class T >
T* WsvPointer< T >::mx
private

Definition at line 47 of file wsv_aux.h.


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