A MemberDescriptor comprises the state of a DynamicTypeMember. More...
Public Member Functions | |
MemberDescriptor () | |
ReturnCode_t | copy_from (const class MemberDescriptor *descriptor) |
Overwrite the contents of the 'to' descriptor with those of the provided 'from' descriptor. More... | |
unsigned char | equals (const class MemberDescriptor *descriptor) |
Compare two TypeDescriptor's. More... | |
unsigned char | is_consistent () |
Indicates whether the states of all of this descriptor’s properties are consistent. More... | |
A MemberDescriptor comprises the state of a DynamicTypeMember.
DDS::MemberDescriptor::MemberDescriptor | ( | ) |
Constructor, Copy Constructor, Destructor, Assignment operator
ReturnCode_t DDS::MemberDescriptor::copy_from | ( | const class MemberDescriptor * | descriptor | ) |
Overwrite the contents of the 'to' descriptor with those of the provided 'from' descriptor.
Subsequent calls to equals, passing the same argument as to this method, return true.
The 'from' descriptor shall not be changed by this operation.
RETCODE_BAD_PARAMETER | in the case of an invalid parameter |
RETCODE_ERROR | in the case of any other error |
unsigned char DDS::MemberDescriptor::equals | ( | const class MemberDescriptor * | descriptor | ) |
Compare two TypeDescriptor's.
Two type descriptors are considered equal if and only if the values of all of the properties identified in the table above are equal in each of them.
unsigned char DDS::MemberDescriptor::is_consistent | ( | ) |
Indicates whether the states of all of this descriptor’s properties are consistent.
The definitions of consistency for each property are given in the section corresponding to that property.
non-zero | if descriptor is consistent |
zero | if descriptor is not consistent |