NASA Logo
Ocean Color Science Software

ocssw V2022

#include <L3File.h>

Public Member Functions

 L3Row (int32_t row, int64_t numBins, int32_t numProducts)
 
 ~L3Row ()
 
int32_t getRow () const
 
int32_t getNumProducts () const
 
int64_t getNumBins () const
 
void setNumBins (int64_t numBins)
 
L3BingetBin (int64_t binNum)
 
L3BingetBinByIndex (int32_t index)
 
int64_t getFirstBinNum ()
 
int64_t getLastBinNum ()
 

Protected Attributes

int32_t row
 
int32_t numProducts
 
int64_t numBins
 
std::vector< L3Bin * > binArray
 
int64_t lastBin
 

Friends

class L3File
 
class L3FileSMI
 

Detailed Description

class to hold the information for one row of a L3 bin file

Definition at line 117 of file L3File.h.

Constructor & Destructor Documentation

◆ L3Row()

L3Row ( int32_t  row,
int64_t  numBins,
int32_t  numProducts 
)

Definition at line 297 of file L3File.cpp.

◆ ~L3Row()

~L3Row ( )

Definition at line 308 of file L3File.cpp.

Member Function Documentation

◆ getBin()

L3Bin * getBin ( int64_t  binNum)

Definition at line 336 of file L3File.cpp.

◆ getBinByIndex()

L3Bin * getBinByIndex ( int32_t  index)

Get the bin in this row by index.

Parameters
indexto bin in this row that was actually in the file.
Returns
pointer to bin object at given index or NULL if index out of range

Definition at line 382 of file L3File.cpp.

◆ getFirstBinNum()

int64_t getFirstBinNum ( )

Return the bin number for the first valid bin in the row.

Returns
int32_t bin_number

Definition at line 392 of file L3File.cpp.

◆ getLastBinNum()

int64_t getLastBinNum ( )

Return the bin number for the last valid bin in the row.

Returns
int32_t bin_number

Definition at line 404 of file L3File.cpp.

◆ getNumBins()

int64_t getNumBins ( ) const

Definition at line 320 of file L3File.cpp.

◆ getNumProducts()

int32_t getNumProducts ( ) const

Definition at line 316 of file L3File.cpp.

◆ getRow()

int32_t getRow ( ) const

Definition at line 312 of file L3File.cpp.

◆ setNumBins()

void setNumBins ( int64_t  numBins)

Definition at line 324 of file L3File.cpp.

Friends And Related Function Documentation

◆ L3File

friend class L3File
friend

Definition at line 118 of file L3File.h.

◆ L3FileSMI

friend class L3FileSMI
friend

Definition at line 119 of file L3File.h.

Member Data Documentation

◆ binArray

std::vector<L3Bin*> binArray
protected

Definition at line 125 of file L3File.h.

◆ lastBin

int64_t lastBin
protected

Definition at line 126 of file L3File.h.

◆ numBins

int64_t numBins
protected

Definition at line 124 of file L3File.h.

◆ numProducts

int32_t numProducts
protected

Definition at line 123 of file L3File.h.

◆ row

int32_t row
protected

Definition at line 122 of file L3File.h.


The documentation for this class was generated from the following files:
  • /gfs-oceanweb/web/ocssw/ocssw_src/oel_hdf4/libbin/L3File.h
  • /gfs-oceanweb/web/ocssw/ocssw_src/oel_hdf4/libbin/L3File.cpp