/usr/include/ncarg/ncl/NclMultiDValData.h is in libncarg-dev 6.2.0-3+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | /*
* $Id: NclMultiDValData.h,v 1.6.4.1 2008-03-28 20:37:51 grubin Exp $
*/
/************************************************************************
* *
* Copyright (C) 1994 *
* University Corporation for Atmospheric Research *
* All Rights Reserved *
* *
************************************************************************/
/*
* File:
*
* Author: Ethan Alpert
* National Center for Atmospheric Research
* PO 3000, Boulder, Colorado
*
* Date: Thu Jan 13 14:55:46 MST 1994
*
* Description:
*/
#ifndef NclMultiDValData_h
#define NclMultiDValData_h
#include <stddef.h>
#include "NclData.h"
#include "NclType.h"
typedef enum {
MULTID = 0,
SCALAR = 01
} NclScalarOrMd;
typedef struct _NclMissingRec {
int has_missing;
NclScalar value;
}NclMissingRec;
typedef struct _NclMultiDValDataPart {
NclBasicDataTypes data_type;
NclScalarOrMd kind;
void *val;
NclMissingRec missing_value;
int n_dims;
ng_size_t dim_sizes[NCL_MAX_DIMENSIONS];
ng_size_t totalsize; /* bytes */
ng_size_t totalelements; /* number of values*/
NclSelectionRecord *sel_rec; /* Set only when creating data as a
subsection */
NhlString hlu_type_rep[2];
NclTypeClass type;
}NclMultiDValDataPart;
typedef struct _NclMultiDValDataRec {
NclObjPart obj;
NclDataPart data;
NclMultiDValDataPart multidval;
}NclMultiDValDataRec;
typedef struct _NclMultiDValDataClassPart {
NhlString hlu_gen_type_rep;
}NclMultiDValDataClassPart;
typedef struct _NclMultiDValDataClassRec {
NclObjClassPart obj_class;
NclDataClassPart data_class;
NclMultiDValDataClassPart multid_class;
}NclMultiDValDataClassRec;
typedef struct _NclMultiDValDataClassRec* NclMultiDValDataClass;
extern NclObjClass nclMultiDValDataClass;
extern NclMultiDValDataClassRec nclMultiDValDataClassRec;
extern struct _NclMultiDValDataRec *_NclCreateMultiDVal(
#if NhlNeedProto
NclObj /* inst */,
NclObjClass /* theclass */,
NclObjTypes /* obj_type */,
unsigned int /* obj_type_mask */,
void * /* val */,
NclScalar * /* missing_value */,
int /* n_dims */,
ng_size_t * /*dim_sizes */,
NclStatus /* status */,
NclSelectionRecord * /* sel_rec */,
NclTypeClass /* type */
#endif
);
#endif /*NclMultiDValData_h */
|