00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00031
00032
00033
00034
00035
00036 #ifndef ASC_ATOMVALUE_H
00037 #define ASC_ATOMVALUE_H
00038
00039 #include <utilities/ascConfig.h>
00040 #include "instance_enum.h"
00041 #include "dimen.h"
00042 #include "sets.h"
00043
00048 #include <utilities/ascConfig.h>
00049
00050 ASC_DLLSPEC unsigned AtomAssigned(CONST struct Instance *i);
00058 ASC_DLLSPEC unsigned AtomMutable(CONST struct Instance *i);
00067 extern unsigned DepthAssigned(CONST struct Instance *i);
00073
00074
00075
00076
00077
00078
00079
00080
00081 ASC_DLLSPEC double RealAtomValue(CONST struct Instance *i);
00087 ASC_DLLSPEC void SetRealAtomValue(struct Instance *i, double d, unsigned depth);
00098 ASC_DLLSPEC CONST dim_type*RealAtomDims(CONST struct Instance *i);
00105 ASC_DLLSPEC void SetRealAtomDims(struct Instance *i, CONST dim_type *dim);
00113 ASC_DLLSPEC long GetIntegerAtomValue(CONST struct Instance *i);
00119 ASC_DLLSPEC void SetIntegerAtomValue(struct Instance *i, long v, unsigned depth);
00128 ASC_DLLSPEC int GetBooleanAtomValue(CONST struct Instance *i);
00135 ASC_DLLSPEC void SetBooleanAtomValue(struct Instance *i, int truth, unsigned depth);
00146 ASC_DLLSPEC CONST struct set_t*SetAtomList(CONST struct Instance *i);
00153 extern int AssignSetAtomList(struct Instance *i, struct set_t *list);
00162 extern int GetSetAtomKind(CONST struct Instance *i);
00167 ASC_DLLSPEC symchar*GetSymbolAtomValue(CONST struct Instance *i);
00176 ASC_DLLSPEC void SetSymbolAtomValue(struct Instance *i, symchar *s);
00184 extern int CmpAtomValues(CONST struct Instance *i1, CONST struct Instance *i2);
00193
00194
00195 #endif
00196