CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
FWHandle Class Reference

#include <Fireworks/Core/interface/FWHandle.h>

Public Member Functions

 FWHandle ()
 
const Tget () const
 
void getFrom (const FWEventItem &iItem)
 
const Toperator* () const
 
const Toperator-> () const
 

Private Attributes

const Tdata_
 

Detailed Description

Description: Used to get a particular data item from a FWEventItem

Usage: <usage>

Definition at line 32 of file FWHandle.h.

Constructor & Destructor Documentation

FWHandle::FWHandle ( )
inline

Definition at line 36 of file FWHandle.h.

36  : data(0) {
37  }
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82

Member Function Documentation

const T* FWHandle::get ( void  ) const
inline
void FWHandle::getFrom ( const FWEventItem iItem)
inline

Definition at line 55 of file FWHandle.h.

References FWEventItem::data(), and data_.

55  {
56  data_ = reinterpet_cast<const T*>(
58  );
59  }
const void * data(const std::type_info &) const
Definition: FWEventItem.cc:392
const T * data_
Definition: FWHandle.h:67
long double T
const T& FWHandle::operator* ( void  ) const
inline

Definition at line 49 of file FWHandle.h.

References data_.

49  {
50  return *data_;
51  }
const T * data_
Definition: FWHandle.h:67
const T* FWHandle::operator-> ( ) const
inline

Definition at line 45 of file FWHandle.h.

References data_.

45  {
46  return data_;
47  }
const T * data_
Definition: FWHandle.h:67

Member Data Documentation

const T* FWHandle::data_
private

Definition at line 67 of file FWHandle.h.

Referenced by get(), getFrom(), operator*(), and operator->().