CMS 3D CMS Logo

Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes

FWProxyBuilderTemplate< T > Class Template Reference

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

Inheritance diagram for FWProxyBuilderTemplate< T >:
FWProxyBuilderBase

List of all members.

Public Member Functions

 FWProxyBuilderTemplate ()
virtual ~FWProxyBuilderTemplate ()

Protected Member Functions

const TmodelData (int index)

Private Member Functions

 FWProxyBuilderTemplate (const FWProxyBuilderTemplate &)
virtual void itemChangedImp (const FWEventItem *iItem)
const FWProxyBuilderTemplateoperator= (const FWProxyBuilderTemplate &)

Private Attributes

FWSimpleProxyHelper m_helper

Detailed Description

template<typename T>
class FWProxyBuilderTemplate< T >

Description: <one line="" class="" summary>="">

Usage:s <usage>

Definition at line 32 of file FWProxyBuilderTemplate.h.


Constructor & Destructor Documentation

template<typename T>
FWProxyBuilderTemplate< T >::FWProxyBuilderTemplate ( ) [inline]

Definition at line 35 of file FWProxyBuilderTemplate.h.

: m_helper(typeid(T)) {}
template<typename T>
virtual FWProxyBuilderTemplate< T >::~FWProxyBuilderTemplate ( ) [inline, virtual]

Definition at line 36 of file FWProxyBuilderTemplate.h.

{}
template<typename T>
FWProxyBuilderTemplate< T >::FWProxyBuilderTemplate ( const FWProxyBuilderTemplate< T > &  ) [private]

Member Function Documentation

template<typename T>
virtual void FWProxyBuilderTemplate< T >::itemChangedImp ( const FWEventItem iItem) [inline, private, virtual]

Definition at line 52 of file FWProxyBuilderTemplate.h.

{ if (iItem) m_helper.itemChanged(iItem); }
template<typename T>
const T& FWProxyBuilderTemplate< T >::modelData ( int  index) [inline, protected]

Definition at line 45 of file FWProxyBuilderTemplate.h.

Referenced by FWProxyBuilderTemplate< EcalRecHit >::modelData().

{ return *reinterpret_cast<const T*>(m_helper.offsetObject(item()->modelData(index))); }
template<typename T>
const FWProxyBuilderTemplate& FWProxyBuilderTemplate< T >::operator= ( const FWProxyBuilderTemplate< T > &  ) [private]

Member Data Documentation

template<typename T>
FWSimpleProxyHelper FWProxyBuilderTemplate< T >::m_helper [private]