Teamcenter C++ API Reference  2312
getDateArrayOperationDispatcher.hxx
Go to the documentation of this file.
1 /*==================================================================================================
2 
3  Copyright (c) 2007 UGS
4  Unpublished - All rights reserved
5 
6 ====================================================================================================
7 File description:
8 
9  Filename: getDateArrayOperationDispatcher.hxx
10  Module : extensionframework
11 
12  This is the root interface class of the getDateArrayOperationDispatcher. It contains of all the generic methods
13  for getDateArrayOperationDispatcher that can be reused by the derived classes.
14 
15 ====================================================================================================
16  Date Name Description of Change
17 $HISTORY$
18 ==================================================================================================*/
19 #ifndef getDateArrayOperationDispatcher_HXX
20 #define getDateArrayOperationDispatcher_HXX
21 
23 #include <extensionframework/libextensionframework_exports.h>
24 
25 namespace Teamcenter
26 {
27  class getDateArrayOperationDispatcher;
28  class PropOperationDispatcher;
29 }
30 
31 class EXTENSIONFRAMEWORK_API Teamcenter::getDateArrayOperationDispatcher : public Teamcenter::PropOperationDispatcher
32 {
33  public:
37 
38  void executePreConditions( METHOD_message_t & msg, va_list args ) const;
39  void executePreActions( METHOD_message_t & msg, va_list args ) const;
40  void executePostActions( METHOD_message_t & msg, va_list args ) const;
41 
42  void getDateArrayPreConditions( const Teamcenter::BusinessObject* obj, std::vector<date_t>& dateValues, std::vector<int>& isNullValues ) const;
43  void getDateArrayPreActions( const Teamcenter::BusinessObject* obj, std::vector<date_t>& dateValues, std::vector<int>& isNullValues ) const;
44  void getDateArrayBaseAction( const Teamcenter::BusinessObject* obj, std::vector<date_t>& dateValues, std::vector<int>& isNullValues ) const;
45  void getDateArrayPostActions( const Teamcenter::BusinessObject* obj, std::vector<date_t>& dateValues, std::vector<int>& isNullValues ) const;
46 
47  void getDateArrayPreConditions( const Teamcenter::BusinessObject* obj, std::vector<date_t>& dateValues, std::vector<int>& isNullValues, bool& hasReadAccess) const;
48  void getDateArrayPreActions( const Teamcenter::BusinessObject* obj, std::vector<date_t>& dateValues, std::vector<int>& isNullValues, bool& hasReadAccess) const;
49  void getDateArrayBaseAction( const Teamcenter::BusinessObject* obj, std::vector<date_t>& dateValues, std::vector<int>& isNullValues, bool& hasReadAccess) const;
50  void getDateArrayPostActions( const Teamcenter::BusinessObject* obj, std::vector<date_t>& dateValues, std::vector<int>& isNullValues, bool& hasReadAccess) const;
51 
52  // Project 011450 changes
53  void getDateArrayPreConditions( METHOD_message_t* msgData, int* num, date_t** value, logical** isNull ) const;
54  void getDateArrayPreActions( METHOD_message_t* msgData, int* num, date_t** value, logical** isNull ) const;
55  void getDateArrayBaseAction( METHOD_message_t* msgData, int* num, date_t** value, logical** isNull ) const;
56  void getDateArrayPostActions( METHOD_message_t* msgData, int* num, date_t** value, logical** isNull ) const;
57 
58  void getDateArrayPreConditions( METHOD_message_t* msgData, int* num, date_t** value, logical** isNull, logical* hasReadAccess) const;
59  void getDateArrayPreActions( METHOD_message_t* msgData, int* num, date_t** value, logical** isNull, logical* hasReadAccess) const;
60  void getDateArrayBaseAction( METHOD_message_t* msgData, int* num, date_t** value, logical** isNull, logical* hasReadAccess) const;
61  void getDateArrayPostActions( METHOD_message_t* msgData, int* num, date_t** value, logical** isNull, logical* hasReadAccess) const;
62 
63  void getDateArray( const Teamcenter::BusinessObject* obj, std::vector<date_t>& dateValues, std::vector<int>& isNullValues ) const;
64  void getDateArray( const Teamcenter::BusinessObject* obj, std::vector<date_t>& dateValues, std::vector<int>& isNullValues, bool& hasReadAccess ) const;
65 
66  void execute( Teamcenter::BusinessObject* obj, std::vector<void*>& args ) const;
67  void execute( tag_t objTag, va_list args ) const;
68  void execute( Teamcenter::BusinessObject* obj, va_list args ) const;
69 
70 
71  //Fix compiler warnings that were hiding virtual functions
75 
76 };
77 
78 #include <extensionframework/libextensionframework_undef.h>
79 #endif //getDateArrayOperationDispatcher_HXX