Go to the documentation of this file.
5 #define PBUFFER_SIZE 32768
22 int cdlCreate(
char* l1_filename,
char* cdl_filename, int32_t numScans);
24 int cdlCreateDim(
char* l1_filename,
char* cdl_filename,
const char** dim_names,
size_t* dim_size,
size_t n_dims,
size_t numScans);
26 int parseDims(
string dimString,
int *numDims,
int *varDims);
28 int getGid(
const char *grpName);
35 if ((*sValue).find_first_of(
"$") == string::npos)
return 0;
36 string::size_type posEndIdx = (*sValue).find_first_of(
"/");
37 if (posEndIdx == string::npos)
return 0;
38 char *envVar_str = getenv((*sValue).substr(1, posEndIdx - 1).c_str());
39 if (envVar_str == 0x0) {
40 printf(
"Environment variable: %s not defined.\n", envVar_str);
43 *sValue = envVar_str + (*sValue).substr(posEndIdx);
int parseDims(int ncid, int ndims, string dimString, int *numDims, int *dimid, int *varDims)
int expandEnvVar(string *sValue)