/usr/include/paw/ntuple/qp_value.h is in libpawlib2-dev 1:2.14.04.dfsg.2-9.
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 96 97 98 99 100 101 102 103 104 105 106 107 108 | /*
* qp_value.h --
* Store for possibly multi-dimensional value.
*
* Original: 1-Nov-1994 15:08
*
* Author: Maarten Ballintijn <Maarten.Ballintijn@cern.ch>
*
* $Id: qp_value.h,v 1.4 1996/04/23 18:39:08 maartenb Exp $
*
* $Log: qp_value.h,v $
* Revision 1.4 1996/04/23 18:39:08 maartenb
* - Add RCS keywords
*
*
*/
#ifndef CERN_VALUE
#define CERN_VALUE
#include <stdio.h>
#include <paw/ntuple/cern_types.h>
typedef struct _value_ Value;
#include <paw/ntuple/fcode.h>
#include <paw/ntuple/qp_dimension.h>
#include <paw/ntuple/qp_signature.h>
typedef union {
/* scalar values */
bool bval;
UInt32 uval;
UInt64 luval;
Int32 ival;
Int64 lival;
Float32 fval;
Float64 lfval;
String sval;
/* multi dim array values */
bool *vbval;
UInt32 *vuval;
Int32 *vival;
Float32 *vfval;
Float64 *vdval;
String *vsval;
/* Acces via Int32 array */
Int32 buf[2];
} Uval;
struct _value_ {
Dimension *d;
Uval u;
};
void
val_print( FILE * fp, Value * v );
void
val_dump( FILE * fp, int lvl, Value * v );
Value *
val_eval( FCode fc, int valc, Value *valv[MAX_DIMENSION], int * err );
Value *
val_comis( Signature * s, int valc, Value *valv[MAX_DIMENSION], int * err );
Value *
val_new_bool( bool bval );
Value *
val_new_uint( UInt32 uval );
Value *
val_new_ulong( UInt64 uval );
Value *
val_new_int( Int32 ival );
Value *
val_new_float( Float64 lfval );
Value *
val_new_double( Float64 lfval );
Value *
val_new_vfloat( Dimension *d, Float32 *vfval );
Value *
val_new_vint( Dimension *d, Int32 *vival );
Value *
val_new_str( String sval );
Value *
val_copy( Value * v );
void
val_del( Value * v );
#endif /* CERN_VALUE */
|