1 #ifndef Fireworks_Core_FWItemTVirtualCollectionProxyAccessor_h
2 #define Fireworks_Core_FWItemTVirtualCollectionProxyAccessor_h
23 #include "boost/shared_ptr.hpp"
29 class TVirtualCollectionProxy;
35 boost::shared_ptr<TVirtualCollectionProxy> iProxy,
40 virtual const void*
modelData(
int iIndex)
const ;
41 virtual const void*
data()
const;
42 virtual unsigned int size()
const;
44 const TClass*
type()
const;
51 void setData(
const Reflex::Object& );
bool isCollection() const
FWItemTVirtualCollectionProxyAccessor(const TClass *iType, boost::shared_ptr< TVirtualCollectionProxy > iProxy, size_t iOffset=0)
virtual const void * modelData(int iIndex) const
boost::shared_ptr< TVirtualCollectionProxy > m_colProxy
virtual ~FWItemTVirtualCollectionProxyAccessor()
virtual const void * data() const
void setData(const Reflex::Object &)
override if id of an object should be different than the index
const TClass * modelType() const
virtual unsigned int size() const
const FWItemTVirtualCollectionProxyAccessor & operator=(const FWItemTVirtualCollectionProxyAccessor &)
const TClass * type() const