src/clipsrules/core/multifun.c File Reference

#include "setup.h"
#include <stdio.h>
#include <string.h>
#include "argacces.h"
#include "envrnmnt.h"
#include "exprnpsr.h"
#include "memalloc.h"
#include "multifld.h"
#include "multifun.h"
#include "prcdrpsr.h"
#include "prcdrfun.h"
#include "router.h"
#include "scanner.h"
#include "utility.h"
#include "object.h"

Include dependency graph for multifun.c:

Go to the source code of this file.

Classes

struct  fieldVarStack
struct  multiFunctionData

Defines

#define _MULTIFUN_SOURCE_
#define _STDIO_INCLUDED_
#define MULTIFUN_DATA   10
#define MultiFunctionData(theEnv)   ((struct multiFunctionData *) GetEnvironmentData(theEnv,MULTIFUN_DATA))

Typedefs

typedef struct fieldVarStack FIELD_VAR_STACK

Functions

globle void MultifieldFunctionDefinitions (void *theEnv)
globle void DeleteFunction (void *theEnv, DATA_OBJECT_PTR returnValue)
globle void MVDeleteFunction (void *theEnv, DATA_OBJECT_PTR returnValue)
globle void ReplaceFunction (void *theEnv, DATA_OBJECT_PTR returnValue)
globle void MVReplaceFunction (void *theEnv, DATA_OBJECT_PTR returnValue)
globle void DeleteMemberFunction (void *theEnv, DATA_OBJECT_PTR returnValue)
globle void ReplaceMemberFunction (void *theEnv, DATA_OBJECT_PTR returnValue)
globle void InsertFunction (void *theEnv, DATA_OBJECT_PTR returnValue)
globle void ExplodeFunction (void *theEnv, DATA_OBJECT_PTR returnValue)
globle void * ImplodeFunction (void *theEnv)
globle void SubseqFunction (void *theEnv, DATA_OBJECT_PTR sub_value)
globle void MVSubseqFunction (void *theEnv, DATA_OBJECT_PTR sub_value)
globle void FirstFunction (void *theEnv, DATA_OBJECT_PTR returnValue)
globle void RestFunction (void *theEnv, DATA_OBJECT_PTR returnValue)
globle void NthFunction (void *theEnv, DATA_OBJECT_PTR nth_value)
globle intBool SubsetpFunction (void *theEnv)
globle void MemberFunction (void *theEnv, DATA_OBJECT_PTR result)
intBool FindDOsInSegment (DATA_OBJECT_PTR searchDOs, int scnt, DATA_OBJECT_PTR value, long *si, long *ei, long *excludes, int epaircnt)
globle void MultifieldPrognFunction (void *theEnv, DATA_OBJECT_PTR result)
globle void ForeachFunction (void *theEnv, DATA_OBJECT_PTR result)
globle void GetMvPrognField (void *theEnv, DATA_OBJECT_PTR result)
globle long GetMvPrognIndex (void *theEnv)
globle int ReplaceMultiValueField (void *theEnv, DATA_OBJECT *dst, DATA_OBJECT *src, long rb, long re, DATA_OBJECT *field, char *funcName)
globle int InsertMultiValueField (void *theEnv, DATA_OBJECT *dst, DATA_OBJECT *src, long theIndex, DATA_OBJECT *field, char *funcName)
globle int DeleteMultiValueField (void *theEnv, DATA_OBJECT *dst, DATA_OBJECT *src, long rb, long re, char *funcName)


Define Documentation

#define _MULTIFUN_SOURCE_

Definition at line 39 of file multifun.c.

#define _STDIO_INCLUDED_

Definition at line 46 of file multifun.c.

#define MULTIFUN_DATA   10

Definition at line 101 of file multifun.c.

#define MultiFunctionData ( theEnv   )     ((struct multiFunctionData *) GetEnvironmentData(theEnv,MULTIFUN_DATA))

Definition at line 108 of file multifun.c.


Typedef Documentation


Function Documentation

globle void DeleteFunction ( void *  theEnv,
DATA_OBJECT_PTR  returnValue 
)

