Safir SDK Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GhostExistsException.h
Go to the documentation of this file.
1 #ifndef SAFIR_DOB_GHOSTEXISTSEXCEPTION_H_INCLUDED
2 #define SAFIR_DOB_GHOSTEXISTSEXCEPTION_H_INCLUDED
3 
4 #include <Safir/Utilities/Internal/VisibilityHelpers.h>
5 
6 #ifdef dots_generated_Safir_cpp_EXPORTS
7 # define DOTS_GENERATED_Safir_API SAFIR_HELPER_DLL_EXPORT
8 #else
9 # define DOTS_GENERATED_Safir_API SAFIR_HELPER_DLL_IMPORT
10 # define SAFIR_LIBRARY_NAME "dots_generated-Safir-cpp"
11 # include <Safir/Utilities/Internal/AutoLink.h>
12 #endif
13 #define DOTS_GENERATED_Safir_API_LOCAL SAFIR_HELPER_DLL_LOCAL
14 
16 
20 namespace Safir
21 {
25 namespace Dob
26 {
27 
34  {
35  public:
49  (const std::wstring & message,
50  const std::wstring & fileName, //Use the __WFILE__ macro
51  const Safir::Dob::Typesystem::Int64 lineNumber);//Use the __LINE__ macro
52 
53  //override of pure virtual
54  virtual const std::wstring GetName() const;
55 
57  static const Safir::Dob::Typesystem::TypeId ExceptionTypeId = -6339972375288415073LL;
58 
59  //override of pure virtual
60  virtual Safir::Dob::Typesystem::TypeId GetTypeId() const {return ExceptionTypeId;}
61 
62  };
63 
64 
65 } // Dob
66 } // Safir
67 
68 #endif
69 
This is the base class of all Fundamental Exceptions.
Definition: Exceptions.h:190
DotsC_Int64 Int64
64 bit integer type.
Definition: Defs.h:70
DotsC_TypeId TypeId
A unique type identifier.
Definition: Defs.h:219
virtual Safir::Dob::Typesystem::TypeId GetTypeId() const
Get the type id of this exception.
Definition: GhostExistsException.h:60
Thrown when an injection handler tries to set/delete an entity for which there is a ghost instance th...
Definition: GhostExistsException.h:32
#define DOTS_GENERATED_Safir_API
Definition: GhostExistsException.h:9
DOTS_CPP_API std::wstring GetName(const Dob::Typesystem::TypeId typeId, const Dob::Typesystem::MemberIndex member)
Get the name of the specified member as it was defined in the xml description.