![]() |
aimsdata
5.0.5
Neuroimaging data handling
|
GE Genesis format header. More...
#include <aims/io/genesisheader.h>
Public Member Functions | |
GenesisHeader (const std::string &name, int dimx=0, int dimy=0, int dimz=0, int dimt=0, float sx=1, float sy=1, float sz=1, float st=1, const std::string &dtype="S16") | |
virtual | ~GenesisHeader () |
int | dimX () const |
int | dimY () const |
int | dimZ () const |
int | dimT () const |
float | sizeX () const |
float | sizeY () const |
float | sizeZ () const |
float | sizeT () const |
std::string | dataType () const |
std::string | name () const |
int | compressCode () const |
int | dataOffset () const |
bool | byteSwapping () const |
virtual std::string | extension () const |
standard file format extension of specialized headers More... | |
virtual std::set< std::string > | extensions () const |
possible filename extensions for specialized formats More... | |
void | read () |
![]() | |
PythonHeader () | |
PythonHeader (const internal::PythonHeaderType &) | |
PythonHeader (const PythonHeader &) | |
PythonHeader (carto::Headered &) | |
initialization by reference More... | |
virtual | ~PythonHeader () |
virtual PythonHeader & | operator= (const PythonHeader &) |
virtual const char * | id () const |
virtual bool | readMinf (const std::string &filename) |
read meta-info header More... | |
virtual bool | writeMinf (const std::string &filename) |
write meta-info header, non-const version (may change some attributes) More... | |
virtual bool | writeMinf (const std::string &filename) const |
write meta-info header More... | |
virtual Header * | cloneHeader (bool keepUuid=false) const |
virtual void | copy (const PythonHeader &, bool keepUuid=false) |
virtual bool | isScalar () const |
virtual bool | isString () const |
virtual bool | isArray () const |
virtual bool | isDynArray () const |
virtual bool | isIterator () const |
virtual bool | isDictionaryIterator () const |
![]() | |
PointerObject (T &x, bool owner) | |
virtual | ~PointerObject () |
virtual T & | getValue () |
virtual Object | clone () const |
![]() | |
TypedObject () | |
virtual | ~TypedObject () |
const T & | getValue () const |
virtual void | setValue (Object val) |
virtual std::string | type () const |
virtual double | getScalar () const |
virtual void | setScalar (double) |
virtual std::string | getString () const |
virtual void | setString (const std::string &) |
virtual Object | getArrayItem (int index) const |
virtual void | setArrayItem (int, Object) |
virtual size_t | size () const |
virtual void | reserveArray (size_t) |
virtual void | resizeArray (size_t) |
virtual void | removeArrayItem (int) |
virtual void | insertArrayItem (int, Object) |
virtual bool | getProperty (const std::string &, Object &) const |
virtual bool | isDictionary () const |
virtual void | setProperty (const std::string &, Object) |
virtual bool | removeProperty (const std::string &) |
virtual bool | hasProperty (const std::string &) const |
virtual void | clearProperties () |
virtual bool | isIterable () const |
virtual Object | objectIterator () const |
virtual bool | isValid () const |
virtual Object | currentValue () const |
virtual void | next () |
virtual bool | isKeyIterator () const |
virtual Object | keyObject () const |
virtual std::string | key () const |
virtual bool | isIntKeyIterator () const |
virtual long | intKey () const |
virtual bool | isNone () const |
virtual bool | operator== (const GenericObject &other) const |
![]() | |
virtual | ~GenericObject () |
const T & | value () const |
T & | value () |
bool | value (T &) const |
void | setValue (const T &val) |
T * | getInterface () |
const T * | getInterface () const |
virtual bool | operator!= (const GenericObject &other) const |
![]() | |
RCObject () | |
RCObject (const RCObject &) | |
RCObject & | operator= (const RCObject &) |
virtual | ~RCObject () |
![]() | |
virtual | ~StringInterface () |
virtual bool | operator== (const StringInterface &other) const |
virtual bool | operator!= (const StringInterface &other) const |
![]() | |
virtual | ~Interface () |
![]() | |
virtual | ~ScalarInterface () |
virtual bool | operator== (const ScalarInterface &other) const |
virtual bool | operator!= (const ScalarInterface &other) const |
![]() | |
virtual | ~DynArrayInterface () |
![]() | |
virtual | ~ArrayInterface () |
![]() | |
virtual | ~SizeInterface () |
![]() | |
virtual | ~IterableInterface () |
virtual bool | operator== (const IterableInterface &other) const |
virtual bool | operator!= (const IterableInterface &other) const |
![]() | |
virtual | ~DictionaryInterface () |
Object | getProperty (const std::string &) const |
Object | getProperty (Object key) const |
bool | getProperty (const std::string &key, T &value) const |
void | setProperty (const std::string &, const char *) |
void | setProperty (const std::string &, const T &) |
virtual void | copyProperties (Object source) |
virtual bool | operator== (const DictionaryInterface &other) const |
virtual bool | operator!= (const DictionaryInterface &other) const |
void | setProperty (const std::string &key, Object const &value) |
bool | getProperty (const std::string &key, Object &value) const |
![]() | |
virtual | ~IteratorInterface () |
![]() | |
virtual | ~KeyIteratorInterface () |
![]() | |
virtual | ~DictionaryIteratorInterface () |
![]() | |
virtual | ~IntKeyIteratorInterface () |
![]() | |
virtual | ~NoneInterface () |
![]() | |
virtual | ~Header ()=0 |
virtual std::string | extension (const std::string &filename) const |
extension of given filename (including '.') More... | |
virtual std::string | removeExtension (const std::string &) const |
Additional Inherited Members | |
![]() | |
typedef int | RefCounterType |
![]() | |
static carto::SyntaxSet * | syntax () |
![]() | |
virtual Interface * | _getGenericInterface ()=0 |
virtual const void * | _getAddressOfValue () const=0 |
GE Genesis format header.
Definition at line 50 of file genesisheader.h.
aims::GenesisHeader::GenesisHeader | ( | const std::string & | name, |
int | dimx = 0 , |
||
int | dimy = 0 , |
||
int | dimz = 0 , |
||
int | dimt = 0 , |
||
float | sx = 1 , |
||
float | sy = 1 , |
||
float | sz = 1 , |
||
float | st = 1 , |
||
const std::string & | dtype = "S16" |
||
) |
|
virtual |
|
inline |
Definition at line 72 of file genesisheader.h.
Referenced by aims::GenesisReader< T >::read().
|
inline |
Definition at line 70 of file genesisheader.h.
Referenced by aims::GenesisReader< T >::read().
|
inline |
Definition at line 71 of file genesisheader.h.
Referenced by aims::GenesisReader< T >::read().
|
inline |
Definition at line 68 of file genesisheader.h.
Referenced by aims::GenesisReader< T >::read().
|
inline |
Definition at line 62 of file genesisheader.h.
Referenced by aims::GenesisReader< T >::read().
|
inline |
Definition at line 59 of file genesisheader.h.
Referenced by aims::GenesisReader< T >::read().
|
inline |
Definition at line 60 of file genesisheader.h.
Referenced by aims::GenesisReader< T >::read().
|
inline |
Definition at line 61 of file genesisheader.h.
Referenced by aims::GenesisReader< T >::read().
|
inlinevirtual |
standard file format extension of specialized headers
Reimplemented from aims::Header.
Definition at line 74 of file genesisheader.h.
|
virtual |
possible filename extensions for specialized formats
Reimplemented from aims::Header.
|
inline |
Definition at line 69 of file genesisheader.h.
void aims::GenesisHeader::read | ( | ) |
Referenced by aims::GenesisReader< T >::read().
|
inline |
Definition at line 66 of file genesisheader.h.
Referenced by aims::GenesisReader< T >::read().
|
inline |
Definition at line 63 of file genesisheader.h.
Referenced by aims::GenesisReader< T >::read().
|
inline |
Definition at line 64 of file genesisheader.h.
Referenced by aims::GenesisReader< T >::read().
|
inline |
Definition at line 65 of file genesisheader.h.
Referenced by aims::GenesisReader< T >::read().