Teamcenter C++ API Reference  2312
getDateOperationDispatcher.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: getDateOperationDispatcher.hxx
10  Module : extensionframework
11 
12  This is the root interface class of the getDateOperationDispatcher. It contains of all the generic methods
13  for getDateOperationDispatcher that can be reused by the derived classes.
14 
15 ====================================================================================================
16  Date Name Description of Change
17 $HISTORY$
18 ==================================================================================================*/
19 #ifndef getDateOperationDispatcher_HXX
20 #define getDateOperationDispatcher_HXX
21 
23 #include <extensionframework/libextensionframework_exports.h>
24 
25 namespace Teamcenter
26 {
27  class getDateOperationDispatcher;
28  class PropOperationDispatcher;
29 }
30 
31 class EXTENSIONFRAMEWORK_API Teamcenter::getDateOperationDispatcher : 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 getDatePreConditions( const Teamcenter::BusinessObject* obj, date_t& dateValue, bool& isNull ) const;
43  void getDatePreActions( const Teamcenter::BusinessObject* obj, date_t& dateValue, bool& isNull ) const;
44  void getDateBaseAction( const Teamcenter::BusinessObject* obj, date_t& dateValue, bool& isNull ) const;
45  void getDatePostActions( const Teamcenter::BusinessObject* obj, date_t& dateValue, bool& isNull ) const;
46 
47  void getDatePreConditions(const Teamcenter::BusinessObject* obj, date_t& dateValue, bool& isNull, bool& hasReadAccess) const;
48  void getDatePreActions(const Teamcenter::BusinessObject* obj, date_t& dateValue, bool& isNull, bool& hasReadAccess) const;
49  void getDateBaseAction(const Teamcenter::BusinessObject* obj, date_t& dateValue, bool& isNull, bool& hasReadAccess) const;
50  void getDatePostActions(const Teamcenter::BusinessObject* obj, date_t& dateValue, bool& isNull, bool& hasReadAccess) const;
51 
52  // Project 011450 changes
53  void getDatePreConditions( METHOD_message_t* msgData, date_t* value, logical* isNull ) const;
54  void getDatePreActions( METHOD_message_t* msgData, date_t* value, logical* isNull ) const;
55  void getDateBaseAction(METHOD_message_t* msgData, date_t* value, logical* isNull ) const;
56  void getDatePostActions( METHOD_message_t* msgData, date_t* value, logical* isNull ) const;
57 
58  void getDatePreConditions(METHOD_message_t* msgData, date_t* value, logical* isNull, logical* hasReadAccess) const;
59  void getDatePreActions(METHOD_message_t* msgData, date_t* value, logical* isNull, logical* hasReadAccess) const;
60  void getDateBaseAction(METHOD_message_t* msgData, date_t* value, logical* isNull, logical* hasReadAccess) const;
61  void getDatePostActions(METHOD_message_t* msgData, date_t* value, logical* isNull, logical* hasReadAccess) const;
62 
63  void getDate( const Teamcenter::BusinessObject* obj, date_t& dateValue, bool& isNull ) const;
64  void getDate(const Teamcenter::BusinessObject* obj, date_t& dateValue, bool& isNull, 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 //getDateOperationDispatcher_HXX