Teamcenter C++ API Reference  2312
EquivalenceCriteria.hxx
Go to the documentation of this file.
1 // Copyright 2022 Siemens Digital Industries Software
2 // ==================================================
3 // Copyright 2011.
4 // Siemens Product Lifecycle Management Software Inc.
5 // All Rights Reserved.
6 // ==================================================
7 // Copyright 2022 Siemens Digital Industries Software
8 
13 #ifndef TC_AC_EQUIVALENCE_CRITERIA_INTERFACE_H
14 #define TC_AC_EQUIVALENCE_CRITERIA_INTERFACE_H
15 
16 #include <string>
17 #include <set>
18 #include <vector>
19 #include <map>
20 
21 #include <unidefs.h>
22 
23 #include <fclasses/libfclasses_exports.h>
24 namespace Teamcenter
25 {
26  class EquivalenceService;
27 
28  class FCLASSES_API EquivalenceCriteria
29  {
30  public:
32 
33  virtual ~EquivalenceCriteria();
34 
35  virtual int getEquivalents( EquivalenceService* srv,
36  std::map<tag_t, std::set<tag_t> >& targetMatches,
37  std::map<tag_t, std::set<tag_t> > *srcMatches ) = 0;
38 
39  virtual bool isSupported( EquivalenceService* srv ) = 0;
40 
42  virtual std::string getName() const = 0;
43 
44  virtual bool needCompleteTargetExpansion( EquivalenceService* ) const = 0;
45  };
46 }
47 #include <fclasses/libfclasses_undef.h>
48 #endif