33 #ifndef AIMS_ANYTYPE_READER_H 
   34 #define AIMS_ANYTYPE_READER_H 
   55     template < 
typename T1, 
typename T2 >
 
   60     template < 
typename T1, 
typename T2 >
 
   78     template < 
typename T1, 
typename T2 >
 
   79     class RawConverterWithAllocation
 
   85       RawConverterWithAllocation()
 
   94       void convert(
const T1 & in, T2 & out)
 const 
   97         m_cartoConverter.convert(in, out);
 
  103       Allocator<T1,T2>              m_allocator;
 
  113     template < 
template <
typename, 
typename> 
class TArg2 >
 
  116       template <
typename T1, 
typename T2 >
 
  119         typedef TArg2<T1, T2> type;
 
  136   template < 
typename T, 
typename TConvertorFamily = TArgWrapper2<RawConverterWithAllocation> >
 
  155     T       & 
get()       { 
return m_res; }
 
  157     T 
const & 
get()
 const { 
return m_res; }
 
  161     void registerProcesses();
 
  193   template < 
typename T, 
typename TConvertorFamily = TArgWrapper2<RawConverterWithAllocation> >
 
  215     std::string m_filename;
 
void setSizeY(float sizey)
void setSizeZ(float sizez)
void setSizeX(float sizex)
A process to read an object of type T, even if the type on file is different.
AnyTypeReaderProcess(const T &init)
Initialize result with init.
T & get()
Get data loaded from file.
T const  & get() const
Get data loaded from file.
TConvertorFamily convertor_type
A class to read an object of type T, even if the type on file is different.
void read(T &out)
read file and get result.
AnyTypeReader(std::string filename)
initialize with the name of the file to be read.
AnyTypeReaderProcess< T, TConvertorFamily > Base
Link mechanism between the Finder and a process operating on arbitrary data types.
The class for EcatSino data write operation.
carto::AllocatorContext Allocator
compatibility typedef - NEVER USE IT