Safir SDK Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DeleteAllRequest.h
Go to the documentation of this file.
1 #ifndef SAFIR_UTILITIES_FOREACH_DELETEALLREQUEST_H_INCLUDED
2 #define SAFIR_UTILITIES_FOREACH_DELETEALLREQUEST_H_INCLUDED
3 
8 
9 #include <Safir/Dob/Service.h>
12 
13 #include <Safir/Utilities/Internal/VisibilityHelpers.h>
14 
15 #ifdef dots_generated_Safir_cpp_EXPORTS
16 # define DOTS_GENERATED_Safir_API SAFIR_HELPER_DLL_EXPORT
17 #else
18 # define DOTS_GENERATED_Safir_API SAFIR_HELPER_DLL_IMPORT
19 # define SAFIR_LIBRARY_NAME "dots_generated-Safir-cpp"
20 # include <Safir/Utilities/Internal/AutoLink.h>
21 #endif
22 #define DOTS_GENERATED_Safir_API_LOCAL SAFIR_HELPER_DLL_LOCAL
23 
27 namespace Safir
28 {
32 namespace Utilities
33 {
37 namespace ForEach
38 {
39 
40  class DeleteAllRequest; //forward declaration
41  typedef boost::shared_ptr<DeleteAllRequest> DeleteAllRequestPtr;
42  typedef boost::shared_ptr<const DeleteAllRequest> DeleteAllRequestConstPtr;
43 
46 
52  {
53  public:
54  //Constructors and Create routines
56  virtual Safir::Dob::Typesystem::ObjectPtr Clone() const;
57  static DeleteAllRequestPtr Create();
58 
59  //ResponseType
60  static Safir::Dob::Typesystem::MemberIndex ResponseTypeMemberIndex();
66 
67 
68  //TypeId
69  static Safir::Dob::Typesystem::MemberIndex TypeIdMemberIndex();
75 
76 
77  //IncludeSubClasses
78  static Safir::Dob::Typesystem::MemberIndex IncludeSubClassesMemberIndex();
84 
85 
86  //HandlerId
87  static Safir::Dob::Typesystem::MemberIndex HandlerIdMemberIndex();
93 
94 
96  static const Safir::Dob::Typesystem::TypeId ClassTypeId = -5491723164203390070LL;
97 
98  //Type id for DeleteAllRequest
99  virtual Safir::Dob::Typesystem::TypeId GetTypeId() const {return ClassTypeId;}
100 
101  //Check if anything in the object has change flags set
102  virtual bool IsChanged();
103 
104  //Recursively set all change flags in the object
105  virtual void SetChanged(const bool changed);
106 
107 
108  //Reflection part (Don't use unless you really know what you're doing!!)
111  virtual const Safir::Dob::Typesystem::ContainerBase & GetMember(const Safir::Dob::Typesystem::MemberIndex member,
112  const Safir::Dob::Typesystem::ArrayIndex index) const;
113 
114  virtual Safir::Dob::Typesystem::Int32 CalculateBlobSize() const;
115  virtual void WriteToBlob(char * blob, char * & beginningOfUnused) const;
116  explicit DeleteAllRequest(char const * const blob);
117 
118  private:
119 
120 #ifdef _MSC_VER
121 #pragma warning (push)
122 #pragma warning (disable : 4251)
123 #endif
124 
127  Safir::Dob::Typesystem::BooleanContainer m_IncludeSubClassesMember;
129 
130 #ifdef _MSC_VER
131 #pragma warning (pop)
132 #endif
133  };
134 
135 } // ForEach
136 } // Utilities
137 } // Safir
138 
139 #endif
140 
Container for base types.
Definition: ValueContainers.h:60
boost::shared_ptr< DeleteAllRequest > DeleteAllRequestPtr
Definition: DeleteAllRequest.h:40
virtual Safir::Dob::Typesystem::TypeId GetTypeId() const
Get the type id of this object.
Definition: DeleteAllRequest.h:99
Definition of deleting all instances of a given type.
Definition: DeleteAllRequest.h:51
Definition: ContainerProxies.h:38
#define DOTS_GENERATED_Safir_API
Definition: DeleteAllRequest.h:18
DotsC_TypeId TypeId
A unique type identifier.
Definition: Defs.h:219
boost::shared_ptr< const DeleteAllRequest > DeleteAllRequestConstPtr
Definition: DeleteAllRequest.h:42
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
The baseclass for all services.
Definition: Service.h:43
This enumeration has no summary.
Definition: ResponseType.h:40
Base class for all Containers.
Definition: ContainerBase.h:41
Safir::Dob::Typesystem::ObjectContainerImpl< DeleteAllRequest > DeleteAllRequestContainer
Definition: DeleteAllRequest.h:44
Safir::Dob::Typesystem::ArrayContainer< DeleteAllRequestContainer > DeleteAllRequestContainerArray
Definition: DeleteAllRequest.h:45
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