34 #ifndef SOMAIO_DATASOURCEINFO_DATASOURCECAPABILITIES_H 35 #define SOMAIO_DATASOURCEINFO_DATASOURCECAPABILITIES_H 107 void setInit(
const bool & boo =
true );
void setSeekSlice(const bool &boo=true)
carto::rc_ptr< DataSource > mappableDataSource() const
unsigned int _capabilities
From LSB to MSB :
void setHandleStrides(const bool &boo=true)
bool canSeekSlice() const
bool canHandleStrides() const
bool isInit() const
Did we initialize the capabilities ? default : false Since a DataSourceInfo can be either fully initi...
bool allowsMemoryMapping() const
bool canSeekVoxel() const
void setMemoryMapping(const bool &boo=true)
Reading/Writing Capabilities of a FormatReader.
bool isThreadSafe() const
bool isRandomAccessEfficient() const
void setSeekVoxel(const bool &boo=true)
carto::rc_ptr< DataSource > _mds
In a case where memory mapping is allowed, it is necessary to tell the AllocatorContext which DataSou...
void setThreadSafe(const bool &boo=true)
void setSeekVolume(const bool &boo=true)
void setOrdered(const bool &boo=true)
void setRandomAccessEfficient(const bool &boo=true)
bool canSeekVolume() const
virtual ~DataSourceCapabilities()
void setSeekLine(const bool &boo=true)
void reset()
Sets the whole capabilities to its default value (including isInit() to false )
void setInit(const bool &boo=true)
void setDataSource(const carto::rc_ptr< DataSource > ds)