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 #ifdef _MSC_VER
14 #ifdef DOTS_GENERATED_CPP_EXPORTS
15 #define GENERATED_API __declspec(dllexport)
16 #else
17 #define GENERATED_API __declspec(dllimport)
18 #ifdef _DEBUG
19 #pragma comment( lib, "dots_generated-Safir-cppd.lib" )
20 #else
21 #pragma comment( lib, "dots_generated-Safir-cpp.lib" )
22 #endif
23 #endif
24 #endif
25 #ifdef __GNUC__
26 #define GENERATED_API
27 #endif
28 
32 namespace Safir
33 {
37 namespace Utilities
38 {
42 namespace ForEach
43 {
44 
45  class DeleteAllRequest; //forward declaration
46  typedef boost::shared_ptr<DeleteAllRequest> DeleteAllRequestPtr;
47  typedef boost::shared_ptr<const DeleteAllRequest> DeleteAllRequestConstPtr;
48 
51 
56  class GENERATED_API DeleteAllRequest : public Safir::Dob::Service
57  {
58  public:
59  //Constructors and Create routines
61  virtual Safir::Dob::Typesystem::ObjectPtr Clone() const;
62  static DeleteAllRequestPtr Create();
63 
64  //ResponseType
65  static Safir::Dob::Typesystem::MemberIndex ResponseTypeMemberIndex();
71 
72 
73  //TypeId
74  static Safir::Dob::Typesystem::MemberIndex TypeIdMemberIndex();
80 
81 
82  //IncludeSubClasses
83  static Safir::Dob::Typesystem::MemberIndex IncludeSubClassesMemberIndex();
89 
90 
91  //HandlerId
92  static Safir::Dob::Typesystem::MemberIndex HandlerIdMemberIndex();
98 
99 
101  static const Safir::Dob::Typesystem::TypeId ClassTypeId = -5491723164203390070LL;
102 
103  //Type id for DeleteAllRequest
104  virtual Safir::Dob::Typesystem::TypeId GetTypeId() const {return ClassTypeId;}
105 
106  //Check if anything in the object has change flags set
107  virtual bool IsChanged();
108 
109  //Recursively set all change flags in the object
110  virtual void SetChanged(const bool changed);
111 
112 
113  //Reflection part (Don't use unless you really know what you're doing!!)
116  virtual const Safir::Dob::Typesystem::ContainerBase & GetMember(const Safir::Dob::Typesystem::MemberIndex member,
117  const Safir::Dob::Typesystem::ArrayIndex index) const;
118 
119  virtual Safir::Dob::Typesystem::Int32 CalculateBlobSize() const;
120  virtual void WriteToBlob(char * blob, char * & beginningOfUnused) const;
121  explicit DeleteAllRequest(char const * const blob);
122 
123  private:
124 
125 #ifdef _MSC_VER
126 #pragma warning (push)
127 #pragma warning (disable : 4251)
128 #endif
129 
132  Safir::Dob::Typesystem::BooleanContainer m_IncludeSubClassesMember;
134 
135 #ifdef _MSC_VER
136 #pragma warning (pop)
137 #endif
138  };
139 
140 } // ForEach
141 } // Utilities
142 } // Safir
143 
144 #endif
145 
Container for base types.
Definition: ValueContainers.h:60
boost::shared_ptr< DeleteAllRequest > DeleteAllRequestPtr
Definition: DeleteAllRequest.h:45
virtual Safir::Dob::Typesystem::TypeId GetTypeId() const
Get the type id of this object.
Definition: DeleteAllRequest.h:104
Definition of deleting all instances of a given type.
Definition: DeleteAllRequest.h:56
Definition: ContainerProxies.h:38
DotsC_TypeId TypeId
A unique type identifier.
Definition: Dob/Typesystem/Defs.h:221
boost::shared_ptr< const DeleteAllRequest > DeleteAllRequestConstPtr
Definition: DeleteAllRequest.h:47
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: Dob/Typesystem/Defs.h:249
The baseclass for all services.
Definition: Service.h:48
This enumeration has no summary.
Definition: ResponseType.h:45
Base class for all Containers.
Definition: ContainerBase.h:41
Safir::Dob::Typesystem::ObjectContainerImpl< DeleteAllRequest > DeleteAllRequestContainer
Definition: DeleteAllRequest.h:49
Safir::Dob::Typesystem::ArrayContainer< DeleteAllRequestContainer > DeleteAllRequestContainerArray
Definition: DeleteAllRequest.h:50
STL container for arrays of DOB-containers.
Definition: ArrayContainer.h:58
DotsC_Int32 Int32
32 bit integer type.
Definition: Dob/Typesystem/Defs.h:69
DotsC_MemberIndex MemberIndex
The index of a member in an object.
Definition: Dob/Typesystem/Defs.h:240
static bool IsChanged(const ContainerBase &container)
Check if a container is changed.
Definition: ContainerBase.h:134