ocssw
V2022
|
#include <VcstLutInputItem.h>
Public Member Functions | |
VcstLutInputItem (const std::string &groupName, size_t size) | |
virtual | ~VcstLutInputItem () |
virtual int | getData () |
void * | getDataPtr () const |
bool | dataPtrUnknown () const |
const std::string | getShortName () const |
void | setShortName (const std::string &shortName) |
const std::string | getFilePath () const |
void | setFilePath (const std::string &filePath) |
const std::string | getFileName () const |
void | setDataPtr (void *ptr) |
Static Public Member Functions | |
static VcstLutInputItem * | getInstance () |
Protected Member Functions | |
virtual bool | isItemOkForIO () |
const std::string | getGroupName () const |
const size_t | getDataSize () const |
const bool | dataPtrEstablished () const |
void | setGroupName (std::string strName) |
void | setDataSize (size_t size) |
void | setIsAllocated (bool bVal) |
size_t | determineFileSize (const std::string &fileName) |
int | allocateMemory (size_t size) |
void | releaseMemory () |
virtual int | convertEndianness () |
Static Protected Member Functions | |
template<typename T > | |
static void | byteSwap (T &aValue) |
Protected Attributes | |
std::string | groupName_ |
Static Protected Attributes | |
static const std::size_t | MAX_IO_SIZE = 1073741824 |
Detailed Description
Definition at line 19 of file VcstLutInputItem.h.
Constructor & Destructor Documentation
◆ VcstLutInputItem()
VcstLutInputItem | ( | const std::string & | groupName, |
size_t | size | ||
) |
Constructor
- Parameters
-
lutName The LUT name that identifies the data buffer.
◆ ~VcstLutInputItem()
|
virtual |
Destructor
Member Function Documentation
◆ allocateMemory()
|
protected |
Allocate memory
◆ byteSwap()
|
staticprotected |
Converts the endianness of the parameter by performing the appropriate byte swapping.
Definition at line 226 of file VcstLutInputItem.h.
◆ convertEndianness()
|
protectedvirtual |
Convert endianness of LUT file.
Reimplemented in VcstGeoAncInputItem, VcstCmnLutInputItem, VcstCalLutInputItem, and VcstGeoLutInputItem.
◆ dataPtrEstablished()
Definition at line 108 of file VcstLutInputItem.h.
◆ dataPtrUnknown()
|
inline |
Definition at line 67 of file VcstLutInputItem.h.
◆ determineFileSize()
|
protected |
Determine file size on disk
◆ getData()
|
virtual |
Handles the details of retrieving the data item from disk.
- Returns
- PRO_SUCCESS or PRO_FAIL
Reimplemented in VcstPolarWanderItem, VcstGeoAncInputItem, VcstCalNetcdfInputItem, VcstGeoNetcdfInputItem, and VcstCmnLutInputItem.
◆ getDataPtr()
|
inline |
Definition at line 63 of file VcstLutInputItem.h.
◆ getDataSize()
|
inlineprotected |
Definition at line 104 of file VcstLutInputItem.h.
◆ getFileName()
const std::string getFileName | ( | ) | const |
◆ getFilePath()
const std::string getFilePath | ( | ) | const |
◆ getGroupName()
|
inlineprotected |
Inline gets
Definition at line 100 of file VcstLutInputItem.h.
◆ getInstance()
|
inlinestatic |
Retrieve instance
Definition at line 51 of file VcstLutInputItem.h.
◆ getShortName()
const std::string getShortName | ( | ) | const |
◆ isItemOkForIO()
|
protectedvirtual |
Checks attributes of this data item to determine if it is able to be read from disk
Reimplemented in VcstGeoAncInputItem.
◆ releaseMemory()
|
protected |
Release allocated memory
◆ setDataPtr()
|
inline |
Definition at line 81 of file VcstLutInputItem.h.
◆ setDataSize()
|
inlineprotected |
Definition at line 120 of file VcstLutInputItem.h.
◆ setFilePath()
void setFilePath | ( | const std::string & | filePath | ) |
◆ setGroupName()
|
inlineprotected |
Inline sets
Definition at line 116 of file VcstLutInputItem.h.
◆ setIsAllocated()
|
inlineprotected |
Definition at line 124 of file VcstLutInputItem.h.
◆ setShortName()
void setShortName | ( | const std::string & | shortName | ) |
Member Data Documentation
◆ groupName_
|
protected |
This data item's group name
Definition at line 165 of file VcstLutInputItem.h.
◆ MAX_IO_SIZE
|
staticprotected |
Definition at line 87 of file VcstLutInputItem.h.
The documentation for this class was generated from the following file:
- /gfs-oceanweb/web/ocssw/ocssw_src/include/ViirsCmn/VcstLutInputItem.h