Safir SDK Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ResponseGeneralErrorCodes.h
Go to the documentation of this file.
1 #ifndef SAFIR_DOB_RESPONSEGENERALERRORCODES_H_INCLUDED
2 #define SAFIR_DOB_RESPONSEGENERALERRORCODES_H_INCLUDED
3 
8 
10 
11 #include <Safir/Utilities/Internal/VisibilityHelpers.h>
12 
13 #ifdef dots_generated_Safir_cpp_EXPORTS
14 # define DOTS_GENERATED_Safir_API SAFIR_HELPER_DLL_EXPORT
15 #else
16 # define DOTS_GENERATED_Safir_API SAFIR_HELPER_DLL_IMPORT
17 # define SAFIR_LIBRARY_NAME "dots_generated-Safir-cpp"
18 # include <Safir/Utilities/Internal/AutoLink.h>
19 #endif
20 #define DOTS_GENERATED_Safir_API_LOCAL SAFIR_HELPER_DLL_LOCAL
21 
25 namespace Safir
26 {
30 namespace Dob
31 {
32 
33  class ResponseGeneralErrorCodes; //forward declaration
34  typedef boost::shared_ptr<ResponseGeneralErrorCodes> ResponseGeneralErrorCodesPtr;
35  typedef boost::shared_ptr<const ResponseGeneralErrorCodes> ResponseGeneralErrorCodesConstPtr;
36 
39 
45  {
46  public:
47  //Constructors and Create routines
49  virtual Safir::Dob::Typesystem::ObjectPtr Clone() const;
50  static ResponseGeneralErrorCodesPtr Create();
51 
52  //SafirReqErr
56  static std::wstring SafirReqErr();
57 
58  //SafirIllCombination
62  static std::wstring SafirIllCombination();
63 
64  //SafirMissingMember
68  static std::wstring SafirMissingMember();
69 
70  //SafirPresentMember
74  static std::wstring SafirPresentMember();
75 
76  //SafirNullMember
80  static std::wstring SafirNullMember();
81 
82  //SafirInternalErr
86  static std::wstring SafirInternalErr();
87 
88  //SafirNoPermission
92  static std::wstring SafirNoPermission();
93 
94  //SafirRangeErr
98  static std::wstring SafirRangeErr();
99 
100  //SafirInstanceErr
104  static std::wstring SafirInstanceErr();
105 
106  //SafirNoFreeInstance
110  static std::wstring SafirNoFreeInstance();
111 
112  //SafirTimeout
116  static std::wstring SafirTimeout();
117 
118  //SafirNotRegistered
122  static std::wstring SafirNotRegistered();
123 
124  //SafirFormatErr
128  static std::wstring SafirFormatErr();
129 
131  static const Safir::Dob::Typesystem::TypeId ClassTypeId = -561740985511921576LL;
132 
133  //Type id for ResponseGeneralErrorCodes
134  virtual Safir::Dob::Typesystem::TypeId GetTypeId() const {return ClassTypeId;}
135 
136  //Check if anything in the object has change flags set
137  virtual bool IsChanged();
138 
139  //Recursively set all change flags in the object
140  virtual void SetChanged(const bool changed);
141 
142 
143  //Reflection part (Don't use unless you really know what you're doing!!)
146  virtual const Safir::Dob::Typesystem::ContainerBase & GetMember(const Safir::Dob::Typesystem::MemberIndex member,
147  const Safir::Dob::Typesystem::ArrayIndex index) const;
148 
149  virtual Safir::Dob::Typesystem::Int32 CalculateBlobSize() const;
150  virtual void WriteToBlob(char * blob, char * & beginningOfUnused) const;
151  explicit ResponseGeneralErrorCodes(char const * const blob);
152 
153  private:
154 
155 #ifdef _MSC_VER
156 #pragma warning (push)
157 #pragma warning (disable : 4251)
158 #endif
159 
160 
161 #ifdef _MSC_VER
162 #pragma warning (pop)
163 #endif
164  };
165 
166 } // Dob
167 } // Safir
168 
169 #endif
170 
Declares error codes that are of general interest.
Definition: ResponseGeneralErrorCodes.h:44
#define DOTS_GENERATED_Safir_API
Definition: ResponseGeneralErrorCodes.h:16
virtual Safir::Dob::Typesystem::TypeId GetTypeId() const
Get the type id of this object.
Definition: ResponseGeneralErrorCodes.h:134
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
Safir::Dob::Typesystem::ArrayContainer< ResponseGeneralErrorCodesContainer > ResponseGeneralErrorCodesContainerArray
Definition: ResponseGeneralErrorCodes.h:38
boost::shared_ptr< ResponseGeneralErrorCodes > ResponseGeneralErrorCodesPtr
Definition: ResponseGeneralErrorCodes.h:33
boost::shared_ptr< const ResponseGeneralErrorCodes > ResponseGeneralErrorCodesConstPtr
Definition: ResponseGeneralErrorCodes.h:35
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
Safir::Dob::Typesystem::ObjectContainerImpl< ResponseGeneralErrorCodes > ResponseGeneralErrorCodesContainer
Definition: ResponseGeneralErrorCodes.h:37
static bool IsChanged(const ContainerBase &container)
Check if a container is changed.
Definition: ContainerBase.h:134