Public Member Functions | |
| DataInterpreter (const DataCharacteristics &, bool ignoreendianness=false) | |
| DataInterpreter (const DataInterpreter< T > &) | |
| void | set (const DataCharacteristics &, bool ignoreendianness=false) |
| use ignoreendianness when you pre-byteswap the data | |
| DataInterpreter< T > & | operator= (const DataInterpreter< T > &) |
| DataInterpreter< T > & | operator= (const DataCharacteristics &dc) |
| bool | needSwap () const |
| void | swap (void *buf, od_int64 bufsz_in_elements) const |
| T | get (std::istream &) const |
| T | get (const void *buf, od_int64 nr) const |
| void | put (void *buf, od_int64 nr, T t) const |
| bool | operator== (const DataInterpreter &di) const |
| bool | operator!= (const DataInterpreter &di) const |
| bool | isSUCompat () const |
| int | nrBytes () const |
| DataCharacteristics | dataChar () const |
| template<> | |
| void | set (const DataCharacteristics &dc, bool ignend) |
| template<> | |
| DataInterpreter (const DataCharacteristics &dc, bool ignend) | |
| template<> | |
| DataInterpreter (const DataInterpreter &di) | |
| template<> | |
| DataInterpreter< mTheType > & | operator= (const DataInterpreter< mTheType > &di) |
| template<> | |
| int | nrBytes () const |
| template<> | |
| DataCharacteristics | dataChar () const |
| template<> | |
| bool | needSwap () const |
Static Public Member Functions | |
| static DataInterpreter< T > | create () |
| static DataInterpreter< T > * | create (const DataCharacteristics &, bool alsoifequal) |
| static DataInterpreter< T > * | create (const char *, bool alsoifequal) |
| static DataInterpreter< T > * | create (const IOPar &par, const char *key, bool alsoifequal) |
| static T | get (const DataInterpreter< T > *, std::istream &) |
Protected Types | |
| typedef T(DataInterpreter< T >::* | GetFn )(const void *, od_int64) const |
| typedef void(DataInterpreter < T >::* | PutFn )(void *, od_int64, T) const |
| typedef void(DataInterpreter < T >::* | SwapFn )(void *, od_int64) const |
Protected Member Functions | |
| void | swap2 (void *, od_int64) const |
| void | swap4 (void *, od_int64) const |
| void | swap8 (void *, od_int64) const |
| T | getS1 (const void *, od_int64) const |
| T | getS2 (const void *, od_int64) const |
| T | getS4 (const void *, od_int64) const |
| T | getS8 (const void *, od_int64) const |
| T | getU1 (const void *, od_int64) const |
| T | getU2 (const void *, od_int64) const |
| T | getU4 (const void *, od_int64) const |
| T | getF (const void *, od_int64) const |
| T | getD (const void *, od_int64) const |
| T | getS2Ibm (const void *, od_int64) const |
| T | getS4Ibm (const void *, od_int64) const |
| T | getFIbm (const void *, od_int64) const |
| T | getS2swp (const void *, od_int64) const |
| T | getS4swp (const void *, od_int64) const |
| T | getS8swp (const void *, od_int64) const |
| T | getU2swp (const void *, od_int64) const |
| T | getU4swp (const void *, od_int64) const |
| T | getFswp (const void *, od_int64) const |
| T | getDswp (const void *, od_int64) const |
| T | getS2Ibmswp (const void *, od_int64) const |
| T | getS4Ibmswp (const void *, od_int64) const |
| T | getFIbmswp (const void *, od_int64) const |
| void | putS1 (void *, od_int64, T) const |
| void | putS2 (void *, od_int64, T) const |
| void | putS4 (void *, od_int64, T) const |
| void | putS8 (void *, od_int64, T) const |
| void | putU1 (void *, od_int64, T) const |
| void | putU2 (void *, od_int64, T) const |
| void | putU4 (void *, od_int64, T) const |
| void | putF (void *, od_int64, T) const |
| void | putD (void *, od_int64, T) const |
| void | putS2Ibm (void *, od_int64, T) const |
| void | putS4Ibm (void *, od_int64, T) const |
| void | putFIbm (void *, od_int64, T) const |
| void | putS2swp (void *, od_int64, T) const |
| void | putS4swp (void *, od_int64, T) const |
| void | putS8swp (void *, od_int64, T) const |
| void | putU2swp (void *, od_int64, T) const |
| void | putU4swp (void *, od_int64, T) const |
| void | putFswp (void *, od_int64, T) const |
| void | putDswp (void *, od_int64, T) const |
| void | putS2Ibmswp (void *, od_int64, T) const |
| void | putS4Ibmswp (void *, od_int64, T) const |
| void | putFIbmswp (void *, od_int64, T) const |
| void | swap0 (void *, od_int64) const |
| T | get0 (const void *, od_int64) const |
| void | put0 (void *, od_int64, T) const |
| void | swpSwap () |
| template<> | |
| void | swpSwap () |
Protected Attributes | |
| GetFn | getfn |
| PutFn | putfn |
| SwapFn | swpfn |
typedef T(DataInterpreter<T>::* DataInterpreter< T >::GetFn)(const void *, od_int64) const [protected] |
typedef void(DataInterpreter<T>::* DataInterpreter< T >::PutFn)(void *, od_int64, T) const [protected] |
typedef void(DataInterpreter<T>::* DataInterpreter< T >::SwapFn)(void *, od_int64) const [protected] |
| DataInterpreter< T >::DataInterpreter | ( | const DataCharacteristics & | , | |
| bool | ignoreendianness = false | |||
| ) |
| DataInterpreter< T >::DataInterpreter | ( | const DataInterpreter< T > & | ) |
| DataInterpreter< mTheType >::DataInterpreter | ( | const DataCharacteristics & | dc, | |
| bool | ignend | |||
| ) |
| DataInterpreter< mTheType >::DataInterpreter | ( | const DataInterpreter< T > & | di | ) |
| static DataInterpreter<T> DataInterpreter< T >::create | ( | ) | [static] |
| static DataInterpreter<T>* DataInterpreter< T >::create | ( | const DataCharacteristics & | , | |
| bool | alsoifequal | |||
| ) | [static] |
| alsoifequal | determines whether an interpreter should be created if the format in DataChar is identical to the current machine's. |
| static DataInterpreter<T>* DataInterpreter< T >::create | ( | const IOPar & | par, | |
| const char * | key, | |||
| bool | alsoifequal | |||
| ) | [static] |
| alsoifequal | determines whether an interpreter should be created if the format in DataChar is identical to the current machine's. |
| static DataInterpreter<T>* DataInterpreter< T >::create | ( | const char * | , | |
| bool | alsoifequal | |||
| ) | [static] |
| alsoifequal | determines whether an interpreter should be created if the format in DataChar is identical to the current machine's. |
| DataCharacteristics DataInterpreter< T >::dataChar | ( | ) | const |
| DataCharacteristics DataInterpreter< mTheType >::dataChar | ( | ) | const |
| T DataInterpreter< T >::get | ( | std::istream & | ) | const |
| static T DataInterpreter< T >::get | ( | const DataInterpreter< T > * | , | |
| std::istream & | ||||
| ) | [static] |
| T DataInterpreter< T >::get | ( | const void * | buf, | |
| od_int64 | nr | |||
| ) | const [inline] |
| T DataInterpreter< T >::get0 | ( | const void * | , | |
| od_int64 | ||||
| ) | const [inline, protected] |
| T DataInterpreter< T >::getD | ( | const void * | , | |
| od_int64 | ||||
| ) | const [protected] |
| T DataInterpreter< T >::getDswp | ( | const void * | , | |
| od_int64 | ||||
| ) | const [protected] |
| T DataInterpreter< T >::getF | ( | const void * | , | |
| od_int64 | ||||
| ) | const [protected] |
| T DataInterpreter< T >::getFIbm | ( | const void * | , | |
| od_int64 | ||||
| ) | const [protected] |
| T DataInterpreter< T >::getFIbmswp | ( | const void * | , | |
| od_int64 | ||||
| ) | const [protected] |
| T DataInterpreter< T >::getFswp | ( | const void * | , | |
| od_int64 | ||||
| ) | const [protected] |
| T DataInterpreter< T >::getS1 | ( | const void * | , | |
| od_int64 | ||||
| ) | const [protected] |
| T DataInterpreter< T >::getS2 | ( | const void * | , | |
| od_int64 | ||||
| ) | const [protected] |
| T DataInterpreter< T >::getS2Ibm | ( | const void * | , | |
| od_int64 | ||||
| ) | const [protected] |
| T DataInterpreter< T >::getS2Ibmswp | ( | const void * | , | |
| od_int64 | ||||
| ) | const [protected] |
| T DataInterpreter< T >::getS2swp | ( | const void * | , | |
| od_int64 | ||||
| ) | const [protected] |
| T DataInterpreter< T >::getS4 | ( | const void * | , | |
| od_int64 | ||||
| ) | const [protected] |
| T DataInterpreter< T >::getS4Ibm | ( | const void * | , | |
| od_int64 | ||||
| ) | const [protected] |
| T DataInterpreter< T >::getS4Ibmswp | ( | const void * | , | |
| od_int64 | ||||
| ) | const [protected] |
| T DataInterpreter< T >::getS4swp | ( | const void * | , | |
| od_int64 | ||||
| ) | const [protected] |
| T DataInterpreter< T >::getS8 | ( | const void * | , | |
| od_int64 | ||||
| ) | const [protected] |
| T DataInterpreter< T >::getS8swp | ( | const void * | , | |
| od_int64 | ||||
| ) | const [protected] |
| T DataInterpreter< T >::getU1 | ( | const void * | , | |
| od_int64 | ||||
| ) | const [protected] |
| T DataInterpreter< T >::getU2 | ( | const void * | , | |
| od_int64 | ||||
| ) | const [protected] |
| T DataInterpreter< T >::getU2swp | ( | const void * | , | |
| od_int64 | ||||
| ) | const [protected] |
| T DataInterpreter< T >::getU4 | ( | const void * | , | |
| od_int64 | ||||
| ) | const [protected] |
| T DataInterpreter< T >::getU4swp | ( | const void * | , | |
| od_int64 | ||||
| ) | const [protected] |
| bool DataInterpreter< T >::isSUCompat | ( | ) | const [inline] |
| bool DataInterpreter< T >::needSwap | ( | ) | const |
| bool DataInterpreter< mTheType >::needSwap | ( | ) | const |
| int DataInterpreter< T >::nrBytes | ( | ) | const |
| int DataInterpreter< mTheType >::nrBytes | ( | ) | const |
| bool DataInterpreter< T >::operator!= | ( | const DataInterpreter< T > & | di | ) | const [inline] |
| DataInterpreter< mTheType > & DataInterpreter< mTheType >::operator= | ( | const DataInterpreter< mTheType > & | di | ) |
| DataInterpreter<T>& DataInterpreter< T >::operator= | ( | const DataInterpreter< T > & | ) |
| DataInterpreter<T>& DataInterpreter< T >::operator= | ( | const DataCharacteristics & | dc | ) | [inline] |
| bool DataInterpreter< T >::operator== | ( | const DataInterpreter< T > & | di | ) | const [inline] |
| void DataInterpreter< T >::put | ( | void * | buf, | |
| od_int64 | nr, | |||
| T | t | |||
| ) | const [inline] |
| void DataInterpreter< T >::put0 | ( | void * | , | |
| od_int64 | , | |||
| T | ||||
| ) | const [inline, protected] |
| void DataInterpreter< T >::putD | ( | void * | , | |
| od_int64 | , | |||
| T | ||||
| ) | const [protected] |
| void DataInterpreter< T >::putDswp | ( | void * | , | |
| od_int64 | , | |||
| T | ||||
| ) | const [protected] |
| void DataInterpreter< T >::putF | ( | void * | , | |
| od_int64 | , | |||
| T | ||||
| ) | const [protected] |
| void DataInterpreter< T >::putFIbm | ( | void * | , | |
| od_int64 | , | |||
| T | ||||
| ) | const [protected] |
| void DataInterpreter< T >::putFIbmswp | ( | void * | , | |
| od_int64 | , | |||
| T | ||||
| ) | const [protected] |
| void DataInterpreter< T >::putFswp | ( | void * | , | |
| od_int64 | , | |||
| T | ||||
| ) | const [protected] |
| void DataInterpreter< T >::putS1 | ( | void * | , | |
| od_int64 | , | |||
| T | ||||
| ) | const [protected] |
| void DataInterpreter< T >::putS2 | ( | void * | , | |
| od_int64 | , | |||
| T | ||||
| ) | const [protected] |
| void DataInterpreter< T >::putS2Ibm | ( | void * | , | |
| od_int64 | , | |||
| T | ||||
| ) | const [protected] |
| void DataInterpreter< T >::putS2Ibmswp | ( | void * | , | |
| od_int64 | , | |||
| T | ||||
| ) | const [protected] |
| void DataInterpreter< T >::putS2swp | ( | void * | , | |
| od_int64 | , | |||
| T | ||||
| ) | const [protected] |
| void DataInterpreter< T >::putS4 | ( | void * | , | |
| od_int64 | , | |||
| T | ||||
| ) | const [protected] |
| void DataInterpreter< T >::putS4Ibm | ( | void * | , | |
| od_int64 | , | |||
| T | ||||
| ) | const [protected] |
| void DataInterpreter< T >::putS4Ibmswp | ( | void * | , | |
| od_int64 | , | |||
| T | ||||
| ) | const [protected] |
| void DataInterpreter< T >::putS4swp | ( | void * | , | |
| od_int64 | , | |||
| T | ||||
| ) | const [protected] |
| void DataInterpreter< T >::putS8 | ( | void * | , | |
| od_int64 | , | |||
| T | ||||
| ) | const [protected] |
| void DataInterpreter< T >::putS8swp | ( | void * | , | |
| od_int64 | , | |||
| T | ||||
| ) | const [protected] |
| void DataInterpreter< T >::putU1 | ( | void * | , | |
| od_int64 | , | |||
| T | ||||
| ) | const [protected] |
| void DataInterpreter< T >::putU2 | ( | void * | , | |
| od_int64 | , | |||
| T | ||||
| ) | const [protected] |
| void DataInterpreter< T >::putU2swp | ( | void * | , | |
| od_int64 | , | |||
| T | ||||
| ) | const [protected] |
| void DataInterpreter< T >::putU4 | ( | void * | , | |
| od_int64 | , | |||
| T | ||||
| ) | const [protected] |
| void DataInterpreter< T >::putU4swp | ( | void * | , | |
| od_int64 | , | |||
| T | ||||
| ) | const [protected] |
| void DataInterpreter< T >::set | ( | const DataCharacteristics & | , | |
| bool | ignoreendianness = false | |||
| ) |
use ignoreendianness when you pre-byteswap the data
| void DataInterpreter< mTheType >::set | ( | const DataCharacteristics & | dc, | |
| bool | ignend | |||
| ) |
| void DataInterpreter< T >::swap | ( | void * | buf, | |
| od_int64 | bufsz_in_elements | |||
| ) | const [inline] |
| void DataInterpreter< T >::swap0 | ( | void * | , | |
| od_int64 | ||||
| ) | const [inline, protected] |
| void DataInterpreter< T >::swap2 | ( | void * | , | |
| od_int64 | ||||
| ) | const [protected] |
| void DataInterpreter< T >::swap4 | ( | void * | , | |
| od_int64 | ||||
| ) | const [protected] |
| void DataInterpreter< T >::swap8 | ( | void * | , | |
| od_int64 | ||||
| ) | const [protected] |
| void DataInterpreter< T >::swpSwap | ( | ) | [protected] |
| void DataInterpreter< mTheType >::swpSwap | ( | ) | [protected] |
GetFn DataInterpreter< T >::getfn [protected] |
PutFn DataInterpreter< T >::putfn [protected] |
SwapFn DataInterpreter< T >::swpfn [protected] |
1.7.1