|
||||
Warning, file /include/madX/SDDStypes.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /*************************************************************************\ 0002 * Copyright (c) 2002 The University of Chicago, as Operator of Argonne 0003 * National Laboratory. 0004 * Copyright (c) 2002 The Regents of the University of California, as 0005 * Operator of Los Alamos National Laboratory. 0006 * This file is distributed subject to a Software License Agreement found 0007 * in the file LICENSE that is included with this distribution. 0008 \*************************************************************************/ 0009 0010 /* file: SDDS.h 0011 * purpose: SDDS data types 0012 * format 0013 * 0014 * Michael Borland, 1993 0015 $Log: not supported by cvs2svn $ 0016 Revision 1.7 2006/08/31 15:06:55 soliday 0017 Updated to work with SDDS2 0018 0019 Revision 1.6 2002/08/14 15:40:13 soliday 0020 Added Open License 0021 0022 Revision 1.5 1999/02/19 22:52:26 borland 0023 Added SDDS_ANY_INTEGER_TYPE for use with SDDS_CheckXXX procedures. 0024 0025 Revision 1.4 1997/12/19 16:55:46 borland 0026 Fixed SDDS_RowCount macro (more parentheses). Added prototype for 0027 SDDS_Malloc. Added new "type": SDDS_ANY_FLOATING_TYPE. 0028 0029 * Revision 1.3 1995/09/06 14:12:01 saunders 0030 * First test release of SDDS1.5 0031 * 0032 */ 0033 0034 #if !defined(_SDDSTYPES_) 0035 0036 #define _SDDSTYPES_ 1 0037 0038 #define SDDS_DOUBLE 1 0039 #define SDDS_FLOAT 2 0040 #define SDDS_LONG 3 0041 #define SDDS_ULONG 4 0042 #define SDDS_SHORT 5 0043 #define SDDS_USHORT 6 0044 #define SDDS_STRING 7 0045 #define SDDS_CHARACTER 8 0046 #define SDDS_NUM_TYPES 8 0047 #define SDDS_INTEGER_TYPE(type) ((type)==SDDS_LONG || (type)==SDDS_ULONG || (type)==SDDS_SHORT || (type)==SDDS_USHORT) 0048 #define SDDS_FLOATING_TYPE(type) ((type)==SDDS_DOUBLE || (type)==SDDS_FLOAT) 0049 #define SDDS_NUMERIC_TYPE(type) (SDDS_INTEGER_TYPE(type) || SDDS_FLOATING_TYPE(type)) 0050 #define SDDS_VALID_TYPE(type) (type>=1 && type<=SDDS_NUM_TYPES) 0051 0052 /* used by SDDS_Check*() routines */ 0053 #define SDDS_ANY_NUMERIC_TYPE (SDDS_NUM_TYPES+1) 0054 #define SDDS_ANY_FLOATING_TYPE (SDDS_NUM_TYPES+2) 0055 #define SDDS_ANY_INTEGER_TYPE (SDDS_NUM_TYPES+3) 0056 0057 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |