Altium C++ SDK 3.0
Loading...
Searching...
No Matches
EDP.ComponentLib.Interfaces.h
Go to the documentation of this file.
1#pragma once
2
3#ifndef EDP_COMPONENTLIB_INTERFACES_H_INCLUDED
4#define EDP_COMPONENTLIB_INTERFACES_H_INCLUDED
5
6#include <comdef.h>
7#include <string>
8#pragma pack(push, 8)
9
10namespace ComponentLib
11{
12
13/*..............................................................................*/
14struct __declspec(uuid("{AE728C2F-CEAB-4FA8-9DBD-7D238BA3E2FC}")) IAbstractGroup;
15_COM_SMARTPTR_TYPEDEF(IAbstractGroup, __uuidof(IAbstractGroup)); // IAbstractGroupPtr
16/*..............................................................................*/
17
18/*..............................................................................*/
19struct __declspec(uuid("{81E18C2C-F989-4DE6-8884-ED6A73EE9C5F}")) IModelChoiceList;
20_COM_SMARTPTR_TYPEDEF(IModelChoiceList, __uuidof(IModelChoiceList)); // IModelChoiceListPtr
21/*..............................................................................*/
22
23/*..............................................................................*/
24struct __declspec(uuid("{5E61DDEF-E4CA-4919-A6AD-E550B1DE3433}")) IParameter;
25_COM_SMARTPTR_TYPEDEF(IParameter, __uuidof(IParameter)); // IParameterPtr
26/*..............................................................................*/
27
28/*..............................................................................*/
29struct __declspec(uuid("{8DEC0060-C96E-4FF3-96C1-F8F98AB73481}")) IParameterList;
30_COM_SMARTPTR_TYPEDEF(IParameterList, __uuidof(IParameterList)); // IParameterListPtr
31/*..............................................................................*/
32
33/*..............................................................................*/
34struct __declspec(uuid("{CD765AB5-ED8B-45D6-B598-151CE6A15E59}")) IGroupList;
35_COM_SMARTPTR_TYPEDEF(IGroupList, __uuidof(IGroupList)); // IGroupListPtr
36/*..............................................................................*/
37
38/*..............................................................................*/
39struct __declspec(uuid("{FEE108C3-E0D7-4713-AC1A-C067B521C414}")) IComponentDefinitionList;
41/*..............................................................................*/
42
43/*..............................................................................*/
44struct __declspec(uuid("{B5266CAD-F8C2-48F6-B3FD-492B7FF2EB8D}")) IPartChoiceListLinkList;
46/*..............................................................................*/
47
48/*..............................................................................*/
49struct __declspec(uuid("{08390537-EBF9-4880-95BC-F69DF5311928}")) ITopGroup;
50_COM_SMARTPTR_TYPEDEF(ITopGroup, __uuidof(ITopGroup)); // ITopGroupPtr
51/*..............................................................................*/
52
53/*..............................................................................*/
54struct __declspec(uuid("{B58DA9B6-AD19-4865-B203-BF56C9140178}")) IComponentSet;
55_COM_SMARTPTR_TYPEDEF(IComponentSet, __uuidof(IComponentSet)); // IComponentSetPtr
56/*..............................................................................*/
57
58/*..............................................................................*/
59struct __declspec(uuid("{2602DA7A-9E44-4CCF-A701-AC8BD12B5E81}")) IComponentTemplateParameter;
61/*..............................................................................*/
62
63/*..............................................................................*/
64struct __declspec(uuid("{4C59D9C5-198A-4B10-A2BE-42E662E0D702}")) IComponentTemplate;
65_COM_SMARTPTR_TYPEDEF(IComponentTemplate, __uuidof(IComponentTemplate)); // IComponentTemplatePtr
66/*..............................................................................*/
67
68/*..............................................................................*/
69struct __declspec(uuid("{F74CCFFA-8074-4DE4-ACB1-5DAAE35078D9}")) IComponentTemplateParameterValue;
71/*..............................................................................*/
72
73/*..............................................................................*/
74struct __declspec(uuid("{007AA932-8616-4DD4-8C69-B6E2AF9B8C28}")) IComponentTemplateModelLink;
76/*..............................................................................*/
77
78/*..............................................................................*/
79struct __declspec(uuid("{EC4E5BC7-7A61-47C9-AC02-F8B850AD0FE1}")) IComponentTemplateModelLinkList;
81/*..............................................................................*/
82
83/*..............................................................................*/
84struct __declspec(uuid("{82FFE8B8-D0FA-4BC1-9639-093A84F987AE}")) IComponentTemplateComponentType;
86/*..............................................................................*/
87
88/*..............................................................................*/
89struct __declspec(uuid("{ED1B516D-4DD1-4ED2-B3F9-93CFE5A131EE}")) IComponentTemplateComponentTypeList;
91/*..............................................................................*/
92
93/*..............................................................................*/
94struct __declspec(uuid("{8A869C15-1432-4AA0-A439-3D129FE6BFE5}")) IParameterValueConvertorFactory;
96/*..............................................................................*/
97
98/*..............................................................................*/
99struct __declspec(uuid("{10592090-5E2C-4774-862D-841506725C07}"))
100IAbstractObject : IDispatch
101{
102};
103_COM_SMARTPTR_TYPEDEF(IAbstractObject, __uuidof(IAbstractObject)); // IAbstractObjectPtr
104/*..............................................................................*/
105
106/*..............................................................................*/
107struct __declspec(uuid("{FF48EED8-C58A-4DCC-8316-3F322D9B5B98}"))
109{
110 std::wstring GetGUID();
111 void SetGUID(std::wstring Value);
112};
114/*..............................................................................*/
115
116/*..............................................................................*/
117struct __declspec(uuid("{EAACFC73-EF21-4662-BC54-EC3C950E20C0}"))
119{
120 std::wstring GetID();
121 void SetId(std::wstring Value);
126 IParameter * FindParameterByName(std::wstring const AName);
128 void SetStateIndex(int Value);
129};
130_COM_SMARTPTR_TYPEDEF(IAbstractItem, __uuidof(IAbstractItem)); // IAbstractItemPtr
131/*..............................................................................*/
132
133/*..............................................................................*/
134struct __declspec(uuid("{1D46F8E3-1589-4B61-9580-034F8022339B}"))
136{
137 int Count();
138};
140/*..............................................................................*/
141
142/*..............................................................................*/
143struct __declspec(uuid("{AE728C2F-CEAB-4FA8-9DBD-7D238BA3E2FC}"))
145{
146 std::wstring GetItemNamingScheme();
147 void SetItemNamingScheme(std::wstring Value);
152 std::wstring GetPath();
153 void SetPAth(std::wstring Value);
154};
155/*..............................................................................*/
156
157/*..............................................................................*/
158struct __declspec(uuid("{6759017E-F942-46BC-B124-F0EC70530F87}"))
160{
161};
162_COM_SMARTPTR_TYPEDEF(IGroup, __uuidof(IGroup)); // IGroupPtr
163/*..............................................................................*/
164
165/*..............................................................................*/
166struct __declspec(uuid("{F26B9DF5-DA42-4D37-A601-B28F008CE544}"))
168{
169 std::wstring GetParameterName();
170 void SetParameterName(std::wstring Value);
171 std::wstring GetParameterUnit();
172 void SetParameterUnit(std::wstring Value);
174 void SetVisible(bool Value);
176 void SetIsRequired(bool Value);
177};
179/*..............................................................................*/
180
181/*..............................................................................*/
182struct __declspec(uuid("{DF684C4C-10A5-42C9-84A1-5096FF9F1118}"))
184{
186 IRequiredParameter * Find(std::wstring const ParameterName);
187 IRequiredParameter * FindOrCreate(std::wstring const ParameterName);
189};
191/*..............................................................................*/
192
193/*..............................................................................*/
194struct __declspec(uuid("{23FE84FC-8D92-4F29-A3AE-DCA3614F8F09}"))
196{
197 std::wstring GetModelKind();
198 std::wstring GetID();
199};
200_COM_SMARTPTR_TYPEDEF(IRequiredModel, __uuidof(IRequiredModel)); // IRequiredModelPtr
201/*..............................................................................*/
202
203/*..............................................................................*/
204struct __declspec(uuid("{ED6A9F2C-393A-47AC-AEB7-7BF7808EF98D}"))
206{
207 int Add(IRequiredModel * Item);
208 IRequiredModel * Find(std::wstring const ModelID);
209 IRequiredModel * FindOrCreate(std::wstring const ModelID);
211 IRequiredModel * AddForModelKind(std::wstring const ModelKind);
212};
214/*..............................................................................*/
215
216/*..............................................................................*/
217struct __declspec(uuid("{F79B8E10-0C78-4729-9895-48E65B142B32}"))
219{
220 std::wstring GetModelName();
221 void SetModelName(std::wstring Value);
222 std::wstring GetModelKind();
223 void SetModelKind(std::wstring Value);
224 std::wstring GetVaultGUID();
225 void SetVaultGUID(std::wstring Value);
226 std::wstring GetItemGUID();
227 void SetItemGUID(std::wstring Value);
228 std::wstring GetRevisionGUID();
229 void SetRevisionGUID(std::wstring Value);
230 std::wstring GetRevisionId();
231 void SetRevisionId(std::wstring Value);
232};
233_COM_SMARTPTR_TYPEDEF(IModelLink, __uuidof(IModelLink)); // IModelLinkPtr
234/*..............................................................................*/
235
236/*..............................................................................*/
237struct __declspec(uuid("{DA2817B8-BB85-41C4-8D02-EAEA7FDD345D}"))
239{
240 int Add(IModelLink * Item);
241 IModelLink * Find(std::wstring const VaultGUID, std::wstring const RevisionGUID);
242 IModelLink * FindOrCreate(std::wstring const VaultGUID, std::wstring const RevisionGUID);
243 IModelLink * Get(int I);
244};
245_COM_SMARTPTR_TYPEDEF(IModelLinkList, __uuidof(IModelLinkList)); // IModelLinkListPtr
246/*..............................................................................*/
247
248/*..............................................................................*/
249struct __declspec(uuid("{8EE7C7AD-D2D9-4B4D-9D17-5B9E599913FF}"))
251{
256 std::wstring GetMapAsString();
257 void SetMapAsString(std::wstring Value);
258 std::wstring GetExcludedParts();
259 void SetExcludedParts(std::wstring Value);
260};
261_COM_SMARTPTR_TYPEDEF(IModelChoice, __uuidof(IModelChoice)); // IModelChoicePtr
262/*..............................................................................*/
263
264/*..............................................................................*/
265struct __declspec(uuid("{81E18C2C-F989-4DE6-8884-ED6A73EE9C5F}"))
267{
268 int Add(IModelChoice * Item);
270};
271/*..............................................................................*/
272
273/*..............................................................................*/
274struct __declspec(uuid("{5E61DDEF-E4CA-4919-A6AD-E550B1DE3433}"))
276{
277 std::wstring GetValue();
278 void SetValue(std::wstring Value);
281 std::wstring GetName();
283};
284/*..............................................................................*/
285
286/*..............................................................................*/
287struct __declspec(uuid("{8DEC0060-C96E-4FF3-96C1-F8F98AB73481}"))
289{
290 int Add(IParameter * Item);
291 IParameter * Get(int I);
292};
293/*..............................................................................*/
294
295/*..............................................................................*/
296struct __declspec(uuid("{CD765AB5-ED8B-45D6-B598-151CE6A15E59}"))
298{
299 int Add(IGroup * Item);
300 IGroup * Get(int I);
301};
302/*..............................................................................*/
303
304/*..............................................................................*/
305struct __declspec(uuid("{8BC3CCFC-5285-4249-A65C-C2DD8F64CCA2}"))
307{
308 std::wstring GetCatalogGuid();
309 void SetCatalogGuid(std::wstring Value);
310};
311_COM_SMARTPTR_TYPEDEF(IPartChoice, __uuidof(IPartChoice)); // IPartChoicePtr
312/*..............................................................................*/
313
314/*..............................................................................*/
315struct __declspec(uuid("{4A7664DD-95AA-4586-B058-4B09DE9873D1}"))
317{
318 int Count();
319 IPartChoice * Get(int Index);
320 int Add(IPartChoice * Item);
321 IPartChoice * FindByCatalogGUID(std::wstring ACatalogGUID);
322};
324/*..............................................................................*/
325
326/*..............................................................................*/
327struct __declspec(uuid("{5E50898D-BCB3-4992-AE3B-3E134ABFD692}"))
329{
332};
334/*..............................................................................*/
335
336/*..............................................................................*/
337struct __declspec(uuid("{8017142B-BB8D-4C09-A7B7-849F7D4C1FD3}"))
339{
340 std::wstring GetItemHRID();
341 void SetItemHRID(std::wstring Value);
342 std::wstring GetRevisionId();
343 void SetRevisionId(std::wstring Value);
344 std::wstring GetRevisionGUID();
345 void SetRevisionGUID(std::wstring Value);
346 std::wstring GetItemNamingScheme();
349};
351/*..............................................................................*/
352
353/*..............................................................................*/
354struct __declspec(uuid("{FEE108C3-E0D7-4713-AC1A-C067B521C414}"))
356{
357 int Add(IAbstractItem * Item);
359};
360/*..............................................................................*/
361
362/*..............................................................................*/
363struct __declspec(uuid("{B5266CAD-F8C2-48F6-B3FD-492B7FF2EB8D}"))
365{
366 std::wstring GetItemNamingScheme();
367 void SetItemNamingScheme(std::wstring Value);
371 int Count_1();
373};
374/*..............................................................................*/
375
376/*..............................................................................*/
377struct __declspec(uuid("{08390537-EBF9-4880-95BC-F69DF5311928}"))
379{
380};
381/*..............................................................................*/
382
383/*..............................................................................*/
384struct __declspec(uuid("{28ECBBED-6F13-42E1-AD16-76AAD5876B9E}"))
386{
389};
391/*..............................................................................*/
392
393/*..............................................................................*/
416/*..............................................................................*/
417
418/*..............................................................................*/
440/*..............................................................................*/
441
442/*..............................................................................*/
443struct __declspec(uuid("{B58DA9B6-AD19-4865-B203-BF56C9140178}"))
445{
452 std::wstring GetVaultGUID();
453 void SetVaultGUID(std::wstring Value);
454 std::wstring GetVaultName();
455 void SetVaultName(std::wstring Value);
456 std::wstring GetFolderGUID();
457 void SetFolderGUID(std::wstring Value);
459 void SetLifecycleDefinitionGUID(std::wstring Value);
461 void SetRevisionNamingSchemeGUID(std::wstring Value);
462 std::wstring GetTemplateVaultGUID();
463 void SetTemplateVaultGUID(std::wstring Value);
465 void SetTemplateRevisionGUID(std::wstring Value);
467 bool SaveToFile(std::wstring const AFileName);
468 bool LoadFromFile(std::wstring const AFileName);
469};
470/*..............................................................................*/
471
472/*..............................................................................*/
473struct __declspec(uuid("{7151F3B1-F6C0-4E54-8AA1-BD786DD9D910}"))
475{
476 std::wstring GetVaultGUID();
477 void SetVaultGUID(std::wstring Value);
479 void SetAllowOverride(bool Value);
480};
482/*..............................................................................*/
483
484/*..............................................................................*/
485struct __declspec(uuid("{95511D41-23E0-4B1E-8C81-0E95FD2D9F91}"))
487{
489 void SetLifecycleDefinitionGUID(std::wstring Value);
491 void SetAllowOverride(bool Value);
492};
494/*..............................................................................*/
495
496/*..............................................................................*/
497struct __declspec(uuid("{67C4CE87-0DC6-438D-9A53-3BCA22E04FD6}"))
499{
501 void SetRevisionNamingSchemeGUID(std::wstring Value);
503 void SetAllowOverride(bool Value);
504};
506/*..............................................................................*/
507
508/*..............................................................................*/
509struct __declspec(uuid("{6E93E3FC-0D50-4536-AD5C-AA7AA887CE43}"))
511{
512 std::wstring GetItemNamingTemplate();
513 void SetItemNamingTemplate(std::wstring Value);
515 void SetAllowOverride(bool Value);
516};
518/*..............................................................................*/
519
520/*..............................................................................*/
521struct __declspec(uuid("{F73A8182-C44C-40A4-BA17-A52CD76B7E93}"))
523{
524 std::wstring GetDefaultFolderGUID();
525 void SetDefaultFolderGUID(std::wstring Value);
527 void SetAllowOverride(bool Value);
528};
530/*..............................................................................*/
531
532/*..............................................................................*/
533struct __declspec(uuid("{2602DA7A-9E44-4CCF-A701-AC8BD12B5E81}"))
535{
536 std::wstring GetName();
537 void SetName(std::wstring Value);
538 std::wstring GetDataType();
539 void SetDataType(std::wstring Value);
541 void SetIsReadOnly(bool Value);
543 void SetIsHidden(bool Value);
545 void SetIsRequired(bool Value);
546 std::wstring GetDescription();
547 void SetDescription(std::wstring Value);
550 std::wstring GetParamType();
551 void SetParamType(std::wstring Value);
552};
553/*..............................................................................*/
554
555/*..............................................................................*/
556struct __declspec(uuid("{FB0D24D0-2B0F-45A2-9086-2FDB1E64AFA9}"))
558{
563 int GetCount();
564 void Clear();
565};
567/*..............................................................................*/
568
569/*..............................................................................*/
570struct __declspec(uuid("{4C59D9C5-198A-4B10-A2BE-42E662E0D702}"))
572{
573 std::wstring GetVersion();
574 void SetVersion(std::wstring Value);
581 bool LoadComponentTemplateFromRevisionGUID(std::wstring AVaultGUID, std::wstring ARevisionGUID);
582 bool LoadComponentTemplateFromFile(std::wstring AFilePath);
583 bool SaveComponentTemplateToFile(std::wstring AFilePath);
584 std::wstring GetVaultGUID();
585 std::wstring GetItemGUID();
586 std::wstring GetRevisionGUID();
587 void SetVaultGUID(std::wstring const AVaultGUID);
588 void SetItemGUID(std::wstring const AItemGUID);
589 void SetRevisionGUID(std::wstring const ARevisionGUID);
590 __declspec(deprecated) void SetTargetVault(IComponentTemplateVault * Value);
594 __declspec(deprecated) void SetDefaultFolder(IComponentTemplateDefaultFolder * Value);
595 __declspec(deprecated) void SetParameters(IComponentTemplateParameterList * Value);
598 bool LoadComponentTemplateFromCmpLibFile(std::wstring AFilePath);
599};
600/*..............................................................................*/
601
602/*..............................................................................*/
603struct __declspec(uuid("{F74CCFFA-8074-4DE4-ACB1-5DAAE35078D9}"))
605{
606 std::wstring GetAsString();
607 void SetAsString(std::wstring Value);
608};
609/*..............................................................................*/
610
611/*..............................................................................*/
612struct __declspec(uuid("{007AA932-8616-4DD4-8C69-B6E2AF9B8C28}"))
614{
615 std::wstring GetName();
616 void SetName(std::wstring Value);
617 std::wstring GetDataType();
618 void SetDataType(std::wstring Value);
620 void SetIsReadOnly(bool Value);
622 void SetIsHidden(bool Value);
624 void SetIsRequired(bool Value);
625 std::wstring GetDefaultValue();
626 void SetDefaultValue(std::wstring Value);
627 std::wstring GetDescription();
628 void SetDescription(std::wstring Value);
629};
630/*..............................................................................*/
631
632/*..............................................................................*/
633struct __declspec(uuid("{EC4E5BC7-7A61-47C9-AC02-F8B850AD0FE1}"))
635{
640 int GetCount();
641 void Clear();
642};
643/*..............................................................................*/
644
645/*..............................................................................*/
646struct __declspec(uuid("{82FFE8B8-D0FA-4BC1-9639-093A84F987AE}"))
648{
649 std::wstring GetName();
650 void SetName(std::wstring Value);
651 std::wstring GetDataType();
652 void SetDataType(std::wstring Value);
654 void SetIsReadOnly(bool Value);
656 void SetIsHidden(bool Value);
658 void SetIsRequired(bool Value);
659 std::wstring GetDefaultValue();
660 void SetDefaultValue(std::wstring Value);
661 std::wstring GetDescription();
662 void SetDescription(std::wstring Value);
663};
664/*..............................................................................*/
665
666/*..............................................................................*/
667struct __declspec(uuid("{ED1B516D-4DD1-4ED2-B3F9-93CFE5A131EE}"))
669{
674 int GetCount();
675 void Clear();
676};
677/*..............................................................................*/
678
679/*..............................................................................*/
680struct __declspec(uuid("{8A869C15-1432-4AA0-A439-3D129FE6BFE5}"))
682{
683 bool IsValidateDisplayValue(std::wstring ADisplayValue, std::wstring AParameterType);
684 bool TryParseDisplayValue(std::wstring ADisplayValue, std::wstring AParameterType, double * ARealValue);
685};
686/*..............................................................................*/
687
688
689} // namespace ComponentLib
690
691#pragma pack(pop)
692
693#endif // EDP_COMPONENTLIB_INTERFACES_H_INCLUDED
Definition EDP.ComponentLib.AbstractClasses.h:11
_COM_SMARTPTR_TYPEDEF(IAbstractGroup, __uuidof(IAbstractGroup))
Definition EDP.ComponentLib.Interfaces.h:145
void SetPAth(std::wstring Value)
IComponentDefinitionList * ComponentDefinitions()
std::wstring GetItemNamingScheme()
IComponentSet * GetComponentSet()
void SetItemNamingScheme(std::wstring Value)
void SetComponentSet(IComponentSet *Value)
Definition EDP.ComponentLib.Interfaces.h:119
IParameterList * Parameters()
IAbstractGroup * GetParentGroup()
IModelChoiceList * ModelChoices()
void SetParentGroup(IAbstractGroup *Value)
void SetStateIndex(int Value)
void SetId(std::wstring Value)
IParameter * FindParameterByName(std::wstring const AName)
Definition EDP.ComponentLib.Interfaces.h:101
Definition EDP.ComponentLib.Interfaces.h:136
Definition EDP.ComponentLib.Interfaces.h:339
IPartChoiceListChoice * GetPartChoiceListChoice()
void SetPartChoiceListChoice(IPartChoiceListChoice *Value)
void SetRevisionId(std::wstring Value)
void SetItemHRID(std::wstring Value)
void SetRevisionGUID(std::wstring Value)
Definition EDP.ComponentLib.Interfaces.h:356
IComponentDefinition * Get(int I)
Definition EDP.ComponentLib.Interfaces.h:396
IRequiredParameter * CreateRequiredParameter()
IComponentDefinitionList * GetSelectedComponents()
IPartChoiceListChoice * CreatePartChoiceListChoice()
void DestroyAbstractObject(IAbstractObject *AbstractObject)
IComponentDefinition * CreateComponentDefinition()
IPartChoiceListLink * CreatePartChoiceListLink()
void SetComponentSet(IComponentSet *Value)
void Refresh(std::wstring *Parameters)
void UpdateItemToLatestRevision(std::wstring const AItemGUID)
Definition EDP.ComponentLib.Interfaces.h:421
IComponentTemplateModelLink * CreateTemplateModelLink()
IComponentTemplateComponentType * CreateTemplateComponentType()
IComponentTemplateParameter * CreateTemplateParameter()
IComponentTemplate * CreateTemplate()
IComponentLibraryDocument * GetComponentLibraryByFileName(std::wstring const AFileName)
IComponentLibraryDocument * CreateComponentLibrary(std::wstring const AFileName)
IComponentLibraryDocument * GetCurrentComponentLibrary()
IComponentDefinition * CreateComponentDefinition()
void DestroyAbstractObject(IAbstractObject *AbstractObject)
IRequiredParameter * CreateRequiredParameter()
Definition EDP.ComponentLib.Interfaces.h:445
std::wstring GetTemplateVaultGUID()
std::wstring GetLifecycleDefinitionGUID()
void SetVaultGUID(std::wstring Value)
IRequiredParameterList * RequiredParameters()
void SetFolderGUID(std::wstring Value)
std::wstring GetFolderGUID()
std::wstring GetRevisionNamingSchemeGUID()
void SetTemplateRevisionGUID(std::wstring Value)
bool SaveToFile(std::wstring const AFileName)
bool LoadFromFile(std::wstring const AFileName)
IComponentTemplate * ComponentTemplate()
void SetLifecycleDefinitionGUID(std::wstring Value)
void SetVaultName(std::wstring Value)
void SetRevisionNamingSchemeGUID(std::wstring Value)
IRequiredModelList * RequiredModels()
void SetTemplateVaultGUID(std::wstring Value)
IModelLinkList * ModelLinks()
IPartChoiceListLinkList * PartChoiceListLinks()
std::wstring GetTemplateRevisionGUID()
Definition EDP.ComponentLib.Interfaces.h:648
Definition EDP.ComponentLib.Interfaces.h:669
bool Contains(IComponentTemplateComponentType *ComponentType)
void Add(IComponentTemplateComponentType *ComponentType)
void Remove(IComponentTemplateComponentType *ComponentType)
IComponentTemplateComponentType * Get(int I)
Definition EDP.ComponentLib.Interfaces.h:523
void SetDefaultFolderGUID(std::wstring Value)
Definition EDP.ComponentLib.Interfaces.h:572
IComponentTemplateVault * GetTargetVault()
void SetVaultGUID(std::wstring const AVaultGUID)
void SetItemGUID(std::wstring const AItemGUID)
IComponentTemplateComponentTypeList * GetComponentTypes()
bool SaveComponentTemplateToFile(std::wstring AFilePath)
void SetRevisionGUID(std::wstring const ARevisionGUID)
bool LoadComponentTemplateFromFile(std::wstring AFilePath)
void SetRevisionNamingScheme(IComponentTemplateRevisionNamingScheme *Value)
void SetLifecycleDefinition(IComponentTemplateLifecyleDefinition *Value)
IComponentTemplateParameterList * GetParameters()
IComponentTemplateDefaultFolder * GetDefaultFolder()
IComponentTemplateModelLinkList * GetModelLinks()
void SetVersion(std::wstring Value)
void SetParameters(IComponentTemplateParameterList *Value)
bool LoadComponentTemplateFromRevisionGUID(std::wstring AVaultGUID, std::wstring ARevisionGUID)
IComponentTemplateRevisionNamingScheme * GetRevisionNamingScheme()
void SetTargetVault(IComponentTemplateVault *Value)
IComponentTemplateItemNamingTemplate * GetItemNamingTemplate()
IComponentTemplateLifecyleDefinition * GetLifecycleDefinition()
bool LoadComponentTemplateFromCmpLibFile(std::wstring AFilePath)
void SetItemNamingTemplate(IComponentTemplateItemNamingTemplate *Value)
void SetDefaultFolder(IComponentTemplateDefaultFolder *Value)
Definition EDP.ComponentLib.Interfaces.h:511
Definition EDP.ComponentLib.Interfaces.h:487
Definition EDP.ComponentLib.Interfaces.h:535
void SetDefaultValue(IComponentTemplateParameterValue *Value)
void SetDataType(std::wstring Value)
IComponentTemplateParameterValue * GetDefaultValue()
void SetDescription(std::wstring Value)
void SetParamType(std::wstring Value)
Definition EDP.ComponentLib.Interfaces.h:558
void Remove(IComponentTemplateParameter *Parameter)
void Add(IComponentTemplateParameter *Parameter)
bool Contains(IComponentTemplateParameter *Parameter)
IComponentTemplateParameter * Get(int I)
Definition EDP.ComponentLib.Interfaces.h:605
Definition EDP.ComponentLib.Interfaces.h:499
Definition EDP.ComponentLib.Interfaces.h:475
void SetVaultGUID(std::wstring Value)
Definition EDP.ComponentLib.Interfaces.h:109
void SetGUID(std::wstring Value)
Definition EDP.ComponentLib.Interfaces.h:160
Definition EDP.ComponentLib.Interfaces.h:298
int Add(IGroup *Item)
Definition EDP.ComponentLib.Interfaces.h:251
void SetMapAsString(std::wstring Value)
std::wstring GetExcludedParts()
IRequiredModel * GetRequiredModel()
void SetModelLink(IModelLink *Value)
void SetExcludedParts(std::wstring Value)
void SetRequiredModel(IRequiredModel *Value)
IModelLink * GetModelLink()
std::wstring GetMapAsString()
Definition EDP.ComponentLib.Interfaces.h:267
int Add(IModelChoice *Item)
IModelChoice * Get(int I)
Definition EDP.ComponentLib.Interfaces.h:276
IRequiredParameter * GetRequiredParameter()
std::wstring GetName()
void SetValue(std::wstring Value)
void SetRequiredParameter(IRequiredParameter *Value)
std::wstring GetValue()
Definition EDP.ComponentLib.Interfaces.h:289
IParameter * Get(int I)
int Add(IParameter *Item)
Definition EDP.ComponentLib.Interfaces.h:682
bool TryParseDisplayValue(std::wstring ADisplayValue, std::wstring AParameterType, double *ARealValue)
bool IsValidateDisplayValue(std::wstring ADisplayValue, std::wstring AParameterType)
Definition EDP.ComponentLib.Interfaces.h:307
void SetCatalogGuid(std::wstring Value)
std::wstring GetCatalogGuid()
Definition EDP.ComponentLib.Interfaces.h:329
void SetPartChoiceListLink(IPartChoiceListLink *Value)
IPartChoiceListLink * GetPartChoiceListLink()
Definition EDP.ComponentLib.Interfaces.h:386
int Add(IPartChoiceListChoice *Item)
IPartChoiceListChoice * Get(int I)
Definition EDP.ComponentLib.Interfaces.h:196
Definition EDP.ComponentLib.Interfaces.h:206
IRequiredModel * AddForModelKind(std::wstring const ModelKind)
IRequiredModel * Find(std::wstring const ModelID)
IRequiredModel * FindOrCreate(std::wstring const ModelID)
int Add(IRequiredModel *Item)
IRequiredModel * Get(int I)
Definition EDP.ComponentLib.Interfaces.h:168
void SetParameterName(std::wstring Value)
void SetParameterUnit(std::wstring Value)
Definition EDP.ComponentLib.Interfaces.h:184
IRequiredParameter * Get(int I)
IRequiredParameter * Find(std::wstring const ParameterName)
int Add(IRequiredParameter *Item)
IRequiredParameter * FindOrCreate(std::wstring const ParameterName)
Definition EDP.ComponentLib.Interfaces.h:379