Safir SDK Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CreateRoutineParameters.h
Go to the documentation of this file.
1 #ifndef SAFIR_DOB_CREATEROUTINEPARAMETERS_H_INCLUDED
2 #define SAFIR_DOB_CREATEROUTINEPARAMETERS_H_INCLUDED
3 
8 
11 
12 #include <Safir/Utilities/Internal/VisibilityHelpers.h>
13 
14 #ifdef dots_generated_Safir_cpp_EXPORTS
15 # define DOTS_GENERATED_Safir_API SAFIR_HELPER_DLL_EXPORT
16 #else
17 # define DOTS_GENERATED_Safir_API SAFIR_HELPER_DLL_IMPORT
18 # define SAFIR_LIBRARY_NAME "dots_generated-Safir-cpp"
19 # include <Safir/Utilities/Internal/AutoLink.h>
20 #endif
21 #define DOTS_GENERATED_Safir_API_LOCAL SAFIR_HELPER_DLL_LOCAL
22 
26 namespace Safir
27 {
31 namespace Dob
32 {
33 
34  class CreateRoutineParameters; //forward declaration
35  typedef boost::shared_ptr<CreateRoutineParameters> CreateRoutineParametersPtr;
36  typedef boost::shared_ptr<const CreateRoutineParameters> CreateRoutineParametersConstPtr;
37 
40 
46  {
47  public:
48  //Constructors and Create routines
50  virtual Safir::Dob::Typesystem::ObjectPtr Clone() const;
51  static CreateRoutineParametersPtr Create();
52 
53  //Zero
57  static Safir::Dob::Typesystem::Int32 Zero();
58 
59  //One
63  static Safir::Dob::Typesystem::Int32 One();
64 
65  //Two
69  static Safir::Dob::Typesystem::Int32 Two();
70 
72  static const Safir::Dob::Typesystem::TypeId ClassTypeId = 1732503792734576524LL;
73 
74  //Type id for CreateRoutineParameters
75  virtual Safir::Dob::Typesystem::TypeId GetTypeId() const {return ClassTypeId;}
76 
77  //Check if anything in the object has change flags set
78  virtual bool IsChanged();
79 
80  //Recursively set all change flags in the object
81  virtual void SetChanged(const bool changed);
82 
83 
84  //Reflection part (Don't use unless you really know what you're doing!!)
88  const Safir::Dob::Typesystem::ArrayIndex index) const;
89 
90  virtual Safir::Dob::Typesystem::Int32 CalculateBlobSize() const;
91  virtual void WriteToBlob(char * blob, char * & beginningOfUnused) const;
92  explicit CreateRoutineParameters(char const * const blob);
93 
94  private:
95 
96 #ifdef _MSC_VER
97 #pragma warning (push)
98 #pragma warning (disable : 4251)
99 #endif
100 
101 
102 #ifdef _MSC_VER
103 #pragma warning (pop)
104 #endif
105  };
106 
107 } // Dob
108 } // Safir
109 
110 #endif
111 
Safir::Dob::Typesystem::ArrayContainer< CreateRoutineParametersContainer > CreateRoutineParametersContainerArray
Definition: CreateRoutineParameters.h:39
Safir::Dob::Typesystem::ObjectContainerImpl< CreateRoutineParameters > CreateRoutineParametersContainer
Definition: CreateRoutineParameters.h:38
virtual Safir::Dob::Typesystem::TypeId GetTypeId() const
Get the type id of this object.
Definition: CreateRoutineParameters.h:75
boost::shared_ptr< CreateRoutineParameters > CreateRoutineParametersPtr
Definition: CreateRoutineParameters.h:34
Contains parameters to be used as values in CreateRoutines.
Definition: CreateRoutineParameters.h:45
DotsC_TypeId TypeId
A unique type identifier.
Definition: Defs.h:219
Template class for all containers of automatically generated DOB objects.
Definition: ObjectContainer.h:185
boost::shared_ptr< Object > ObjectPtr
A smart pointer to an Object.
Definition: Object.h:41
DotsC_ArrayIndex ArrayIndex
Index into an array.
Definition: Defs.h:247
This class is intended to be used as baseclass for classes that only contains parameters.
Definition: Parametrization.h:43
Base class for all Containers.
Definition: ContainerBase.h:41
boost::shared_ptr< const CreateRoutineParameters > CreateRoutineParametersConstPtr
Definition: CreateRoutineParameters.h:36
#define DOTS_GENERATED_Safir_API
Definition: CreateRoutineParameters.h:17
STL container for arrays of DOB-containers.
Definition: ArrayContainer.h:58
DotsC_Int32 Int32
32 bit integer type.
Definition: Defs.h:67
DotsC_MemberIndex MemberIndex
The index of a member in an object.
Definition: Defs.h:238
static bool IsChanged(const ContainerBase &container)
Check if a container is changed.
Definition: ContainerBase.h:134