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;
The class for EcatSino data write operation.
void setSizeX(float sizex)
void setSizeY(float sizey)
carto::AllocatorContext Allocator
compatibility typedef - NEVER USE IT
A process to read an object of type T, even if the type on file is different.
TConvertorFamily convertor_type
A class to read an object of type T, even if the type on file is different.
Link mechanism between the Finder and a process operating on arbitrary data types.
void setSizeZ(float sizez)
AnyTypeReaderProcess< T, TConvertorFamily > Base