tldm-universe/Ardent/UV/gcidir/include/vector.h
2024-09-09 17:51:08 -04:00

108 lines
3.4 KiB
C
Executable File

#ifndef h_vector
#define h_vector
/******************************************************************************
*
* Definition of allowable operations for vector() functions
*
* Module %M% Version %I% Date %H%
*
* (c) Copyright 1998 Ardent Software Inc. - All Rights Reserved
* This is unpublished proprietary source code of Ardent Software Inc.
* The copyright notice above does not evidence any actual or intented
* publication of such source code.
*
*******************************************************************************
*
* Maintenence log - insert most recent change descriptions at top
*
* Date.... GTAR# WHO Description.........................................
* 10/14/98 23801 SAP Change copyrights.
* 01/06/97 19838 MGM Added VECSqlcast
* 07/18/96 18707 JBG Added VECntoe & VECeton
* 03/15/96 17772 JBG Added VECSqllen
* 01/31/96 17772 JBG Added VECSqlsub
* 05/02/95 15739 EAP Added VEClendp
* 11/08/94 15739 JSW Add VECuniseq, VECunichar
* 05/18/94 13943 JBG Added VECiconvexp
* 12/06/93 12535 JBG Added VECassign
* 12/01/92 10590 RM Added VEC0oconv
* 11/16/92 10590 JSM Added VECioconv
* 10/06/91 8777 RM add vec_isnull for SQL
* 12/06/90 5778 JWT add vec_abs for Prime flavor
* 01/17/89 5043 PHH Implement vector negate
* 10/03/88 5465 DTW implement TRIMFS and TRIMBS
* 07/25/88 - - Maintenence log purged at 5.2.1, see release 5.1.10.
*
*****************************************************************************/
/*############################################################################
#
# Summary: This module defines the op parameter to the multi-valued
# arithmetic functions defined in vector.c.
#
#
# Usage:
#
#
# Arguments: N/A
#
#
# Returned values: N/A
#
#
# Caveats and notes:
#
#
#
############################################################################*/
#define VECadd 1
#define VECsub 2
#define VECmul 3
#define VECdiv 4
#define VECeq 5
#define VECne 6
#define VECle 7
#define VEClt 8
#define VECge 9
#define VECgt 10
#define VECcat 11
#define VECsplice 12
#define VECcount 13
#define VECfield 14
#define VECfmt 15
#define VECiconv 16
#define VECindex 17
#define VECnum 18
#define VECoconv 19
#define VECstr 20
#define VECtrim 21
#define VECnot 22
#define VEClen 23
#define VECseq 24
#define VECspace 25
#define VECchar 26
#define VECsubstr 27
#define VECmod 28 /* modular arithmetic */
#define VECor 29
#define VECand 30
#define VECtrimf 31 /* remove leading whitespace */
#define VECtrimb 32 /* remove trailing whitespace */
#define VECneg 33
#define VECabs 34
#define VECnull 35 /* is the element Tnull */
#define VECioconv 36 /* oconv the iconv result */
#define VEC0oconv 37 /* oconv: treat '' as zero for SQL */
#define VECassign 38 /* returned array has all values = p1s */
#define VECiconvexp 39 /* iconv, exponential notation allowed */
#define VECunichar 40 /* return uv-utf values of unicode codepoints */
#define VECuniseq 41 /* return unicode codepoints of uv-utf values */
#define VEClendp 42 /* Return display length of values */
#define VECSqlsub 43 /* VECsubstr in vec2, but to SQL conventions */
#define VECSqllen 44 /* like VEClen, but return null if null */
#define VECeton 45 /* convert empty to SQL NULL */
#define VECntoe 46 /* convert SQL NULL to empty */
#define VECSqlcast 47 /* CAST operator */
#endif /* end of vector.h */