CoreDX DDS C++ Reference Manual
Public Member Functions | List of all members
DDS::MemberDescriptor Class Reference

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...
 

Detailed Description

A MemberDescriptor comprises the state of a DynamicTypeMember.

Constructor & Destructor Documentation

DDS::MemberDescriptor::MemberDescriptor ( )

Constructor, Copy Constructor, Destructor, Assignment operator

Member Function Documentation

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.

Return values
RETCODE_BAD_PARAMETERin the case of an invalid parameter
RETCODE_ERRORin 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.

Return values
non-zeroif descriptor is consistent
zeroif descriptor is not consistent

© 2009-2017 Twin Oaks Computing, Inc
Castle Rock, CO 80108
All rights reserved.