![]() |
Safir SDK Core
|
Represents a class member in a Dob type. More...
#include </home/lars/safir/safir-sdk-core/src/safir_dou/gen/cpp/include/Safir/Websocket/Typesystem/Member.h>
Static Public Member Functions | |
static MemberPtr | Create () |
static Safir::Dob::Typesystem::MemberIndex | SummaryMemberIndex () |
static Safir::Dob::Typesystem::Int32 | SummaryMaxStringLength () |
static Safir::Dob::Typesystem::MemberIndex | NameMemberIndex () |
static Safir::Dob::Typesystem::Int32 | NameMaxStringLength () |
static Safir::Dob::Typesystem::MemberIndex | TypeMemberIndex () |
static Safir::Dob::Typesystem::Int32 | TypeMaxStringLength () |
static Safir::Dob::Typesystem::MemberIndex | DictionaryKeyTypeMemberIndex () |
static Safir::Dob::Typesystem::Int32 | DictionaryKeyTypeMaxStringLength () |
static Safir::Dob::Typesystem::MemberIndex | ArraySizeMemberIndex () |
![]() | |
static ItemPtr | Create () |
![]() | |
static Dob::Typesystem::ObjectPtr | Create () |
Creates a new Object. | |
Static Public Attributes | |
static const Safir::Dob::Typesystem::TypeId | ClassTypeId = -587796916060072239LL |
Type id for Member. | |
![]() | |
static const Safir::Dob::Typesystem::TypeId | ClassTypeId = 6050262633936372658LL |
Type id for Item. | |
![]() | |
static const Dob::Typesystem::TypeId | ClassTypeId = 5955188366590963785LL |
The TypeId of the Object class. | |
Represents a class member in a Dob type.
Safir::Websocket::Typesystem::Member::Member | ( | ) |
|
explicit |
Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::Typesystem::Int32Container > Safir::Websocket::Typesystem::Member::ArraySize | ( | ) |
const Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::Typesystem::Int32Container > Safir::Websocket::Typesystem::Member::ArraySize | ( | ) | const |
If member is array this is the arraySize.
If member is sequence this value is set to -1.
|
static |
|
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::Item.
|
static |
Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::Typesystem::StringContainer > Safir::Websocket::Typesystem::Member::DictionaryKeyType | ( | ) |
const Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::Typesystem::StringContainer > Safir::Websocket::Typesystem::Member::DictionaryKeyType | ( | ) | const |
If member is dictionry this is the fully qualified dictionary key type.
|
static |
|
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::Item.
|
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::Item.
|
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::Item.
|
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::Item.
Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::Typesystem::StringContainer > Safir::Websocket::Typesystem::Member::Name | ( | ) |
const Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::Typesystem::StringContainer > Safir::Websocket::Typesystem::Member::Name | ( | ) | const |
Name of member.
|
static |
|
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::Item.
Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::Typesystem::StringContainer > Safir::Websocket::Typesystem::Member::Summary | ( | ) |
const Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::Typesystem::StringContainer > Safir::Websocket::Typesystem::Member::Summary | ( | ) | const |
Member summary.
|
static |
|
static |
Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::Typesystem::StringContainer > Safir::Websocket::Typesystem::Member::Type | ( | ) |
const Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::Typesystem::StringContainer > Safir::Websocket::Typesystem::Member::Type | ( | ) | const |
Fully qualified type name.
Can be String, Int32, Safir.Dob.Entity etc.
|
static |
|
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::Item.
|
static |
Type id for Member.