OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022

#include <clo.h>

Collaboration diagram for clo_option_t:
[legend]

Public Attributes

char * key
 
enum clo_dataType_t dataType
 
char * defaultVal
 
char * desc
 
char * valStr
 
char * source
 
clo_optionCallback_t cb
 
void * cb_data
 
int cb_flag
 
char ** strArray
 
void * valArray
 
int count
 
char ** aliases
 
int numAliases
 
int aliasStorageSize
 
int position
 

Detailed Description

Option data structure.

Definition at line 103 of file clo.h.

Member Data Documentation

◆ aliases

char** aliases

list of aliases for key

Definition at line 116 of file clo.h.

◆ aliasStorageSize

int aliasStorageSize

number of slots allocated in alias array

Definition at line 118 of file clo.h.

◆ cb

function that gets called when this option is read

Definition at line 110 of file clo.h.

◆ cb_data

void* cb_data

pointer for user callback data

Definition at line 111 of file clo.h.

◆ cb_flag

int cb_flag

flag for user callback function

Definition at line 112 of file clo.h.

◆ count

int count

how many items in the array

Definition at line 115 of file clo.h.

◆ dataType

enum clo_dataType_t dataType

option data type (CLO_TYPE_BOOL, CLO_TYPE_INT, CLO_TYPE_FLOAT, CLO_TYPE_DOUBLE, CLO_TYPE_STRING)

Definition at line 105 of file clo.h.

◆ defaultVal

char* defaultVal

initial value for this option

Definition at line 106 of file clo.h.

◆ desc

char* desc

description of this option

Definition at line 107 of file clo.h.

◆ key

char* key

key string

Definition at line 104 of file clo.h.

◆ numAliases

int numAliases

number of aliases

Definition at line 117 of file clo.h.

◆ position

int position

position of the parameter (CLO_TYPE_POSITION only)

Definition at line 119 of file clo.h.

◆ source

char* source

where did this value come from

Definition at line 109 of file clo.h.

◆ strArray

char** strArray

array of strings

Definition at line 113 of file clo.h.

◆ valArray

void* valArray

array of values of the correct data type

Definition at line 114 of file clo.h.

◆ valStr

char* valStr

value of option, original string

Definition at line 108 of file clo.h.


The documentation for this struct was generated from the following file:
  • /gfs-oceanweb/web/ocssw/ocssw_src/oel_util/libgenutils/clo.h