Definition at line 158 of file multifun.c.

globle void DeleteMemberFunction ( void *  theEnv,
DATA_OBJECT_PTR  returnValue 
)

Definition at line 313 of file multifun.c.

globle int DeleteMultiValueField ( void *  theEnv,
DATA_OBJECT dst,
DATA_OBJECT src,
long  rb,
long  re,
char *  funcName 
)

Definition at line 1628 of file multifun.c.

globle void ExplodeFunction ( void *  theEnv,
DATA_OBJECT_PTR  returnValue 
)

Definition at line 507 of file multifun.c.

intBool FindDOsInSegment ( DATA_OBJECT_PTR  searchDOs,
int  scnt,
DATA_OBJECT_PTR  value,
long *  si,
long *  ei,
long *  excludes,
int  epaircnt 
)

Definition at line 944 of file multifun.c.

globle void FirstFunction ( void *  theEnv,
DATA_OBJECT_PTR  returnValue 
)

Definition at line 741 of file multifun.c.

globle void ForeachFunction ( void *  theEnv,
DATA_OBJECT_PTR  result 
)

Definition at line 1281 of file multifun.c.

globle void GetMvPrognField ( void *  theEnv,
DATA_OBJECT_PTR  result 
)

Definition at line 1356 of file multifun.c.

globle long GetMvPrognIndex ( void *  theEnv  ) 

Definition at line 1377 of file multifun.c.

globle void* ImplodeFunction ( void *  theEnv  ) 

Definition at line 567 of file multifun.c.

globle void InsertFunction ( void *  theEnv,
DATA_OBJECT_PTR  returnValue 
)

Definition at line 462 of file multifun.c.

globle int InsertMultiValueField ( void *  theEnv,
DATA_OBJECT dst,
DATA_OBJECT src,
long  theIndex,
DATA_OBJECT field,
char *  funcName 
)

Definition at line 1495 of file multifun.c.

globle void MemberFunction ( void *  theEnv,
DATA_OBJECT_PTR  result 
)

Definition at line 903 of file multifun.c.

globle void MultifieldFunctionDefinitions ( void *  theEnv  ) 

Definition at line 114 of file multifun.c.

globle void MultifieldPrognFunction ( void *  theEnv,
DATA_OBJECT_PTR  result 
)

Definition at line 1270 of file multifun.c.

globle void MVDeleteFunction ( void *  theEnv,
DATA_OBJECT_PTR  returnValue 
)

Definition at line 193 of file multifun.c.

globle void MVReplaceFunction ( void *  theEnv,
DATA_OBJECT_PTR  returnValue 
)

Definition at line 273 of file multifun.c.

globle void MVSubseqFunction ( void *  theEnv,
DATA_OBJECT_PTR  sub_value 
)

Definition at line 669 of file multifun.c.

globle void NthFunction ( void *  theEnv,
DATA_OBJECT_PTR  nth_value 
)

Definition at line 813 of file multifun.c.

globle void ReplaceFunction ( void *  theEnv,
DATA_OBJECT_PTR  returnValue 
)

Definition at line 227 of file multifun.c.

globle void ReplaceMemberFunction ( void *  theEnv,
DATA_OBJECT_PTR  returnValue 
)

Definition at line 381 of file multifun.c.

globle int ReplaceMultiValueField ( void *  theEnv,
DATA_OBJECT dst,
DATA_OBJECT src,
long  rb,
long  re,
DATA_OBJECT field,
char *  funcName 
)

Definition at line 1413 of file multifun.c.

globle void RestFunction ( void *  theEnv,
DATA_OBJECT_PTR  returnValue 
)

Definition at line 777 of file multifun.c.

globle void SubseqFunction ( void *  theEnv,
DATA_OBJECT_PTR  sub_value 
)

Definition at line 597 of file multifun.c.

globle intBool SubsetpFunction ( void *  theEnv  ) 

Definition at line 868 of file multifun.c.


Generated on Mon Jan 10 22:33:42 2011 by  doxygen 1.5.6