LCIO  02.17
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Typedefs | Functions
cpointer.h File Reference
#include <vector>
+ Include dependency graph for cpointer.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CFORTRANPNTR   LONG
 
#define CFORTRANPNTRV   LONGV
 
#define C2F_POINTER(T, ptr)   reinterpret_cast<PTRTYPE>( dynamic_cast<T>( (ptr) ) )
 

Typedefs

typedef long PTRTYPE
 Fortran interface - define the length of pointers this has to made machine independent ... More...
 
typedef std::vector< PTRTYPEPointerVec
 

Functions

template<class T , class O >
T * f2c_pointer (PTRTYPE ptr)
 Template for casting from integers to LCIO classes First template is the resulting type, second argument is the original type that was used when the pointer was passed to fortran. More...
 

Macro Definition Documentation

#define C2F_POINTER (   T,
  ptr 
)    reinterpret_cast<PTRTYPE>( dynamic_cast<T>( (ptr) ) )
CFORTRANPNTR CFORTRANPNTR CFORTRANPNTR   LONG

Definition at line 13 of file cpointer.h.

#define CFORTRANPNTRV   LONGV

Definition at line 14 of file cpointer.h.

Typedef Documentation

Definition at line 17 of file cpointer.h.

typedef long PTRTYPE

Fortran interface - define the length of pointers this has to made machine independent ...

Author
Vogt
Version
Sep 30, 2003 Mar 19, 2004 (PTRTYPE changed to long - 64bit compatibility

Definition at line 12 of file cpointer.h.

Function Documentation

template<class T , class O >
T* f2c_pointer ( PTRTYPE  ptr)

Template for casting from integers to LCIO classes First template is the resulting type, second argument is the original type that was used when the pointer was passed to fortran.

Definition at line 24 of file cpointer.h.