![]() |
Safir SDK Core
|
Definition of updating multiple objects using ForEach service request. More...
Static Public Member Functions | |
static UpdateRequestPtr | Create () |
static Safir::Dob::Typesystem::MemberIndex | TemplateEntityRequestMemberIndex () |
static Safir::Dob::Typesystem::MemberIndex | ResponseTypeMemberIndex () |
static Safir::Dob::Typesystem::MemberIndex | OperateOnMemberIndex () |
static Safir::Dob::Typesystem::ArrayIndex | OperateOnArraySize () |
![]() | |
static ServicePtr | Create () |
![]() | |
static Dob::Typesystem::ObjectPtr | Create () |
Creates a new Object. | |
Static Public Attributes | |
static const Safir::Dob::Typesystem::TypeId | ClassTypeId = -7898186218975449827LL |
Type id for UpdateRequest. | |
![]() | |
static const Safir::Dob::Typesystem::TypeId | ClassTypeId = -5315939293064264373LL |
Type id for Service. | |
![]() | |
static const Dob::Typesystem::TypeId | ClassTypeId = 5955188366590963785LL |
The TypeId of the Object class. | |
Definition of updating multiple objects using ForEach service request.
Safir::Utilities::ForEach::UpdateRequest::UpdateRequest | ( | ) |
|
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::Service.
|
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::Service.
|
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::Service.
|
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::Service.
|
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::Service.
Safir::Dob::Typesystem::EntityIdContainerArray & Safir::Utilities::ForEach::UpdateRequest::OperateOn | ( | ) |
const Safir::Dob::Typesystem::EntityIdContainerArray & Safir::Utilities::ForEach::UpdateRequest::OperateOn | ( | ) | const |
Array of entities to operate on.
|
static |
|
static |
Safir::Dob::Typesystem::ContainerProxy< Safir::Utilities::ForEach::ResponseType::EnumerationContainer > Safir::Utilities::ForEach::UpdateRequest::ResponseType | ( | ) |
const Safir::Dob::Typesystem::ContainerProxy< Safir::Utilities::ForEach::ResponseType::EnumerationContainer > Safir::Utilities::ForEach::UpdateRequest::ResponseType | ( | ) | const |
The type of response wanted.
|
static |
|
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::Service.
Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::EntityContainer > Safir::Utilities::ForEach::UpdateRequest::TemplateEntityRequest | ( | ) |
const Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::EntityContainer > Safir::Utilities::ForEach::UpdateRequest::TemplateEntityRequest | ( | ) | const |
The entity that is used as template for updating the OperateOn array.
|
static |
|
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::Service.
|
static |
Type id for UpdateRequest.