Teamcenter C++ API Reference  2312
setStringOperationDispatcher.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: setStringOperationDispatcher.hxx
10 Module : extensionframework
11 
12 This is the root interface class of the setStringOperationDispatcher. It contains of all the generic methods
13 for setStringOperationDispatcher that can be reused by the derived classes.
14 
15 ====================================================================================================
16  Date Name Description of Change
17 22-Oct-2008 Krzysztof Blaszczyk Parameter value made const reference in setStringPreConditions(), StringPreActions(), setStringPostActions() and setString()
18 $HISTORY$
19 ==================================================================================================*/
20 #ifndef setStringOperationDispatcher_HXX
21 #define setStringOperationDispatcher_HXX
22 
24 #include <extensionframework/libextensionframework_exports.h>
25 
26 namespace Teamcenter
27 {
28  class setStringOperationDispatcher;
29  class PropOperationDispatcher;
30 }
31 
32 class EXTENSIONFRAMEWORK_API Teamcenter::setStringOperationDispatcher : public Teamcenter::PropOperationDispatcher
33 {
34 public:
38 
39  void executePreConditions( METHOD_message_t & msg, va_list args ) const;
40  void executePreActions( METHOD_message_t & msg, va_list args ) const;
41  void executePostActions( METHOD_message_t & msg, va_list args ) const;
42 
43  void setStringPreConditions( Teamcenter::BusinessObject* obj, const std::string& value, const bool isNull ) const;
44  void setStringPreActions( Teamcenter::BusinessObject* obj, const std::string& value, const bool isNull ) const;
45  void setStringBaseAction( Teamcenter::BusinessObject* obj, const std::string& value, const bool isNull ) const;
46  void setStringPostActions( Teamcenter::BusinessObject* obj, const std::string& value, const bool isNull ) const;
47 
48  // Project 011450 changes
49  void setStringPreConditions( METHOD_message_t* msgData, const char* value, const logical isNull ) const;
50  void setStringPreActions( METHOD_message_t* msgData, const char* value, const logical isNull ) const;
51  void setStringPostActions( METHOD_message_t* msgData, const char* value, const logical isNull ) const;
52  void setStringBaseAction( METHOD_message_t* msgData, const char* value, const logical isNull ) const;
53 
54  void setString( Teamcenter::BusinessObject* obj, const std::string& value, const bool isNull ) const;
55 
56  void execute( Teamcenter::BusinessObject* obj, std::vector<void*>& args ) const;
57  void execute( tag_t objTag, va_list args ) const;
58  void execute( Teamcenter::BusinessObject* obj, va_list args ) const;
59 
60 
61  //Fix compiler warnings that were hiding virtual functions
66 
67 };
68 
69 #include <extensionframework/libextensionframework_undef.h>
70 #endif //setStringOperationDispatcher_HXX