#include <IGBheader.h>
Definition at line 188 of file IGBheader.h.
◆ IGBheader() [1/2]
| IGBheader::IGBheader |
( |
FILE * |
f = NULL, |
|
|
bool |
read = false, |
|
|
bool |
quiet = false |
|
) |
| |
◆ IGBheader() [2/2]
| opencarp::IGBheader::IGBheader |
( |
IGBheader * |
h | ) |
|
|
inline |
◆ ~IGBheader()
| IGBheader::~IGBheader |
( |
| ) |
|
◆ aut_name() [1/3]
| char* opencarp::IGBheader::aut_name |
( |
bool & |
set | ) |
|
|
inline |
◆ aut_name() [2/3]
| void opencarp::IGBheader::aut_name |
( |
const char * |
a | ) |
|
|
inline |
◆ aut_name() [3/3]
| char* opencarp::IGBheader::aut_name |
( |
void |
| ) |
|
|
inline |
◆ bin() [1/3]
| int opencarp::IGBheader::bin |
( |
bool & |
set | ) |
|
|
inline |
◆ bin() [2/3]
| void opencarp::IGBheader::bin |
( |
int |
a | ) |
|
|
inline |
◆ bin() [3/3]
| int opencarp::IGBheader::bin |
( |
void |
| ) |
|
|
inline |
◆ close()
| void opencarp::IGBheader::close |
( |
void |
| ) |
|
|
inline |
◆ comment() [1/2]
| void IGBheader::comment |
( |
char * |
ligne | ) |
|
◆ comment() [2/2]
| char** opencarp::IGBheader::comment |
( |
void |
| ) |
|
|
inline |
◆ comp() [1/3]
| unsigned int opencarp::IGBheader::comp |
( |
bool & |
set | ) |
|
|
inline |
◆ comp() [2/3]
| void opencarp::IGBheader::comp |
( |
unsigned int |
a | ) |
|
|
inline |
◆ comp() [3/3]
| unsigned int opencarp::IGBheader::comp |
( |
void |
| ) |
|
|
inline |
◆ convert_buffer_datum()
template<class T >
| T IGBheader::convert_buffer_datum |
( |
void * |
buf, |
|
|
int |
a |
|
) |
| |
convert the IGB data to the proper type
- Parameters
-
| h | IGB header |
| buf | raw IGB data |
| a | index of datum |
Definition at line 445 of file IGBheader.h.
◆ data_size()
| int opencarp::IGBheader::data_size |
( |
void |
| ) |
|
|
inline |
◆ dim_t() [1/3]
| float opencarp::IGBheader::dim_t |
( |
bool & |
set | ) |
|
|
inline |
◆ dim_t() [2/3]
| void opencarp::IGBheader::dim_t |
( |
float |
a | ) |
|
|
inline |
◆ dim_t() [3/3]
| float opencarp::IGBheader::dim_t |
( |
void |
| ) |
|
|
inline |
◆ dim_x() [1/3]
| float opencarp::IGBheader::dim_x |
( |
bool & |
set | ) |
|
|
inline |
◆ dim_x() [2/3]
| void opencarp::IGBheader::dim_x |
( |
float |
a | ) |
|
|
inline |
◆ dim_x() [3/3]
| float opencarp::IGBheader::dim_x |
( |
void |
| ) |
|
|
inline |
◆ dim_y() [1/3]
| float opencarp::IGBheader::dim_y |
( |
bool & |
set | ) |
|
|
inline |
◆ dim_y() [2/3]
| void opencarp::IGBheader::dim_y |
( |
float |
a | ) |
|
|
inline |
◆ dim_y() [3/3]
| float opencarp::IGBheader::dim_y |
( |
void |
| ) |
|
|
inline |
◆ dim_z() [1/3]
| float opencarp::IGBheader::dim_z |
( |
bool & |
set | ) |
|
|
inline |
◆ dim_z() [2/3]
| void opencarp::IGBheader::dim_z |
( |
float |
a | ) |
|
|
inline |
◆ dim_z() [3/3]
| float opencarp::IGBheader::dim_z |
( |
void |
| ) |
|
|
inline |
◆ endian()
| int IGBheader::endian |
( |
| ) |
|
return whether the machine is big or little endian
Definition at line 1347 of file IGBheader.cc.
◆ epais() [1/3]
| float opencarp::IGBheader::epais |
( |
bool & |
set | ) |
|
|
inline |
◆ epais() [2/3]
| void opencarp::IGBheader::epais |
( |
float |
a | ) |
|
|
inline |
◆ epais() [3/3]
| float opencarp::IGBheader::epais |
( |
void |
| ) |
|
|
inline |
◆ facteur() [1/3]
| float opencarp::IGBheader::facteur |
( |
bool & |
set | ) |
|
|
inline |
◆ facteur() [2/3]
| void opencarp::IGBheader::facteur |
( |
float |
a | ) |
|
|
inline |
◆ facteur() [3/3]
| float opencarp::IGBheader::facteur |
( |
void |
| ) |
|
|
inline |
◆ fileptr() [1/2]
| void IGBheader::fileptr |
( |
FILE * |
f | ) |
|
◆ fileptr() [2/2]
| FILE* opencarp::IGBheader::fileptr |
( |
void |
| ) |
|
|
inline |
◆ from_raw()
| double opencarp::IGBheader::from_raw |
( |
double |
a | ) |
|
|
inline |
◆ inc_t() [1/3]
| float opencarp::IGBheader::inc_t |
( |
bool & |
set | ) |
|
|
inline |
◆ inc_t() [2/3]
| void opencarp::IGBheader::inc_t |
( |
float |
a | ) |
|
|
inline |
◆ inc_t() [3/3]
| float opencarp::IGBheader::inc_t |
( |
void |
| ) |
|
|
inline |
◆ inc_x() [1/3]
| float opencarp::IGBheader::inc_x |
( |
bool & |
set | ) |
|
|
inline |
◆ inc_x() [2/3]
| void opencarp::IGBheader::inc_x |
( |
float |
a | ) |
|
|
inline |
◆ inc_x() [3/3]
| float opencarp::IGBheader::inc_x |
( |
void |
| ) |
|
|
inline |
◆ inc_y() [1/3]
| float opencarp::IGBheader::inc_y |
( |
bool & |
set | ) |
|
|
inline |
◆ inc_y() [2/3]
| void opencarp::IGBheader::inc_y |
( |
float |
a | ) |
|
|
inline |
◆ inc_y() [3/3]
| float opencarp::IGBheader::inc_y |
( |
void |
| ) |
|
|
inline |
◆ inc_z() [1/3]
| float opencarp::IGBheader::inc_z |
( |
bool & |
set | ) |
|
|
inline |
◆ inc_z() [2/3]
| void opencarp::IGBheader::inc_z |
( |
float |
a | ) |
|
|
inline |
◆ inc_z() [3/3]
| float opencarp::IGBheader::inc_z |
( |
void |
| ) |
|
|
inline |
◆ lut() [1/3]
| unsigned int opencarp::IGBheader::lut |
( |
bool & |
set | ) |
|
|
inline |
◆ lut() [2/3]
| void opencarp::IGBheader::lut |
( |
unsigned int |
a | ) |
|
|
inline |
◆ lut() [3/3]
| unsigned int opencarp::IGBheader::lut |
( |
void |
| ) |
|
|
inline |
◆ num() [1/3]
| int opencarp::IGBheader::num |
( |
bool & |
set | ) |
|
|
inline |
◆ num() [2/3]
| void opencarp::IGBheader::num |
( |
int |
a | ) |
|
|
inline |
◆ num() [3/3]
| int opencarp::IGBheader::num |
( |
void |
| ) |
|
|
inline |
◆ num_components()
| int opencarp::IGBheader::num_components |
( |
| ) |
|
|
inline |
◆ org_t() [1/3]
| float opencarp::IGBheader::org_t |
( |
bool & |
set | ) |
|
|
inline |
◆ org_t() [2/3]
| void opencarp::IGBheader::org_t |
( |
float |
a | ) |
|
|
inline |
◆ org_t() [3/3]
| float opencarp::IGBheader::org_t |
( |
void |
| ) |
|
|
inline |
◆ org_x() [1/3]
| float opencarp::IGBheader::org_x |
( |
bool & |
set | ) |
|
|
inline |
◆ org_x() [2/3]
| void opencarp::IGBheader::org_x |
( |
float |
a | ) |
|
|
inline |
◆ org_x() [3/3]
| float opencarp::IGBheader::org_x |
( |
void |
| ) |
|
|
inline |
◆ org_y() [1/3]
| float opencarp::IGBheader::org_y |
( |
bool & |
set | ) |
|
|
inline |
◆ org_y() [2/3]
| void opencarp::IGBheader::org_y |
( |
float |
a | ) |
|
|
inline |
◆ org_y() [3/3]
| float opencarp::IGBheader::org_y |
( |
void |
| ) |
|
|
inline |
◆ org_z() [1/3]
| float opencarp::IGBheader::org_z |
( |
bool & |
set | ) |
|
|
inline |
◆ org_z() [2/3]
| void opencarp::IGBheader::org_z |
( |
float |
a | ) |
|
|
inline |
◆ org_z() [3/3]
| float opencarp::IGBheader::org_z |
( |
void |
| ) |
|
|
inline |
◆ read()
| int IGBheader::read |
( |
bool |
quiet = false | ) |
|
read in a header
- Parameters
-
| quiet | do not print warnings/errors |
- Returns
- 0 if and only if all is o.k.
- Precondition
- the file has been opened
Definition at line 732 of file IGBheader.cc.
◆ read_data()
template<class T >
| int IGBheader::read_data |
( |
T * |
dp, |
|
|
int |
numt = 1, |
|
|
char * |
buf = NULL |
|
) |
| |
read in a number of time slices
- Parameters
-
| dp[out] | values read |
| numt | number of time slices |
| buf | temporary buffer of raw data |
- Precondition
dp must be allocated
- Postcondition
- \dp will be filled
- Returns
- the number of items read
Definition at line 414 of file IGBheader.h.
◆ slice_sz()
| int opencarp::IGBheader::slice_sz |
( |
| ) |
|
|
inline |
◆ struct_desc() [1/3]
| char* opencarp::IGBheader::struct_desc |
( |
bool & |
set | ) |
|
|
inline |
◆ struct_desc() [2/3]
| void opencarp::IGBheader::struct_desc |
( |
const char * |
a | ) |
|
|
inline |
◆ struct_desc() [3/3]
| char* opencarp::IGBheader::struct_desc |
( |
void |
| ) |
|
|
inline |
◆ swab()
| void IGBheader::swab |
( |
void * |
data, |
|
|
int |
nd = -1 |
|
) |
| |
swap bytes ]]
- Parameters
-
| data | data buffer |
| nd | number of items in buffer |
Definition at line 1293 of file IGBheader.cc.
◆ systeme() [1/2]
| void IGBheader::systeme |
( |
const char * |
s | ) |
|
◆ systeme() [2/2]
| int opencarp::IGBheader::systeme |
( |
void |
| ) |
|
|
inline |
◆ systemestr()
| const char * IGBheader::systemestr |
( |
void |
| ) |
|
◆ t() [1/3]
| int opencarp::IGBheader::t |
( |
bool & |
set | ) |
|
|
inline |
◆ t() [2/3]
| void opencarp::IGBheader::t |
( |
int |
a | ) |
|
|
inline |
◆ t() [3/3]
| int opencarp::IGBheader::t |
( |
void |
| ) |
|
|
inline |
◆ taille() [1/3]
| int opencarp::IGBheader::taille |
( |
bool & |
set | ) |
|
|
inline |
◆ taille() [2/3]
| void opencarp::IGBheader::taille |
( |
int |
a | ) |
|
|
inline |
◆ taille() [3/3]
| int opencarp::IGBheader::taille |
( |
void |
| ) |
|
|
inline |
◆ to_bin()
template<class T >
| void IGBheader::to_bin |
( |
void * |
buf, |
|
|
T |
d |
|
) |
| |
convert the data to the binary representation
- Parameters
-
| buf | place to put raw binary IGB data |
| d | datum |
Definition at line 510 of file IGBheader.h.
◆ to_raw()
| double opencarp::IGBheader::to_raw |
( |
double |
a | ) |
|
|
inline |
◆ trame() [1/3]
| int opencarp::IGBheader::trame |
( |
bool & |
set | ) |
|
|
inline |
◆ trame() [2/3]
| void opencarp::IGBheader::trame |
( |
int |
a | ) |
|
|
inline |
◆ trame() [3/3]
| int opencarp::IGBheader::trame |
( |
void |
| ) |
|
|
inline |
◆ transparent() [1/3]
| void* opencarp::IGBheader::transparent |
( |
bool & |
set | ) |
|
|
inline |
◆ transparent() [2/3]
| void opencarp::IGBheader::transparent |
( |
void * |
a | ) |
|
|
inline |
◆ transparent() [3/3]
| void* opencarp::IGBheader::transparent |
( |
void |
| ) |
|
|
inline |
◆ transparentstr()
| char* opencarp::IGBheader::transparentstr |
( |
void |
| ) |
|
|
inline |
◆ type() [1/4]
| int opencarp::IGBheader::type |
( |
bool & |
set | ) |
|
|
inline |
◆ type() [2/4]
| void IGBheader::type |
( |
char * |
datatype | ) |
|
◆ type() [3/4]
| void opencarp::IGBheader::type |
( |
int |
a | ) |
|
|
inline |
◆ type() [4/4]
| int opencarp::IGBheader::type |
( |
void |
| ) |
|
|
inline |
◆ unites() [1/3]
| char* opencarp::IGBheader::unites |
( |
bool & |
set | ) |
|
|
inline |
◆ unites() [2/3]
| void opencarp::IGBheader::unites |
( |
const char * |
a | ) |
|
|
inline |
◆ unites() [3/3]
| char* opencarp::IGBheader::unites |
( |
void |
| ) |
|
|
inline |
◆ unites_t() [1/3]
| char* opencarp::IGBheader::unites_t |
( |
bool & |
set | ) |
|
|
inline |
◆ unites_t() [2/3]
| void opencarp::IGBheader::unites_t |
( |
const char * |
a | ) |
|
|
inline |
◆ unites_t() [3/3]
| char* opencarp::IGBheader::unites_t |
( |
void |
| ) |
|
|
inline |
◆ unites_x() [1/3]
| char* opencarp::IGBheader::unites_x |
( |
bool & |
set | ) |
|
|
inline |
◆ unites_x() [2/3]
| void opencarp::IGBheader::unites_x |
( |
const char * |
a | ) |
|
|
inline |
◆ unites_x() [3/3]
| char* opencarp::IGBheader::unites_x |
( |
void |
| ) |
|
|
inline |
◆ unites_y() [1/3]
| char* opencarp::IGBheader::unites_y |
( |
bool & |
set | ) |
|
|
inline |
◆ unites_y() [2/3]
| void opencarp::IGBheader::unites_y |
( |
const char * |
a | ) |
|
|
inline |
◆ unites_y() [3/3]
| char* opencarp::IGBheader::unites_y |
( |
void |
| ) |
|
|
inline |
◆ unites_z() [1/3]
| char* opencarp::IGBheader::unites_z |
( |
bool & |
set | ) |
|
|
inline |
◆ unites_z() [2/3]
| void opencarp::IGBheader::unites_z |
( |
const char * |
a | ) |
|
|
inline |
◆ unites_z() [3/3]
| char* opencarp::IGBheader::unites_z |
( |
void |
| ) |
|
|
inline |
◆ vect_z() [1/3]
| float* opencarp::IGBheader::vect_z |
( |
bool & |
set | ) |
|
|
inline |
◆ vect_z() [2/3]
| void opencarp::IGBheader::vect_z |
( |
float * |
a | ) |
|
|
inline |
◆ vect_z() [3/3]
| float* opencarp::IGBheader::vect_z |
( |
void |
| ) |
|
|
inline |
◆ write()
◆ write_data()
template<class T >
| void IGBheader::write_data |
( |
T * |
dp, |
|
|
int |
numt = 1, |
|
|
char * |
buf = NULL |
|
) |
| |
write out a number of time slices
- Parameters
-
| dp[in] | buffer of data |
| numt | number of time slices |
| buf | temporary buffer of raw data |
Definition at line 383 of file IGBheader.h.
◆ x() [1/3]
| int opencarp::IGBheader::x |
( |
bool & |
set | ) |
|
|
inline |
◆ x() [2/3]
| void opencarp::IGBheader::x |
( |
int |
a | ) |
|
|
inline |
◆ x() [3/3]
| int opencarp::IGBheader::x |
( |
void |
| ) |
|
|
inline |
◆ y() [1/3]
| int opencarp::IGBheader::y |
( |
bool & |
set | ) |
|
|
inline |
◆ y() [2/3]
| void opencarp::IGBheader::y |
( |
int |
a | ) |
|
|
inline |
◆ y() [3/3]
| int opencarp::IGBheader::y |
( |
void |
| ) |
|
|
inline |
◆ z() [1/3]
| int opencarp::IGBheader::z |
( |
bool & |
set | ) |
|
|
inline |
◆ z() [2/3]
| void opencarp::IGBheader::z |
( |
int |
a | ) |
|
|
inline |
◆ z() [3/3]
| int opencarp::IGBheader::z |
( |
void |
| ) |
|
|
inline |
◆ zero() [1/3]
| float opencarp::IGBheader::zero |
( |
bool & |
set | ) |
|
|
inline |
◆ zero() [2/3]
| void opencarp::IGBheader::zero |
( |
float |
a | ) |
|
|
inline |
◆ zero() [3/3]
| float opencarp::IGBheader::zero |
( |
void |
| ) |
|
|
inline |
The documentation for this class was generated from the following files: