CFx SDK Documentation  2020SP3
sdai.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2019, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Open Design Alliance software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Open Design Alliance Copyright (C) 2002-2019 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 #ifndef _SDAI_
25 #define _SDAI_
26 
27 #include "daiError/daiErrorId.h"
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
35 struct Sdai_instS {
36  int pInst;
37 };
38 
42 struct Sdai_aggrS {
43  int pAggr;
44 };
45 
50 typedef struct Sdai_instS * SdaiId;
51 
55 typedef struct Sdai_Id_aggr * SdaiId_aggr;
56 
61 typedef struct Sdai_ItrId * SdaiItrId;
62 
67 typedef struct Sdai_ADBId * SdaiADBId;
68 
73 typedef unsigned SdaiIndexId;
74 
75 /*** Constant declarations ******************************************/
76 
77 /* LOGICAL and BOOLEAN value elements: */
78 
79 #define sdaiFALSE 0
80 #define sdaiTRUE 1
81 #define sdaiUNKNOWN 2
82 
83 /* BINARY value elements: */
84 
85 #define sdaiBIT0 '0'
86 #define sdaiBIT1 '1'
87 
88 /* EXPRESS built-in constants: */
89 
90 #define sdaiE 2.7182818284590451353602874713
91 #define sdaiPI 3.1415926353897932384626433832
92 
93 
94 /*** Type declarations **********************************************/
95 
96 typedef unsigned char SdaiBit;
97 
98 /* C late binding simple data types: */
99 
103 typedef long SdaiInteger;
104 
108 typedef double SdaiReal;
109 
114 
118 typedef int SdaiBoolean;
119 
123 typedef int SdaiLogical;
124 
128 typedef char *SdaiString;
129 
134 
135 /* enumeration data type: */
136 typedef char *SdaiEnum;
137 
138 /* aggregate data types: */
139 
145 
150 
155 
160 
165 
170 
175 
179 typedef enum {
183 }
185 
186 /* entity instance identifier type: */
187 
194 
195 /* SDAI instance identifier types: */
196 
201 
206 
211 
216 
221 
226 
231 
236 
240 //typedef SdaiNamedType SdaiDefinedType;
241 
246 
251 
256 
261 
266 
271 
276 
277 
282 
283 /* Non-persistent list data type: */
284 
285 //typedef SdaiList SdaiNPL;
286 
290 typedef enum {
294 
299 
304 
309 
314 
319 
320 /* the ANSI-C style function prototypes of the SDAI operations */
321 
322 #include "daiBuildOptions.h"
323 
324 /* 6.1 Environment operations */
325 
336 
348 
363 
378 
387 
396 
397 
398 /* 6.2 Session operations */
399 
402 DAI_EXPORT void sdaiRecordEvent(SdaiSession session, SdaiString functionName, SdaiErrorCode error, SdaiString description);
403 
407 
411 
415 
419 
422 //DAI_EXPORT SdaiTrx sdaiStartTrx(SdaiSession session, SdaiAccessMode mode);
423 //DAI_EXPORT void sdaiBreakTrx(SdaiTrx transaction, SdaiCommitMode mode);
424 //DAI_EXPORT void sdaiEndTrx (SdaiTrx transaction, SdaiCommitMode mode);
425 //DAI_EXPORT SdaiNPL sdaiCreateNPL(void);
426 //DAI_EXPORT void sdaiDeleteNPL(SdaiNPL list);
427 //DAI_EXPORT SdaiInteger sdaiQuery(SdaiQuerySourceType sourceType, SdaiString criteria, SdaiInstance instance, SdaiNPL result, ...);
428 
432 
436 
440 
444 
448 
452 
456 
460 
461 /* 6.3 Repository operations */
462 
466 
470 
474 
478 
482 
483 
484 /* 6.4 Schema instance operations */
485 
489 
492 DAI_EXPORT void sdaiDeleteSchemaInstanceBN(SdaiString schemaInstanceName, SdaiRep repository);
493 
497 
500 DAI_EXPORT void sdaiRenameSchemaInstanceBN(SdaiString schemaInstOldName, SdaiRep repository, SdaiString schemaInstName);
501 
505 
508 DAI_EXPORT void sdaiAddModelBN(SdaiSchemaInstance schemaInstance, SdaiRep repository, SdaiString modelName);
509 
513 
516 DAI_EXPORT void sdaiRemoveModelBN(SdaiSchemaInstance schemaInstance, SdaiRep repository, SdaiString modelName);
517 
520 //DAI_EXPORT SdaiLogical sdaiValidateGlobalRule(SdaiSchemaInstance schemaInstance, SdaiGlobalRule rule, SdaiNPL list);
521 //DAI_EXPORT SdaiLogical sdaiValidateGlobalRuleBN(SdaiSchemaInstance schemaInstance, SdaiString ruleName, SdaiNPL list);
522 //DAI_EXPORT SdaiLogical sdaiValidateUniqueness(SdaiSchemaInstance schemaInstance, SdaiUniRule uniRule, SdaiNPL list);
523 //DAI_EXPORT SdaiLogical sdaiValidateUniquenessBN(SdaiSchemaInstance schemaInstance, SdaiString entityName, SdaiString uniRuleName, SdaiNPL list);
524 //DAI_EXPORT SdaiLogical sdaiValidateReferenceDomain(SdaiSchemaInstance schemaInstance, SdaiAppInstance appInstance, SdaiNPL list);
525 //DAI_EXPORT SdaiLogical sdaiValidateSchemaInstance(SdaiSchemaInstance schemaInstance);
526 //DAI_EXPORT SdaiBoolean sdaiIsValidationCurrent(SdaiSchemaInstance schemaInstance);
527 //DAI_EXPORT SdaiBoolean sdaiIsValidationCurrent(SdaiSchemaInstance schemaInstance);
528 
532 
536 
537 
538 /* 6.5 SDAI-model operations */
539 
543 
546 DAI_EXPORT void sdaiDeleteModelBN(SdaiRep repository, SdaiString modelName);
547 
551 
554 DAI_EXPORT void sdaiRenameModelBN(SdaiRep repository, SdaiString modelOldName, SdaiString modelName);
555 
559 
563 
567 
571 
576 
580 
584 
588 
592 
595 //DAI_EXPORT SdaiAppInstance sdaiCreateComplexInstance(SdaiModel model, SdaiNPL entityList);
596 
600 
608 
609 
617 
618 
619 /* 6.6 Scope operations */
620 
621 
622 /* 6.7 Type operations */
623 
624 //DAI_EXPORT SdaiEntity sdaiGetComplexEntity(SdaiNPL entityList);
625 //DAI_EXPORT SdaiEntity sdaiGetComplexEntityBN(SdaiString schemaName, SdaiInteger nameNumber, SdaiString *nameVector);
626 
635 
645 
649 
653 
657 
661 
662 /* 6.8 Entity instance operations */
663 
666 DAI_EXPORT void* sdaiGetAttr(SdaiInstance instance, SdaiAttr attribute, SdaiPrimitiveType valueType, void *value);
667 
670 DAI_EXPORT void* sdaiGetAttrBN(SdaiInstance instance, SdaiString attributeName, SdaiPrimitiveType valueType, void *value);
671 
679 
687 
691 
695 
699 
703 
707 
711 
715 
719 
720 
721 
722 /* 6.8.13 Entity instance operations for convenience */
723 
726 DAI_EXPORT void sdaiGetAttrs(SdaiInstance instance, SdaiInteger numberAttr, SdaiAttr attribute, SdaiPrimitiveType valueType, void *value, ...);
727 
730 DAI_EXPORT void sdaiGetAttrsBN(SdaiInstance instance, SdaiInteger numberAttr, SdaiString attributeName, SdaiPrimitiveType valueType, void *value, ...);
731 
735 
736 /* 6.9 Application instance operations */
740 
744 
748 
751 DAI_EXPORT void sdaiPutAttr(SdaiAppInstance instance, SdaiExplicitAttr attribute, SdaiPrimitiveType valueType, ...);
752 
755 DAI_EXPORT void sdaiPutAttrBN(SdaiAppInstance instance, SdaiString attributeName, SdaiPrimitiveType valueType, ...);
756 
764 
771 DAI_EXPORT void sdaiUnsetAttrBN(SdaiAppInstance instance, SdaiString attributeName);
772 
776 
780 
784 
787 DAI_EXPORT SdaiAggr sdaiCreateAggrADBBN(SdaiAppInstance instance, SdaiString attributeName, SdaiADB selaggrInstance);
788 
789 
790 /* 6.10 Entity instance aggregate operations */
791 
797 
804 
810 
816 
822 
830 
831 
832 
833 /* ODA SDAI extension functions */
834 
842 
856 
865 
872 
873 #ifdef __cplusplus
874 } // extern "C"
875 #endif
876 
877 #endif // _SDAI_
sdaiDeleteModel
DAI_EXPORT void sdaiDeleteModel(SdaiModel model)
SdaiItrId
struct Sdai_ItrId * SdaiItrId
Definition: sdai.h:61
sdaiQUERY_AGGR
@ sdaiQUERY_AGGR
Definition: sdai.h:291
SdaiLogical
int SdaiLogical
Definition: sdai.h:123
SdaiErrorCode
SdaiErrorId SdaiErrorCode
Definition: sdai.h:313
sdaiCreateSchemaInstance
DAI_EXPORT SdaiSchemaInstance sdaiCreateSchemaInstance(SdaiString schemaInstanceName, SdaiSchema schema, SdaiRep repository)
Sdai_instS::pInst
int pInst
Definition: sdai.h:36
SdaiReal
double SdaiReal
Definition: sdai.h:108
sdaiAddModel
DAI_EXPORT void sdaiAddModel(SdaiSchemaInstance schemaInstance, SdaiModel model)
SdaiBoolean
int SdaiBoolean
Definition: sdai.h:118
sdaiGetAttrs
DAI_EXPORT void sdaiGetAttrs(SdaiInstance instance, SdaiInteger numberAttr, SdaiAttr attribute, SdaiPrimitiveType valueType, void *value,...)
SdaiNumber
SdaiReal SdaiNumber
Definition: sdai.h:113
daiErrorId.h
sdaiGetMemberCount
DAI_EXPORT SdaiInteger sdaiGetMemberCount(SdaiAggr aggregate)
sdaiUndoChanges
DAI_EXPORT void sdaiUndoChanges(SdaiModel model)
Access_type_unset
@ Access_type_unset
Definition: sdai.h:298
SdaiList
SdaiOrderedAggr SdaiList
Definition: sdai.h:164
sdaiCreateSchemaInstanceBN
DAI_EXPORT SdaiSchemaInstance sdaiCreateSchemaInstanceBN(SdaiString schemaInstanceName, SdaiString schemaName, SdaiRep repository)
sdaiIsRecordingOn
DAI_EXPORT SdaiLogical sdaiIsRecordingOn(SdaiSession session)
name
GLuint const GLchar * name
Definition: gles2_ext.h:265
sdaiRenameModelBN
DAI_EXPORT void sdaiRenameModelBN(SdaiRep repository, SdaiString modelOldName, SdaiString modelName)
sdaiIsEqual
DAI_EXPORT SdaiBoolean sdaiIsEqual(SdaiInstance instance1, SdaiInstance instance2)
sdaiGetEntityExtent
DAI_EXPORT SdaiSet sdaiGetEntityExtent(SdaiModel model, SdaiEntity entity)
sdaiINSTANCE
@ sdaiINSTANCE
Definition: sdai.h:181
SdaiSession
SdaiInstance SdaiSession
Definition: sdai.h:215
sdaiCreateModel
DAI_EXPORT SdaiModel sdaiCreateModel(SdaiRep repository, SdaiString modelName, SdaiSchema schema)
sdaiCreateInstanceBN
DAI_EXPORT SdaiAppInstance sdaiCreateInstanceBN(SdaiModel model, SdaiString entityName)
sdaiNext
DAI_EXPORT SdaiBoolean sdaiNext(SdaiIterator iterator)
sdaiTestAttr
DAI_EXPORT SdaiBoolean sdaiTestAttr(SdaiInstance instance, SdaiAttr attribute)
sdaiQUERY_REP
@ sdaiQUERY_REP
Definition: sdai.h:291
SdaiPrimitiveType
SdaiPrimitiveType
Definition: sdai.h:179
SdaiIndexId
unsigned SdaiIndexId
Definition: sdai.h:73
sdaiUnsetAttrBN
DAI_EXPORT void sdaiUnsetAttrBN(SdaiAppInstance instance, SdaiString attributeName)
sdaiCreateADB
DAI_EXPORT SdaiADB sdaiCreateADB(SdaiPrimitiveType valueType,...)
sdaiDeleteSchemaInstance
DAI_EXPORT void sdaiDeleteSchemaInstance(SdaiSchemaInstance schemaInstance)
sdaiRW
@ sdaiRW
Definition: sdai.h:298
sdaiSetEventRecording
DAI_EXPORT SdaiBoolean sdaiSetEventRecording(SdaiSession session, SdaiBoolean setRec)
Sdai_instS
Definition: sdai.h:35
SdaiEnum
char * SdaiEnum
Definition: sdai.h:136
sdaiIsSubtypeOfBN
DAI_EXPORT SdaiBoolean sdaiIsSubtypeOfBN(SdaiString schemaName, SdaiString subName, SdaiString superName)
SdaiBinary
SdaiBit * SdaiBinary
Definition: sdai.h:133
sdaiGetAttrBN
DAI_EXPORT void * sdaiGetAttrBN(SdaiInstance instance, SdaiString attributeName, SdaiPrimitiveType valueType, void *value)
SdaiExplicitAttr
SdaiAttr SdaiExplicitAttr
Definition: sdai.h:225
SdaiId_aggr
struct Sdai_Id_aggr * SdaiId_aggr
Definition: sdai.h:55
sdaiNearCopyInstance
DAI_EXPORT SdaiAppInstance sdaiNearCopyInstance(SdaiAppInstance instance)
SdaiId
struct Sdai_instS * SdaiId
Definition: sdai.h:50
sdaiCreateAggrBN
DAI_EXPORT SdaiAggr sdaiCreateAggrBN(SdaiAppInstance instance, SdaiString attributeName)
sdaiCloseSession
DAI_EXPORT void sdaiCloseSession(SdaiSession session)
sdaiQUERY_MODEL
@ sdaiQUERY_MODEL
Definition: sdai.h:291
_sdaiGetEntityId
DAI_EXPORT SdaiInteger _sdaiGetEntityId(SdaiAppInstance entInst)
sdaiNUMBER
@ sdaiNUMBER
Definition: sdai.h:182
sdaiIsSDAIKindOfBN
DAI_EXPORT SdaiBoolean sdaiIsSDAIKindOfBN(SdaiInstance instance, SdaiString entityName)
sdaiGetAttrDefinitionBN
DAI_EXPORT SdaiAttr sdaiGetAttrDefinitionBN(SdaiString schemaName, SdaiString entityName, SdaiString attrName)
sdaiREAL
@ sdaiREAL
Definition: sdai.h:182
sdaiLogicalCompare
DAI_EXPORT int sdaiLogicalCompare(SdaiLogical value1, SdaiLogical value2)
SdaiQuerySourceType
SdaiQuerySourceType
Definition: sdai.h:290
sdaiIsInstanceOf
DAI_EXPORT SdaiBoolean sdaiIsInstanceOf(SdaiInstance instance, SdaiEntity entity)
SdaiInteger
long SdaiInteger
Definition: sdai.h:103
sdaiCreateEmptyADB
DAI_EXPORT SdaiADB sdaiCreateEmptyADB(void)
SdaiErrorHandler
void(* SdaiErrorHandler)(SdaiErrorCode)
Definition: sdai.h:318
SdaiSet
SdaiUnorderedAggr SdaiSet
Definition: sdai.h:169
sdaiIsKindOfBN
DAI_EXPORT SdaiBoolean sdaiIsKindOfBN(SdaiInstance instance, SdaiString entityName)
SdaiAccessMode
SdaiAccessMode
Definition: sdai.h:298
sdaiAccessModelBN
DAI_EXPORT SdaiModel sdaiAccessModelBN(SdaiRep repository, SdaiString modelName, SdaiAccessMode mode)
sdaiIsSDAISubtypeOf
DAI_EXPORT SdaiBoolean sdaiIsSDAISubtypeOf(SdaiEntity subtype, SdaiEntity supertype)
_sdaiCreateRepositoryFromFile
DAI_EXPORT SdaiRep _sdaiCreateRepositoryFromFile(SdaiSession session, SdaiString fileName, SdaiString name)
SdaiBit
unsigned char SdaiBit
Definition: sdai.h:96
sdaiCreateAggr
DAI_EXPORT SdaiAggr sdaiCreateAggr(SdaiAppInstance instance, SdaiExplicitAttr attribute)
SdaiSchemaInstance
SdaiInstance SdaiSchemaInstance
Definition: sdai.h:270
SdaiEntity
SdaiNamedType SdaiEntity
Definition: sdai.h:235
_sdaiGetEntityById
DAI_EXPORT SdaiAppInstance _sdaiGetEntityById(SdaiModel model, SdaiInteger id)
SdaiGlobalRule
SdaiInstance SdaiGlobalRule
Definition: sdai.h:255
SdaiAggr
SdaiId_aggr SdaiAggr
Definition: sdai.h:144
sdaiTestAttrBN
DAI_EXPORT SdaiBoolean sdaiTestAttrBN(SdaiInstance instance, SdaiString attributeName)
sdaiIsSDAISubtypeOfBN
DAI_EXPORT SdaiBoolean sdaiIsSDAISubtypeOfBN(SdaiString schemaName, SdaiString subName, SdaiString superName)
sdaiUnsetAttr
DAI_EXPORT void sdaiUnsetAttr(SdaiAppInstance instance, SdaiExplicitAttr attribute)
sdaiDeleteModelBN
DAI_EXPORT void sdaiDeleteModelBN(SdaiRep repository, SdaiString modelName)
sdaiOpenRepository
DAI_EXPORT SdaiRep sdaiOpenRepository(SdaiSession session, SdaiRep repository)
sdaiDeleteIterator
DAI_EXPORT void sdaiDeleteIterator(SdaiIterator iterator)
sdaiRestoreErrorHandler
DAI_EXPORT SdaiErrorHandler sdaiRestoreErrorHandler(void)
sdaiUnsetADB
DAI_EXPORT void sdaiUnsetADB(SdaiADB block)
SdaiOrderedAggr
SdaiAggr SdaiOrderedAggr
Definition: sdai.h:149
sdaiCreateComplexInstanceBN
DAI_EXPORT SdaiAppInstance sdaiCreateComplexInstanceBN(SdaiModel model, SdaiInteger nameNumber, SdaiString *nameVector)
sdaiIsInstanceOfBN
DAI_EXPORT SdaiBoolean sdaiIsInstanceOfBN(SdaiInstance instance, SdaiString entityName)
sdaiGetInstanceType
DAI_EXPORT SdaiEntity sdaiGetInstanceType(SdaiInstance instance)
sdaiRenameSchemaInstance
DAI_EXPORT void sdaiRenameSchemaInstance(SdaiSchemaInstance schemaInst, SdaiString schemaInstName)
sdaiRecordEvent
DAI_EXPORT void sdaiRecordEvent(SdaiSession session, SdaiString functionName, SdaiErrorCode error, SdaiString description)
sdaiDeleteADB
DAI_EXPORT void sdaiDeleteADB(SdaiADB block)
sdaiRenameModel
DAI_EXPORT void sdaiRenameModel(SdaiModel model, SdaiString modelName)
SdaiAttr
SdaiInstance SdaiAttr
Definition: sdai.h:220
_sdaiCreateRepository
DAI_EXPORT SdaiRep _sdaiCreateRepository(SdaiSession session, SdaiString name)
SdaiArray
SdaiOrderedAggr SdaiArray
Definition: sdai.h:159
sdaiErrorQuery
DAI_EXPORT SdaiErrorCode sdaiErrorQuery(void)
sdaiGetAllAttrs
DAI_EXPORT SdaiADB * sdaiGetAllAttrs(SdaiInstance instance, SdaiInteger *numberAttr)
SdaiWhereRule
SdaiInstance SdaiWhereRule
Definition: sdai.h:245
SdaiNamedType
SdaiInstance SdaiNamedType
Definition: sdai.h:230
sdaiIsSubtypeOf
DAI_EXPORT SdaiBoolean sdaiIsSubtypeOf(SdaiEntity subtype, SdaiEntity supertype)
SdaiUnorderedAggr
SdaiAggr SdaiUnorderedAggr
Definition: sdai.h:154
sdaiDeleteSchemaInstanceBN
DAI_EXPORT void sdaiDeleteSchemaInstanceBN(SdaiString schemaInstanceName, SdaiRep repository)
SdaiTrx
SdaiInstance SdaiTrx
Definition: sdai.h:275
sdaiCreateIterator
DAI_EXPORT SdaiIterator sdaiCreateIterator(SdaiAggr aggregate)
sdaiRO
@ sdaiRO
Definition: sdai.h:298
SdaiScope
SdaiInstance SdaiScope
Definition: sdai.h:265
sdaiOpenRepositoryBN
DAI_EXPORT SdaiRep sdaiOpenRepositoryBN(SdaiSession session, SdaiString repositoryName)
sdaiENUM
@ sdaiENUM
Definition: sdai.h:181
sdaiFarCopyInstance
DAI_EXPORT SdaiAppInstance sdaiFarCopyInstance(SdaiAppInstance instance, SdaiModel model)
sdaiGetAggrByIterator
DAI_EXPORT void * sdaiGetAggrByIterator(SdaiIterator iterator, SdaiPrimitiveType valueType, void *value)
sdaiBeginning
DAI_EXPORT void sdaiBeginning(SdaiIterator iterator)
SdaiRep
SdaiInstance SdaiRep
Definition: sdai.h:210
sdaiGetInstanceModel
DAI_EXPORT SdaiModel sdaiGetInstanceModel(SdaiInstance instance)
sdaiQUERY_SCHEMAINSTANCE
@ sdaiQUERY_SCHEMAINSTANCE
Definition: sdai.h:292
SdaiIterator
SdaiItrId SdaiIterator
Definition: sdai.h:281
daiBuildOptions.h
sdaiBINARY
@ sdaiBINARY
Definition: sdai.h:180
Sdai_aggrS::pAggr
int pAggr
Definition: sdai.h:43
sdaiRemoveModelBN
DAI_EXPORT void sdaiRemoveModelBN(SdaiSchemaInstance schemaInstance, SdaiRep repository, SdaiString modelName)
sdaiDeleteInstance
DAI_EXPORT void sdaiDeleteInstance(SdaiAppInstance instance)
sdaiGetSchemaInstance
DAI_EXPORT SdaiSchemaInstance sdaiGetSchemaInstance(SdaiString schemaInstanceName, SdaiRep repository)
sdaiAddModelBN
DAI_EXPORT void sdaiAddModelBN(SdaiSchemaInstance schemaInstance, SdaiRep repository, SdaiString modelName)
sdaiCreateInstance
DAI_EXPORT SdaiAppInstance sdaiCreateInstance(SdaiModel model, SdaiEntity entity)
sdaiPromoteModel
DAI_EXPORT void sdaiPromoteModel(SdaiModel model)
SdaiModel
SdaiInstance SdaiModel
Definition: sdai.h:205
sdaiLOGICAL
@ sdaiLOGICAL
Definition: sdai.h:181
sdaiINTEGER
@ sdaiINTEGER
Definition: sdai.h:181
sdaiGetAttrDefinition
DAI_EXPORT SdaiAttr sdaiGetAttrDefinition(SdaiEntity entity, SdaiString attrName)
sdaiRenameSchemaInstanceBN
DAI_EXPORT void sdaiRenameSchemaInstanceBN(SdaiString schemaInstOldName, SdaiRep repository, SdaiString schemaInstName)
sdaiGetSchema
DAI_EXPORT SdaiSchema sdaiGetSchema(SdaiString schemaName)
SdaiBag
SdaiUnorderedAggr SdaiBag
Definition: sdai.h:174
sdaiGetEntityExtentBN
DAI_EXPORT SdaiSet sdaiGetEntityExtentBN(SdaiModel model, SdaiString name)
sdaiSetErrorHandler
DAI_EXPORT void sdaiSetErrorHandler(SdaiErrorHandler function)
sdaiCreateAggrADB
DAI_EXPORT SdaiAggr sdaiCreateAggrADB(SdaiAppInstance instance, SdaiExplicitAttr attribute, SdaiADB selaggrInstance)
SdaiADBId
struct Sdai_ADBId * SdaiADBId
Definition: sdai.h:67
sdaiSaveChanges
DAI_EXPORT void sdaiSaveChanges(SdaiModel model)
SdaiErrorId
unsigned int SdaiErrorId
Definition: daiErrorId.h:31
sdaiADB
@ sdaiADB
Definition: sdai.h:180
Sdai_aggrS
Definition: sdai.h:42
SdaiAggrIndex
SdaiIndexId SdaiAggrIndex
Definition: sdai.h:308
sdaiIsKindOf
DAI_EXPORT SdaiBoolean sdaiIsKindOf(SdaiInstance instance, SdaiEntity entity)
value
GLsizei const GLfloat * value
Definition: gles2_ext.h:302
SdaiInstance
SdaiId SdaiInstance
Definition: sdai.h:193
sdaiOpenSession
DAI_EXPORT SdaiSession sdaiOpenSession(void)
sdaiPutADBValue
DAI_EXPORT void sdaiPutADBValue(SdaiADB block, SdaiPrimitiveType valueType,...)
sdaiGetADBType
DAI_EXPORT SdaiPrimitiveType sdaiGetADBType(SdaiADB block)
SdaiString
char * SdaiString
Definition: sdai.h:128
sdaiNOTYPE
@ sdaiNOTYPE
Definition: sdai.h:182
sdaiPutAttrBN
DAI_EXPORT void sdaiPutAttrBN(SdaiAppInstance instance, SdaiString attributeName, SdaiPrimitiveType valueType,...)
sdaiCreateModelBN
DAI_EXPORT SdaiModel sdaiCreateModelBN(SdaiRep repository, SdaiString modelName, SdaiString schemaName)
sdaiAGGR
@ sdaiAGGR
Definition: sdai.h:180
sdaiPutAttr
DAI_EXPORT void sdaiPutAttr(SdaiAppInstance instance, SdaiExplicitAttr attribute, SdaiPrimitiveType valueType,...)
sdaiEndModelAccess
DAI_EXPORT void sdaiEndModelAccess(SdaiModel model)
SdaiADB
SdaiADBId SdaiADB
Definition: sdai.h:303
SdaiAppInstance
SdaiInstance SdaiAppInstance
Definition: sdai.h:200
sdaiSTRING
@ sdaiSTRING
Definition: sdai.h:182
sdaiRemoveModel
DAI_EXPORT void sdaiRemoveModel(SdaiSchemaInstance schemaInstance, SdaiModel model)
sdaiBOOLEAN
@ sdaiBOOLEAN
Definition: sdai.h:180
sdaiGetADBValue
DAI_EXPORT void * sdaiGetADBValue(SdaiADB block, SdaiPrimitiveType valueType, void *value)
sdaiGetEntity
DAI_EXPORT SdaiEntity sdaiGetEntity(SdaiModel model, SdaiString name)
sdaiIsSDAIKindOf
DAI_EXPORT SdaiBoolean sdaiIsSDAIKindOf(SdaiInstance instance, SdaiEntity entity)
sdaiCreateAggrADBBN
DAI_EXPORT SdaiAggr sdaiCreateAggrADBBN(SdaiAppInstance instance, SdaiString attributeName, SdaiADB selaggrInstance)
void
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)
SdaiSchema
SdaiInstance SdaiSchema
Definition: sdai.h:260
DAI_EXPORT
#define DAI_EXPORT
Definition: daiBuildOptions.h:28
sdaiGetAttrsBN
DAI_EXPORT void sdaiGetAttrsBN(SdaiInstance instance, SdaiInteger numberAttr, SdaiString attributeName, SdaiPrimitiveType valueType, void *value,...)
SdaiUniRule
SdaiInstance SdaiUniRule
Definition: sdai.h:250
sdaiAccessModel
DAI_EXPORT SdaiModel sdaiAccessModel(SdaiModel model, SdaiAccessMode mode)
sdaiCloseRepository
DAI_EXPORT void sdaiCloseRepository(SdaiRep repository)
sdaiGetAttr
DAI_EXPORT void * sdaiGetAttr(SdaiInstance instance, SdaiAttr attribute, SdaiPrimitiveType valueType, void *value)