![]() |
Safir SDK Core
|
Declares error codes that are of general interest. More...
#include </home/lars/safir/safir-sdk-core/src/safir_dou/gen/cpp/include/Safir/Dob/ResponseGeneralErrorCodes.h>
Public Member Functions | |
ResponseGeneralErrorCodes () | |
Safir::Dob::Typesystem::ObjectPtr | Clone () const override |
Create a copy of the object. | |
Safir::Dob::Typesystem::TypeId | GetTypeId () const override |
Get the type id of this object. | |
bool | IsChanged () override |
Check if any member of this object is changed. | |
void | SetChanged (const bool changed) override |
Recursively set change flags in all members of this object. | |
Safir::Dob::Typesystem::ContainerBase & | GetMember (const Safir::Dob::Typesystem::MemberIndex member, const Safir::Dob::Typesystem::ArrayIndex index) override |
Get a reference to a member container from an object. | |
const Safir::Dob::Typesystem::ContainerBase & | GetMember (const Safir::Dob::Typesystem::MemberIndex member, const Safir::Dob::Typesystem::ArrayIndex index) const override |
Get a const reference to a member container from an object. | |
void | WriteToBlob (Safir::Dob::Typesystem::Int64 handle) const override |
Write the object to a blob. | |
ResponseGeneralErrorCodes (Safir::Dob::Typesystem::Int64 handle) | |
![]() | |
Parametrization () | |
Parametrization (Safir::Dob::Typesystem::Int64 handle) | |
![]() | |
Object () | |
Default constructor. | |
virtual | ~Object () |
Virtual destructor. | |
Object (Safir::Dob::Typesystem::Int64 handle) | |
Create an Object from a blob. | |
Static Public Member Functions | |
static ResponseGeneralErrorCodesPtr | Create () |
static std::wstring | SafirReqErr () |
An erroneous request. | |
static std::wstring | SafirIllCombination () |
Illegal combination of members. | |
static std::wstring | SafirMissingMember () |
A mandatory member is missing. | |
static std::wstring | SafirPresentMember () |
A present member is not allowed to be present. | |
static std::wstring | SafirNullMember () |
A member is null, but is not allowed to be null. | |
static std::wstring | SafirInternalErr () |
An internal error occurred. | |
static std::wstring | SafirNoPermission () |
A request is send from someone without permission. | |
static std::wstring | SafirRangeErr () |
Value out of range. | |
static std::wstring | SafirInstanceErr () |
Instance out of range. | |
static std::wstring | SafirNoFreeInstance () |
No free instance exists, create request failed. | |
static std::wstring | SafirTimeout () |
The owner did not respond in due time. | |
static std::wstring | SafirNotRegistered () |
No one is registered to handle the request. | |
static std::wstring | SafirFormatErr () |
The format of the supplied value is erroneous. | |
static std::wstring | SafirDetachedState () |
Request is sent from a detached light node. | |
![]() | |
static ParametrizationPtr | Create () |
![]() | |
static Dob::Typesystem::ObjectPtr | Create () |
Creates a new Object. | |
Static Public Attributes | |
static const Safir::Dob::Typesystem::TypeId | ClassTypeId = -561740985511921576LL |
Type id for ResponseGeneralErrorCodes. | |
![]() | |
static const Safir::Dob::Typesystem::TypeId | ClassTypeId = 8075666004421608370LL |
Type id for Parametrization. | |
![]() | |
static const Dob::Typesystem::TypeId | ClassTypeId = 5955188366590963785LL |
The TypeId of the Object class. | |
Declares error codes that are of general interest.
Error codes shall be parameters, to ensure that they are spelled consitently.
Safir::Dob::ResponseGeneralErrorCodes::ResponseGeneralErrorCodes | ( | ) |
|
explicit |
|
overridevirtual |
Create a copy of the object.
Will create a copy of the object on the heap and return a smart pointer to it. Use std::static_pointer_cast or std::dynamic_pointer_cast to cast it to the pointer type that you're after.
Reimplemented from Safir::Dob::Parametrization.
|
static |
|
overridevirtual |
Get a const reference to a member container from an object.
Use the methods in Members to get member indices and array sizes for use with this method.
Note: Do not use this method unless you're very sure it is the one you need!
member | [in] - The index of the member to get. |
index | [in] - The array index of the member to get. |
IllegalValueException | If the index is not in the range of the array. |
SoftwareViolationException | If the element is not an array and the index is not 0. |
Reimplemented from Safir::Dob::Parametrization.
|
overridevirtual |
Get a reference to a member container from an object.
Use the methods in Members to get member indices and array sizes for use with this method.
Note: Do not use this method unless you're very sure it is the one you need!
member | [in] - The index of the member to get. |
index | [in] - The array index of the member to get. |
IllegalValueException | If the index is not in the range of the array. |
SoftwareViolationException | If the element is not an array and the index is not 0. |
Reimplemented from Safir::Dob::Parametrization.
|
overridevirtual |
Get the type id of this object.
Gets the type id of the object. Method is virtual to ensure that the right value gets returned for pointers or references.
Reimplemented from Safir::Dob::Parametrization.
|
overridevirtual |
Check if any member of this object is changed.
This method will recursively check if any member of the object has its change flag set.
Reimplemented from Safir::Dob::Parametrization.
|
static |
Request is sent from a detached light node.
|
static |
The format of the supplied value is erroneous.
|
static |
Illegal combination of members.
|
static |
Instance out of range.
|
static |
An internal error occurred.
|
static |
A mandatory member is missing.
|
static |
No free instance exists, create request failed.
|
static |
A request is send from someone without permission.
|
static |
No one is registered to handle the request.
|
static |
A member is null, but is not allowed to be null.
|
static |
A present member is not allowed to be present.
|
static |
Value out of range.
|
static |
An erroneous request.
|
static |
The owner did not respond in due time.
|
overridevirtual |
Recursively set change flags in all members of this object.
changed | [in] - The value to set the change flags to |
Reimplemented from Safir::Dob::Parametrization.
|
overridevirtual |
Write the object to a blob.
handle | [in] - Handle to a blobWriter that is the destination of the serialized object. |
Reimplemented from Safir::Dob::Parametrization.
|
static |
Type id for ResponseGeneralErrorCodes.