Teamcenter C++ API Reference  2312
ImpliedEffectivityCalc.hxx
Go to the documentation of this file.
1 //Copyright 2022 Siemens Digital Industries Software
2 //==================================================
3 //Copyright $2015.
4 //Siemens Product Lifecycle Management Software Inc.
5 //All Rights Reserved.
6 //==================================================
7 //Copyright 2022 Siemens Digital Industries Software
8 
16 #ifndef TEAMCENTER_CFM_IMPLIEDEFFECTIVITYCALC
17 #define TEAMCENTER_CFM_IMPLIEDEFFECTIVITYCALC
18 
19 #include <string>
20 #include <vector>
21 
22 #include <cfm/libcfm_exports.h>
23 
47 namespace Teamcenter
48 {
50 {
51  public:
61  static void getImpliedEffectivity(
62  tag_t revRule,
63  const std::vector<tag_t>& itemRevs,
64  std::vector< std::string >& effectivities
65  );
66 
67  static void getRevisionImpliedDateEffectivity( const tag_t& revRule, const tag_t& itemRev, bool& isRevRuleDateWithinRevImpliedEff,
68  date_t& suggestedItemRevReleasedDateForRevRule, date_t& suggestedItemRevEffectiveDateForRevRule );
69  private:
70 
79  static void populateStatusWithRevision(
80  tag_t revisionRule,
81  const std::vector<tag_t>& items,
82  std::vector< std::vector< std::pair< tag_t, tag_t > > >& revStats
83  );
84 
85 };
86 }
87 
88 
89 #include <cfm/libcfm_undef.h>
90 #endif
91