#include <Fireworks/Core/interface/FWHandle.h>
Public Member Functions | |
FWHandle () | |
const T * | get () const |
void | getFrom (const FWEventItem &iItem) |
const T & | operator* () const |
const T * | operator-> () const |
Private Attributes | |
const T * | data_ |
Description: Used to get a particular data item from a FWEventItem
Usage: <usage>
Definition at line 33 of file FWHandle.h.
FWHandle::FWHandle | ( | ) | [inline] |
Definition at line 37 of file FWHandle.h.
: data(0) { }
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_.
{ data_ = reinterpet_cast<const T*>( iItem.data(edm::Wrapper<T>::productTypeInfo()) ); }
const T& FWHandle::operator* | ( | void | ) | const [inline] |
const T* FWHandle::operator-> | ( | ) | const [inline] |
const T* FWHandle::data_ [private] |
Definition at line 68 of file FWHandle.h.
Referenced by get(), getFrom(), operator*(), and operator->().