Beispiel #1
0
 ReturnType operator()( typename T::ConstPtr data ) const
 {
     const typename T::BaseType *begin = data->baseReadable();
     const typename T::BaseType *end = begin + data->baseSize();
     for( ; begin != end; begin++ )
     {
         m_container.push_back( (typename Container::value_type)*begin );
     }
     return true;
 }
	ReturnType operator()( typename T::ConstPtr data ) const
	{
		return sizeof( typename T::BaseType ) * data->baseSize();
	}