Public Member Functions | Public Attributes

ScalingFactorsRecord Class Reference

#include <parasolfilerecord.h>

Inheritance diagram for ScalingFactorsRecord:
Inheritance graph
[legend]
Collaboration diagram for ScalingFactorsRecord:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ScalingFactorsRecord ()
 constructor : put the end-of-string characters
void * get_entry (const int &entry_index, const vector< int > v_ival=vector< int >(0))
 access to each attribute for writing it For example, this used for reading the L1 technological parametres. If you want to access to the image "im" in the sequence "is", v_ival will be ["is","im"]

Public Attributes

char interleave_id [8+1]
char byte_order [16+1]
char nb_pix_param [4+1]
char nb_pix_bytes [8+1]
char nb_bytes [MAX_PARAM][2+1]
char slope [MAX_PARAM][17+1]
char offset [MAX_PARAM][17+1]

Detailed Description

Store the PARASOL ScalingFactors record values.


Member Function Documentation

void * ScalingFactorsRecord::get_entry ( const int &  entry_index,
const vector< int >  v_ival = vector <int>(0) 
) [virtual]

access to each attribute for writing it For example, this used for reading the L1 technological parametres. If you want to access to the image "im" in the sequence "is", v_ival will be ["is","im"]

Parameters:
entry_index the index of the entry in the record
v_ival the indexes of the value to read, stored as a vector
Returns:
a pointer to the attribute to read

Implements PARASOLFileRecord.

References byte_order, interleave_id, nb_bytes, nb_pix_bytes, nb_pix_param, offset, PARASOLFileRecord::rec_len, PARASOLFileRecord::rec_nb, and slope.


Member Data Documentation

Byte ordering standard

Referenced by get_entry(), and PARASOLLeader::print_scaling_factors().

Interleaving indicator

Referenced by get_entry(), and PARASOLLeader::print_scaling_factors().

char ScalingFactorsRecord::nb_bytes[MAX_PARAM][2+1]

the number of bytes of each parameter

Referenced by get_entry(), and PARASOLLeader::print_scaling_factors().

Nb bytes per pixel

Referenced by get_entry(), and PARASOLLeader::print_scaling_factors().

char ScalingFactorsRecord::offset[MAX_PARAM][17+1]

the scaling offset of each parameter

Referenced by get_entry(), and PARASOLLeader::print_scaling_factors().

char ScalingFactorsRecord::slope[MAX_PARAM][17+1]

the scaling slope of each parameter

Referenced by get_entry(), and PARASOLLeader::print_scaling_factors().


The documentation for this class was generated from the following files: