zuspec-arl-dm 0.1.0.15264414400rc0__cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- zsp_arl_dm/__build_num__.py +1 -0
- zsp_arl_dm/__init__.py +22 -0
- zsp_arl_dm/__version__.py +3 -0
- zsp_arl_dm/core.cpython-39-x86_64-linux-gnu.so +0 -0
- zsp_arl_dm/core.pxd +395 -0
- zsp_arl_dm/decl.pxd +317 -0
- zsp_arl_dm/libzsp-arl-dm.so +0 -0
- zsp_arl_dm/pkginfo.py +23 -0
- zsp_arl_dm/py_val_to_val_ref.py +46 -0
- zsp_arl_dm/share/include/TypeFieldAddrClaim.cpp +39 -0
- zsp_arl_dm/share/include/TypeFieldAddrClaim.h +41 -0
- zsp_arl_dm/share/include/zsp/arl/dm/FactoryExt.h +6 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IAccept.h +28 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IArl.h +30 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IComponentMap.h +41 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IContext.h +443 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IContextDumper.h +47 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IContextLoader.h +40 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeAction.h +43 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeActivity.h +37 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeActivityBind.h +45 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeActivityParallel.h +17 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeActivityReplicate.h +45 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeActivitySchedule.h +25 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeActivityScope.h +46 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeActivitySequence.h +26 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeActivityTraverse.h +33 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeActivityTraverseType.h +32 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeAddrClaim.h +42 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeAddrClaimTransparent.h +42 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeAddrHandle.h +44 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeAddrSpaceC.h +46 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeAddrSpaceTransparentC.h +41 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeArlStruct.h +51 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeComponent.h +40 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeCoreLibComponent.h +44 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeFlowObj.h +36 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeFunction.h +115 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeFunctionImport.h +45 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeFunctionParamDecl.h +53 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypePackedStruct.h +48 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypePureComponent.h +41 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypePyObj.h +41 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeReg.h +55 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeRegGroup.h +40 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeResource.h +22 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeTransparentAddrSpace.h +44 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IFactory.h +64 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IMarker.h +56 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelActivity.h +39 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelActivityBind.h +46 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelActivityParallel.h +41 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelActivityReplicate.h +49 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelActivitySchedule.h +30 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelActivityScope.h +52 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelActivitySequence.h +28 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelActivityTraverse.h +53 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelBuildContext.h +36 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelComponentTreeData.h +92 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelEvalIterator.h +72 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelEvalIteratorListener.h +62 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelEvaluator.h +41 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelExec.h +40 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelFieldAction.h +34 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelFieldClaim.h +43 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelFieldComponent.h +32 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelFieldComponentRoot.h +51 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelFieldExecutor.h +41 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelFieldExecutorClaim.h +42 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelFieldExecutorGroup.h +50 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelFieldInOut.h +44 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelFieldPool.h +38 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelFieldRegGroup.h +41 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelFieldRegGroupRef.h +40 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelFieldRegRef.h +41 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IPoolBindDirective.h +33 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IPyImport.h +45 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IRegGroup.h +32 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IRewriteContext.h +44 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IType.h +30 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeAction.h +25 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeExec.h +53 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeExecGroup.h +50 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeExecProc.h +44 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeExecTargetTmpl.h +59 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeExprMethodCallContext.h +45 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeExprMethodCallStatic.h +49 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeExprPureCompMethodCall.h +50 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeExprPyImportRef.h +44 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeExprPythonFieldRef.h +47 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeExprPythonMethodCall.h +47 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeExprPythonModuleRef.h +45 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeExprPythonSubscript.h +40 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeFieldActivity.h +32 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeFieldAddrClaim.h +52 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeFieldAddrClaimTransparent.h +45 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeFieldClaim.h +27 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeFieldExecutor.h +40 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeFieldExecutorClaim.h +41 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeFieldInOut.h +27 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeFieldMethod.h +39 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeFieldPool.h +29 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeFieldReg.h +47 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeFieldRegGroup.h +40 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeFieldRegGroupArr.h +49 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeFieldRegRef.h +41 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeFieldRegVec.h +52 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeModelDumper.h +47 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmt.h +43 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtAssign.h +61 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtBreak.h +41 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtContinue.h +40 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtDeclScope.h +44 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtExpr.h +44 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtForeach.h +41 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtIfClause.h +46 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtIfElse.h +53 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtMatch.h +53 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtMatchChoice.h +48 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtRepeat.h +47 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtRepeatWhile.h +46 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtReturn.h +45 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtScope.h +62 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtVarDecl.h +50 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtWhile.h +47 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtYield.h +42 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IVisitor.h +246 -0
- zsp_arl_dm/share/include/zsp/arl/dm/TypeKindE.h +23 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/ContextDelegator.h +549 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/CopyVisitor.h +204 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/IsResourcePool.h +55 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/ModelBuildContext.h +52 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/ModelEvalIteratorListenerBase.h +60 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/RewriteVisitorBase.h +346 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskActionHasMemClaim.h +76 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskCollectTopLevelActivities.h +63 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskFindExecutor.h +69 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskGetExprDataType.h +84 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskGetSubField.h +98 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskGetTypeBitWidth.h +76 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskIsDataTypeFlowObj.h +73 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskIsDataTypePyObj.h +55 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskIsPackedStruct.h +57 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskIsRefGroupRef.h +60 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskIsTypeFieldRegGroup.h +60 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskIsTypeFieldRegGroupArr.h +40 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskPackStruct2Int.h +80 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskUnpackInt2Struct.h +123 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskVisitActionTypeClaimRef.h +70 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskVisitModelFieldClaim.h +64 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskVisitModelFieldInOut.h +64 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/ValRefAction.h +43 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/ValRefActivity.h +63 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/ValRefActivityScope.h +51 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/ValRefPyObj.h +75 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/ValRefRegGroup.h +32 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/VisitorBase.h +456 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/VisitorDelegator.h +356 -0
- zsp_arl_dm/share/include/zsp/arl/dm/loader.h +39 -0
- zsp_arl_dm/val_ref_to_py_val.py +58 -0
- zuspec_arl_dm-0.1.0.15264414400rc0.dist-info/METADATA +25 -0
- zuspec_arl_dm-0.1.0.15264414400rc0.dist-info/RECORD +166 -0
- zuspec_arl_dm-0.1.0.15264414400rc0.dist-info/WHEEL +6 -0
- zuspec_arl_dm-0.1.0.15264414400rc0.dist-info/entry_points.txt +2 -0
- zuspec_arl_dm-0.1.0.15264414400rc0.dist-info/licenses/LICENSE +201 -0
- zuspec_arl_dm-0.1.0.15264414400rc0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,43 @@
|
|
1
|
+
/**
|
2
|
+
* IModelFieldClaim.h
|
3
|
+
*
|
4
|
+
* Copyright 2022 Matthew Ballance and Contributors
|
5
|
+
*
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may
|
7
|
+
* not use this file except in compliance with the License.
|
8
|
+
* You may obtain a copy of the License at:
|
9
|
+
*
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
*
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
* See the License for the specific language governing permissions and
|
16
|
+
* limitations under the License.
|
17
|
+
*
|
18
|
+
* Created on:
|
19
|
+
* Author:
|
20
|
+
*/
|
21
|
+
#pragma once
|
22
|
+
#include "vsc/dm/IModelFieldRef.h"
|
23
|
+
|
24
|
+
namespace zsp {
|
25
|
+
namespace arl {
|
26
|
+
namespace dm {
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
class IModelFieldClaim : public virtual vsc::dm::IModelFieldRef {
|
31
|
+
public:
|
32
|
+
|
33
|
+
virtual ~IModelFieldClaim() { }
|
34
|
+
|
35
|
+
virtual bool isLock() const = 0;
|
36
|
+
|
37
|
+
};
|
38
|
+
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
|
@@ -0,0 +1,32 @@
|
|
1
|
+
/*
|
2
|
+
* IModelFieldComponent.h
|
3
|
+
*
|
4
|
+
* Created on: May 18, 2022
|
5
|
+
* Author: mballance
|
6
|
+
*/
|
7
|
+
|
8
|
+
#pragma once
|
9
|
+
#include "zsp/arl/dm/IComponentMap.h"
|
10
|
+
#include "vsc/dm/IModelField.h"
|
11
|
+
|
12
|
+
namespace zsp {
|
13
|
+
namespace arl {
|
14
|
+
namespace dm {
|
15
|
+
|
16
|
+
|
17
|
+
class IModelFieldComponent;
|
18
|
+
using IModelFieldComponentUP=vsc::dm::UP<IModelFieldComponent>;
|
19
|
+
class IModelFieldComponent :
|
20
|
+
public virtual vsc::dm::IModelField {
|
21
|
+
public:
|
22
|
+
virtual ~IModelFieldComponent() { }
|
23
|
+
|
24
|
+
virtual int32_t getId() const = 0;
|
25
|
+
|
26
|
+
virtual void setId(int32_t i) = 0;
|
27
|
+
|
28
|
+
};
|
29
|
+
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
/**
|
2
|
+
* IModelFieldComponentRoot.h
|
3
|
+
*
|
4
|
+
* Copyright 2022 Matthew Ballance and Contributors
|
5
|
+
*
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may
|
7
|
+
* not use this file except in compliance with the License.
|
8
|
+
* You may obtain a copy of the License at:
|
9
|
+
*
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
*
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
* See the License for the specific language governing permissions and
|
16
|
+
* limitations under the License.
|
17
|
+
*
|
18
|
+
* Created on:
|
19
|
+
* Author:
|
20
|
+
*/
|
21
|
+
#pragma once
|
22
|
+
#include "zsp/arl/dm/IModelFieldComponent.h"
|
23
|
+
#include "zsp/arl/dm/IModelComponentTreeData.h"
|
24
|
+
|
25
|
+
namespace zsp {
|
26
|
+
namespace arl {
|
27
|
+
namespace dm {
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
class IModelFieldComponentRoot;
|
32
|
+
using IModelFieldComponentRootUP=vsc::dm::UP<IModelFieldComponentRoot>;
|
33
|
+
class IModelFieldComponentRoot :
|
34
|
+
public virtual IModelFieldComponent,
|
35
|
+
public virtual IModelComponentTreeData {
|
36
|
+
public:
|
37
|
+
|
38
|
+
virtual ~IModelFieldComponentRoot() { }
|
39
|
+
|
40
|
+
/**
|
41
|
+
* Builds the component map across the tree
|
42
|
+
*/
|
43
|
+
virtual void initCompTree() = 0;
|
44
|
+
|
45
|
+
};
|
46
|
+
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
|
@@ -0,0 +1,41 @@
|
|
1
|
+
/**
|
2
|
+
* IModelFieldExecutor.h
|
3
|
+
*
|
4
|
+
* Copyright 2022 Matthew Ballance and Contributors
|
5
|
+
*
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may
|
7
|
+
* not use this file except in compliance with the License.
|
8
|
+
* You may obtain a copy of the License at:
|
9
|
+
*
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
*
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
* See the License for the specific language governing permissions and
|
16
|
+
* limitations under the License.
|
17
|
+
*
|
18
|
+
* Created on:
|
19
|
+
* Author:
|
20
|
+
*/
|
21
|
+
#pragma once
|
22
|
+
#include "vsc/dm/IDataTypeStruct.h"
|
23
|
+
#include "vsc/dm/IModelField.h"
|
24
|
+
|
25
|
+
namespace zsp {
|
26
|
+
namespace arl {
|
27
|
+
namespace dm {
|
28
|
+
|
29
|
+
|
30
|
+
class IModelFieldExecutor : public virtual vsc::dm::IModelField {
|
31
|
+
public:
|
32
|
+
|
33
|
+
virtual ~IModelFieldExecutor() { }
|
34
|
+
|
35
|
+
};
|
36
|
+
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
|
@@ -0,0 +1,42 @@
|
|
1
|
+
/**
|
2
|
+
* IModelFieldExecutorClaim.h
|
3
|
+
*
|
4
|
+
* Copyright 2022 Matthew Ballance and Contributors
|
5
|
+
*
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may
|
7
|
+
* not use this file except in compliance with the License.
|
8
|
+
* You may obtain a copy of the License at:
|
9
|
+
*
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
*
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
* See the License for the specific language governing permissions and
|
16
|
+
* limitations under the License.
|
17
|
+
*
|
18
|
+
* Created on:
|
19
|
+
* Author:
|
20
|
+
*/
|
21
|
+
#pragma once
|
22
|
+
#include "vsc/dm/IModelFieldRef.h"
|
23
|
+
|
24
|
+
namespace zsp {
|
25
|
+
namespace arl {
|
26
|
+
namespace dm {
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
class IModelFieldExecutorClaim : public virtual vsc::dm::IModelFieldRef {
|
32
|
+
public:
|
33
|
+
|
34
|
+
virtual ~IModelFieldExecutorClaim() { }
|
35
|
+
|
36
|
+
};
|
37
|
+
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
|
@@ -0,0 +1,50 @@
|
|
1
|
+
/**
|
2
|
+
* IModelFieldExecutorGroup.h
|
3
|
+
*
|
4
|
+
* Copyright 2022 Matthew Ballance and Contributors
|
5
|
+
*
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may
|
7
|
+
* not use this file except in compliance with the License.
|
8
|
+
* You may obtain a copy of the License at:
|
9
|
+
*
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
*
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
* See the License for the specific language governing permissions and
|
16
|
+
* limitations under the License.
|
17
|
+
*
|
18
|
+
* Created on:
|
19
|
+
* Author:
|
20
|
+
*/
|
21
|
+
#pragma once
|
22
|
+
#include <vector>
|
23
|
+
#include "vsc/dm/IDataTypeStruct.h"
|
24
|
+
#include "zsp/arl/dm/IModelFieldComponent.h"
|
25
|
+
|
26
|
+
namespace zsp {
|
27
|
+
namespace arl {
|
28
|
+
namespace dm {
|
29
|
+
|
30
|
+
|
31
|
+
class IModelFieldExecutor;
|
32
|
+
|
33
|
+
class IModelFieldExecutorGroup : public virtual IModelFieldComponent {
|
34
|
+
public:
|
35
|
+
|
36
|
+
virtual ~IModelFieldExecutorGroup() { }
|
37
|
+
|
38
|
+
virtual vsc::dm::IDataTypeStruct *getTraitType() const = 0;
|
39
|
+
|
40
|
+
virtual const std::vector<IModelFieldExecutor *> getExecutors() const = 0;
|
41
|
+
|
42
|
+
virtual void addExecutor(IModelFieldExecutor *executor) = 0;
|
43
|
+
|
44
|
+
};
|
45
|
+
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
|
@@ -0,0 +1,44 @@
|
|
1
|
+
/**
|
2
|
+
* IModelFieldInOut.h
|
3
|
+
*
|
4
|
+
* Copyright 2022 Matthew Ballance and Contributors
|
5
|
+
*
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may
|
7
|
+
* not use this file except in compliance with the License.
|
8
|
+
* You may obtain a copy of the License at:
|
9
|
+
*
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
*
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
* See the License for the specific language governing permissions and
|
16
|
+
* limitations under the License.
|
17
|
+
*
|
18
|
+
* Created on:
|
19
|
+
* Author:
|
20
|
+
*/
|
21
|
+
#pragma once
|
22
|
+
#include "vsc/dm/IModelFieldRef.h"
|
23
|
+
|
24
|
+
namespace zsp {
|
25
|
+
namespace arl {
|
26
|
+
namespace dm {
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
class IModelFieldInOut : public virtual vsc::dm::IModelFieldRef {
|
32
|
+
public:
|
33
|
+
|
34
|
+
virtual ~IModelFieldInOut() { }
|
35
|
+
|
36
|
+
virtual bool isInput() const = 0;
|
37
|
+
|
38
|
+
};
|
39
|
+
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
|
@@ -0,0 +1,38 @@
|
|
1
|
+
|
2
|
+
#pragma once
|
3
|
+
#include <vector>
|
4
|
+
#include "vsc/dm/IModelField.h"
|
5
|
+
|
6
|
+
namespace zsp {
|
7
|
+
namespace arl {
|
8
|
+
namespace dm {
|
9
|
+
|
10
|
+
|
11
|
+
class IModelFieldPool : public virtual vsc::dm::IModelField {
|
12
|
+
public:
|
13
|
+
|
14
|
+
virtual ~IModelFieldPool() { }
|
15
|
+
|
16
|
+
virtual vsc::dm::IDataType *getDataTypePool() const = 0;
|
17
|
+
|
18
|
+
virtual void setDataTypePool(vsc::dm::IDataType *t) = 0;
|
19
|
+
|
20
|
+
virtual int32_t getId() const = 0;
|
21
|
+
|
22
|
+
virtual void setId(int32_t id) = 0;
|
23
|
+
|
24
|
+
virtual void addObject(vsc::dm::IModelField *obj) = 0;
|
25
|
+
|
26
|
+
virtual const std::pair<int32_t,int32_t> &getGlobalPoolRange() const = 0;
|
27
|
+
|
28
|
+
virtual void setGlobalPoolRange(int32_t i1, int32_t i2) = 0;
|
29
|
+
|
30
|
+
virtual const std::vector<vsc::dm::IModelFieldUP> &getObjects() const = 0;
|
31
|
+
|
32
|
+
|
33
|
+
};
|
34
|
+
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
@@ -0,0 +1,41 @@
|
|
1
|
+
/**
|
2
|
+
* IModelFieldRegGroup.h
|
3
|
+
*
|
4
|
+
* Copyright 2022 Matthew Ballance and Contributors
|
5
|
+
*
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may
|
7
|
+
* not use this file except in compliance with the License.
|
8
|
+
* You may obtain a copy of the License at:
|
9
|
+
*
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
*
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
* See the License for the specific language governing permissions and
|
16
|
+
* limitations under the License.
|
17
|
+
*
|
18
|
+
* Created on:
|
19
|
+
* Author:
|
20
|
+
*/
|
21
|
+
#pragma once
|
22
|
+
#include "vsc/dm/IModelField.h"
|
23
|
+
|
24
|
+
namespace zsp {
|
25
|
+
namespace arl {
|
26
|
+
namespace dm {
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
class IModelFieldRegGroup : public virtual vsc::dm::IModelField {
|
31
|
+
public:
|
32
|
+
|
33
|
+
virtual ~IModelFieldRegGroup() { }
|
34
|
+
|
35
|
+
};
|
36
|
+
|
37
|
+
} /* namespace dm */
|
38
|
+
} /* namespace arl */
|
39
|
+
} /* namespace zsp */
|
40
|
+
|
41
|
+
|
@@ -0,0 +1,40 @@
|
|
1
|
+
/**
|
2
|
+
* IModelFieldRegGroupRef.h
|
3
|
+
*
|
4
|
+
* Copyright 2022 Matthew Ballance and Contributors
|
5
|
+
*
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may
|
7
|
+
* not use this file except in compliance with the License.
|
8
|
+
* You may obtain a copy of the License at:
|
9
|
+
*
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
*
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
* See the License for the specific language governing permissions and
|
16
|
+
* limitations under the License.
|
17
|
+
*
|
18
|
+
* Created on:
|
19
|
+
* Author:
|
20
|
+
*/
|
21
|
+
#pragma once
|
22
|
+
|
23
|
+
namespace zsp {
|
24
|
+
namespace arl {
|
25
|
+
namespace dm {
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
class IModelFieldRegGroupRef {
|
30
|
+
public:
|
31
|
+
|
32
|
+
virtual ~IModelFieldRegGroupRef() { }
|
33
|
+
|
34
|
+
};
|
35
|
+
|
36
|
+
} /* namespace dm */
|
37
|
+
} /* namespace arl */
|
38
|
+
} /* namespace zsp */
|
39
|
+
|
40
|
+
|
@@ -0,0 +1,41 @@
|
|
1
|
+
/**
|
2
|
+
* IModelFieldRegRef.h
|
3
|
+
*
|
4
|
+
* Copyright 2022 Matthew Ballance and Contributors
|
5
|
+
*
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may
|
7
|
+
* not use this file except in compliance with the License.
|
8
|
+
* You may obtain a copy of the License at:
|
9
|
+
*
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
*
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
* See the License for the specific language governing permissions and
|
16
|
+
* limitations under the License.
|
17
|
+
*
|
18
|
+
* Created on:
|
19
|
+
* Author:
|
20
|
+
*/
|
21
|
+
#pragma once
|
22
|
+
#include "vsc/dm/IModelFieldTypeRef.h"
|
23
|
+
|
24
|
+
namespace zsp {
|
25
|
+
namespace arl {
|
26
|
+
namespace dm {
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
class IModelFieldRegRef : public virtual vsc::dm::IModelFieldTypeRef {
|
31
|
+
public:
|
32
|
+
|
33
|
+
virtual ~IModelFieldRegRef() { }
|
34
|
+
|
35
|
+
};
|
36
|
+
|
37
|
+
} /* namespace dm */
|
38
|
+
} /* namespace arl */
|
39
|
+
} /* namespace zsp */
|
40
|
+
|
41
|
+
|
@@ -0,0 +1,33 @@
|
|
1
|
+
|
2
|
+
#pragma once
|
3
|
+
#include <memory>
|
4
|
+
#include "vsc/dm/ITypeExprFieldRef.h"
|
5
|
+
|
6
|
+
namespace zsp {
|
7
|
+
namespace arl {
|
8
|
+
namespace dm {
|
9
|
+
|
10
|
+
|
11
|
+
enum class PoolBindKind {
|
12
|
+
All,
|
13
|
+
Ref
|
14
|
+
};
|
15
|
+
|
16
|
+
class IPoolBindDirective;
|
17
|
+
using IPoolBindDirectiveUP=vsc::dm::UP<IPoolBindDirective>;
|
18
|
+
class IPoolBindDirective {
|
19
|
+
public:
|
20
|
+
|
21
|
+
virtual ~IPoolBindDirective() { }
|
22
|
+
|
23
|
+
virtual PoolBindKind kind() const = 0;
|
24
|
+
|
25
|
+
virtual vsc::dm::ITypeExprFieldRef *getPool() const = 0;
|
26
|
+
|
27
|
+
virtual vsc::dm::ITypeExprFieldRef *getTarget() const = 0;
|
28
|
+
|
29
|
+
};
|
30
|
+
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
/**
|
2
|
+
* IPyImport.h
|
3
|
+
*
|
4
|
+
* Copyright 2023 Matthew Ballance and Contributors
|
5
|
+
*
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may
|
7
|
+
* not use this file except in compliance with the License.
|
8
|
+
* You may obtain a copy of the License at:
|
9
|
+
*
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
*
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
* See the License for the specific language governing permissions and
|
16
|
+
* limitations under the License.
|
17
|
+
*
|
18
|
+
* Created on:
|
19
|
+
* Author:
|
20
|
+
*/
|
21
|
+
#pragma once
|
22
|
+
#include <string>
|
23
|
+
#include "vsc/dm/impl/UP.h"
|
24
|
+
|
25
|
+
namespace zsp {
|
26
|
+
namespace arl {
|
27
|
+
namespace dm {
|
28
|
+
|
29
|
+
|
30
|
+
class IPyImport;
|
31
|
+
using IPyImportUP=vsc::dm::UP<IPyImport>;
|
32
|
+
class IPyImport {
|
33
|
+
public:
|
34
|
+
|
35
|
+
virtual ~IPyImport() { }
|
36
|
+
|
37
|
+
virtual const std::string &path() const = 0;
|
38
|
+
|
39
|
+
};
|
40
|
+
|
41
|
+
} /* namespace dm */
|
42
|
+
} /* namespace arl */
|
43
|
+
} /* namespace zsp */
|
44
|
+
|
45
|
+
|
@@ -0,0 +1,32 @@
|
|
1
|
+
/**
|
2
|
+
* IRegGroup.h
|
3
|
+
*
|
4
|
+
* Copyright 2022 Matthew Ballance and Contributors
|
5
|
+
*
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may
|
7
|
+
* not use this file except in compliance with the License.
|
8
|
+
* You may obtain a copy of the License at:
|
9
|
+
*
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
*
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
* See the License for the specific language governing permissions and
|
16
|
+
* limitations under the License.
|
17
|
+
*
|
18
|
+
* Created on:
|
19
|
+
* Author:
|
20
|
+
*/
|
21
|
+
#pragma once
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
class IRegGroup {
|
26
|
+
public:
|
27
|
+
|
28
|
+
virtual ~IRegGroup() { }
|
29
|
+
|
30
|
+
};
|
31
|
+
|
32
|
+
|
@@ -0,0 +1,44 @@
|
|
1
|
+
/**
|
2
|
+
* IRewriteContext.h
|
3
|
+
*
|
4
|
+
* Copyright 2022 Matthew Ballance and Contributors
|
5
|
+
*
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may
|
7
|
+
* not use this file except in compliance with the License.
|
8
|
+
* You may obtain a copy of the License at:
|
9
|
+
*
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
*
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
* See the License for the specific language governing permissions and
|
16
|
+
* limitations under the License.
|
17
|
+
*
|
18
|
+
* Created on:
|
19
|
+
* Author:
|
20
|
+
*/
|
21
|
+
#pragma once
|
22
|
+
#include "vsc/dm/IRewriteContext.h"
|
23
|
+
#include "zsp/arl/dm/IContext.h"
|
24
|
+
#include "zsp/arl/dm/impl/ContextDelegator.h"
|
25
|
+
|
26
|
+
namespace zsp {
|
27
|
+
namespace arl {
|
28
|
+
namespace dm {
|
29
|
+
|
30
|
+
|
31
|
+
class IRewriteContext :
|
32
|
+
public virtual vsc::dm::IRewriteContext,
|
33
|
+
public virtual IContext {
|
34
|
+
public:
|
35
|
+
|
36
|
+
virtual ~IRewriteContext() { }
|
37
|
+
|
38
|
+
};
|
39
|
+
|
40
|
+
} /* namespace dm */
|
41
|
+
} /* namespace arl */
|
42
|
+
} /* namespace zsp */
|
43
|
+
|
44
|
+
|
@@ -0,0 +1,30 @@
|
|
1
|
+
/*
|
2
|
+
* IType.h
|
3
|
+
*
|
4
|
+
* Created on: Apr 2, 2022
|
5
|
+
* Author: mballance
|
6
|
+
*/
|
7
|
+
|
8
|
+
#pragma once
|
9
|
+
#include <string>
|
10
|
+
#include "zsp/arl/dm/IAccept.h"
|
11
|
+
|
12
|
+
namespace zsp {
|
13
|
+
namespace arl {
|
14
|
+
namespace dm {
|
15
|
+
|
16
|
+
|
17
|
+
class IType : public IAccept {
|
18
|
+
public:
|
19
|
+
|
20
|
+
virtual ~IType() { }
|
21
|
+
|
22
|
+
virtual const std::string &fullName() const = 0;
|
23
|
+
|
24
|
+
virtual const std::string &name() const = 0;
|
25
|
+
|
26
|
+
};
|
27
|
+
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
/*
|
2
|
+
* ITypeAction.h
|
3
|
+
*
|
4
|
+
* Created on: Apr 2, 2022
|
5
|
+
* Author: mballance
|
6
|
+
*/
|
7
|
+
|
8
|
+
#pragma once
|
9
|
+
#include "zsp/arl/dm/IType.h"
|
10
|
+
|
11
|
+
namespace zsp {
|
12
|
+
namespace arl {
|
13
|
+
namespace dm {
|
14
|
+
|
15
|
+
|
16
|
+
class ITypeAction : public IType {
|
17
|
+
public:
|
18
|
+
|
19
|
+
virtual ~ITypeAction() { }
|
20
|
+
|
21
|
+
};
|
22
|
+
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|