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 33 of file FWHandle.h.

Constructor & Destructor Documentation

FWHandle::FWHandle ( )
inline

Definition at line 37 of file FWHandle.h.

37  : data(0) {
38  }
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 56 of file FWHandle.h.

References FWEventItem::data(), and data_.

56  {
57  data_ = reinterpet_cast<const T*>(
59  );
60  }
const void * data(const std::type_info &) const
Definition: FWEventItem.cc:393
const T * data_
Definition: FWHandle.h:68
long double T
const T& FWHandle::operator* ( void  ) const
inline

Definition at line 50 of file FWHandle.h.

References data_.

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

Definition at line 46 of file FWHandle.h.

References data_.

46  {
47  return data_;
48  }
const T * data_
Definition: FWHandle.h:68

Member Data Documentation

const T* FWHandle::data_
private

Definition at line 68 of file FWHandle.h.

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