src/clipsrules/core/argacces.c File Reference

#include "setup.h"
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
#include "envrnmnt.h"
#include "extnfunc.h"
#include "router.h"
#include "cstrnchk.h"
#include "insfun.h"
#include "factmngr.h"
#include "prntutil.h"
#include "sysdep.h"
#include "argacces.h"

Include dependency graph for argacces.c:

Go to the source code of this file.

Defines

#define _ARGACCES_SOURCE_
#define _STDIO_INCLUDED_

Functions

globle char * EnvRtnLexeme (void *theEnv, int argumentPosition)
globle double EnvRtnDouble (void *theEnv, int argumentPosition)
globle long long EnvRtnLong (void *theEnv, int argumentPosition)
globle DATA_OBJECT_PTR EnvRtnUnknown (void *theEnv, int argumentPosition, DATA_OBJECT_PTR returnValue)
globle int EnvRtnArgCount (void *theEnv)
globle int EnvArgCountCheck (void *theEnv, char *functionName, int countRelation, int expectedNumber)
globle int EnvArgRangeCheck (void *theEnv, char *functionName, int min, int max)
globle int EnvArgTypeCheck (void *theEnv, char *functionName, int argumentPosition, int expectedType, DATA_OBJECT_PTR returnValue)
globle intBool GetNumericArgument (void *theEnv, struct expr *theArgument, char *functionName, DATA_OBJECT *result, intBool convertToFloat, int whichArgument)
globle char * GetLogicalName (void *theEnv, int whichArgument, char *defaultLogicalName)
globle char * GetFileName (void *theEnv, char *functionName, int whichArgument)
globle void OpenErrorMessage (void *theEnv, char *functionName, char *fileName)
globle struct defmoduleGetModuleName (void *theEnv, char *functionName, int whichArgument, int *error)
globle char * GetConstructName (void *theEnv, char *functionName, char *constructType)
globle void ExpectedCountError (void *theEnv, char *functionName, int countRelation, int expectedNumber)
globle intBool CheckFunctionArgCount (void *theEnv, char *functionName, char *restrictions, int argumentCount)
globle void ExpectedTypeError1 (void *theEnv, char *functionName, int whichArg, char *expectedType)
globle void ExpectedTypeError2 (void *theEnv, char *functionName, int whichArg)
void * GetFactOrInstanceArgument (void *theEnv, int thePosition, DATA_OBJECT *item, char *functionName)
void IllegalLogicalNameMessage (void *theEnv, char *theFunction)


Define Documentation

#define _ARGACCES_SOURCE_

Definition at line 28 of file argacces.c.

#define _STDIO_INCLUDED_

Definition at line 33 of file argacces.c.


Function Documentation

globle intBool CheckFunctionArgCount ( void *  theEnv,
char *  functionName,
char *  restrictions,
int  argumentCount 
)

Definition at line 784 of file argacces.c.

globle int EnvArgCountCheck ( void *  theEnv,
char *  functionName,
int  countRelation,
int  expectedNumber 
)

Definition at line 307 of file argacces.c.

globle int EnvArgRangeCheck ( void *  theEnv,
char *  functionName,
int  min,
int  max 
)

Definition at line 353 of file argacces.c.

globle int EnvArgTypeCheck ( void *  theEnv,
char *  functionName,
int  argumentPosition,
int  expectedType,
DATA_OBJECT_PTR  returnValue 
)

Definition at line 387 of file argacces.c.

globle int EnvRtnArgCount ( void *  theEnv  ) 

Definition at line 283 of file argacces.c.

globle double EnvRtnDouble ( void *  theEnv,
int  argumentPosition 
)

Definition at line 126 of file argacces.c.

globle char* EnvRtnLexeme ( void *  theEnv,
int  argumentPosition 
)

Definition at line 64 of file argacces.c.

globle long long EnvRtnLong ( void *  theEnv,
int  argumentPosition 
)

Definition at line 186 of file argacces.c.

globle DATA_OBJECT_PTR EnvRtnUnknown ( void *  theEnv,
int  argumentPosition,
DATA_OBJECT_PTR  returnValue 
)

Definition at line 244 of file argacces.c.

globle void ExpectedCountError ( void *  theEnv,
char *  functionName,
int  countRelation,
int  expectedNumber 
)

Definition at line 747 of file argacces.c.

globle void ExpectedTypeError1 ( void *  theEnv,
char *  functionName,
int  whichArg,
char *  expectedType 
)

Definition at line 882 of file argacces.c.

globle void ExpectedTypeError2 ( void *  theEnv,
char *  functionName,
int  whichArg 
)

Definition at line 904 of file argacces.c.

globle char* GetConstructName ( void *  theEnv,
char *  functionName,
char *  constructType 
)

Definition at line 700 of file argacces.c.

void* GetFactOrInstanceArgument ( void *  theEnv,
int  thePosition,
DATA_OBJECT item,
char *  functionName 
)

Definition at line 950 of file argacces.c.

globle char* GetFileName ( void *  theEnv,
char *  functionName,
int  whichArgument 
)

Definition at line 602 of file argacces.c.

globle char* GetLogicalName ( void *  theEnv,
int  whichArgument,
char *  defaultLogicalName 
)

Definition at line 564 of file argacces.c.

globle struct defmodule* GetModuleName ( void *  theEnv,
char *  functionName,
int  whichArgument,
int *  error 
) [read]

Definition at line 642 of file argacces.c.

globle intBool GetNumericArgument ( void *  theEnv,
struct expr theArgument,
char *  functionName,
DATA_OBJECT result,
intBool  convertToFloat,
int  whichArgument 
)

Definition at line 490 of file argacces.c.

void IllegalLogicalNameMessage ( void *  theEnv,
char *  theFunction 
)

Definition at line 1020 of file argacces.c.

globle void OpenErrorMessage ( void *  theEnv,
char *  functionName,
char *  fileName 
)

Definition at line 622 of file argacces.c.


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