OpenDDS  Snapshot(2023/04/28-20:55)
Public Member Functions | Private Member Functions | List of all members
OpenDDS::XTypes::MemberDescriptorImpl Class Reference

#include <MemberDescriptorImpl.h>

Inheritance diagram for OpenDDS::XTypes::MemberDescriptorImpl:
Inheritance graph
[legend]
Collaboration diagram for OpenDDS::XTypes::MemberDescriptorImpl:
Collaboration graph
[legend]

Public Member Functions

 MemberDescriptorImpl ()
 
 ~MemberDescriptorImpl ()
 
 MemberDescriptorImpl (const char *a_name, bool a_is_key)
 
bool equals (DDS::MemberDescriptor *other)
 
DDS::ReturnCode_t copy_from (DDS::MemberDescriptor *)
 
::CORBA::Boolean is_consistent ()
 
CORBA::ValueBase * _copy_value ()
 
CORBA::TypeCode_ptr _tao_type () const
 

Private Member Functions

::CORBA::Boolean _tao_marshal__DDS_MemberDescriptor (TAO_OutputCDR &, TAO_ChunkInfo &) const
 
::CORBA::Boolean _tao_unmarshal__DDS_MemberDescriptor (TAO_InputCDR &, TAO_ChunkInfo &)
 

Detailed Description

Definition at line 16 of file MemberDescriptorImpl.h.

Constructor & Destructor Documentation

◆ MemberDescriptorImpl() [1/2]

OpenDDS::XTypes::MemberDescriptorImpl::MemberDescriptorImpl ( )

Definition at line 13 of file MemberDescriptorImpl.cpp.

References DDS::DISCARD, OpenDDS::XTypes::is_key(), and OpenDDS::XTypes::MEMBER_ID_INVALID.

14 {
16  index(0);
17  try_construct_kind(DDS::DISCARD);
18  is_key(false);
19  is_optional(false);
20  is_must_understand(false);
21  is_shared(false);
22  is_default_label(false);
23 }
bool is_key(DDS::DynamicType_ptr type, const char *field)
const ACE_CDR::ULong MEMBER_ID_INVALID
Definition: TypeObject.h:911

◆ ~MemberDescriptorImpl()

OpenDDS::XTypes::MemberDescriptorImpl::~MemberDescriptorImpl ( )

Definition at line 25 of file MemberDescriptorImpl.cpp.

26 {}

◆ MemberDescriptorImpl() [2/2]

OpenDDS::XTypes::MemberDescriptorImpl::MemberDescriptorImpl ( const char *  a_name,
bool  a_is_key 
)
inline

Definition at line 23 of file MemberDescriptorImpl.h.

References OpenDDS::XTypes::is_key(), name, and DDS::USE_DEFAULT.

24  {
25  name(a_name);
26  id(0);
27  index(0);
28  try_construct_kind(DDS::USE_DEFAULT);
29  is_key(a_is_key);
30  is_optional(false);
31  is_must_understand(false);
32  is_shared(false);
33  is_default_label(false);
34  }
bool is_key(DDS::DynamicType_ptr type, const char *field)
const char *const name
Definition: debug.cpp:60

Member Function Documentation

◆ _copy_value()

CORBA::ValueBase * OpenDDS::XTypes::MemberDescriptorImpl::_copy_value ( void  )

Definition at line 34 of file MemberDescriptorImpl.cpp.

References ACE_ERROR, and LM_ERROR.

35 {
36  ACE_ERROR((LM_ERROR, "(%P|%t) ERROR: MemberDescriptorImpl::_copy_value is not implemented\n"));
37  return 0;
38 }
#define ACE_ERROR(X)

◆ _tao_marshal__DDS_MemberDescriptor()

CORBA::Boolean OpenDDS::XTypes::MemberDescriptorImpl::_tao_marshal__DDS_MemberDescriptor ( TAO_OutputCDR ,
TAO_ChunkInfo &   
) const
private

Definition at line 59 of file MemberDescriptorImpl.cpp.

References ACE_ERROR, and LM_ERROR.

60 {
61  ACE_ERROR((LM_ERROR, "(%P|%t) ERROR: MemberDescriptorImpl::_tao_marshal__DDS_MemberDescriptor is not implemented\n"));
62  return false;
63 }
#define ACE_ERROR(X)

◆ _tao_type()

CORBA::TypeCode_ptr OpenDDS::XTypes::MemberDescriptorImpl::_tao_type ( void  ) const

Definition at line 40 of file MemberDescriptorImpl.cpp.

References ACE_ERROR, and LM_ERROR.

41 {
42  ACE_ERROR((LM_ERROR, "(%P|%t) ERROR: MemberDescriptorImpl::_tao_type is not implemented\n"));
43  return 0;
44 }
#define ACE_ERROR(X)

◆ _tao_unmarshal__DDS_MemberDescriptor()

CORBA::Boolean OpenDDS::XTypes::MemberDescriptorImpl::_tao_unmarshal__DDS_MemberDescriptor ( TAO_InputCDR ,
TAO_ChunkInfo &   
)
private

Definition at line 65 of file MemberDescriptorImpl.cpp.

References ACE_ERROR, and LM_ERROR.

66 {
67  ACE_ERROR((LM_ERROR, "(%P|%t) ERROR: MemberDescriptorImpl::_tao_unmarshal__DDS_MemberDescriptor is not implemented\n"));
68  return false;
69 }
#define ACE_ERROR(X)

◆ copy_from()

DDS::ReturnCode_t OpenDDS::XTypes::MemberDescriptorImpl::copy_from ( DDS::MemberDescriptor )

Definition at line 46 of file MemberDescriptorImpl.cpp.

References DDS::RETCODE_UNSUPPORTED.

47 {
48  // FUTURE
50 }
const ReturnCode_t RETCODE_UNSUPPORTED

◆ equals()

bool OpenDDS::XTypes::MemberDescriptorImpl::equals ( DDS::MemberDescriptor other)

Definition at line 28 of file MemberDescriptorImpl.cpp.

References OpenDDS::XTypes::test_equality().

29 {
30  DynamicTypePtrPairSeen dt_ptr_pair;
31  return test_equality(this, other, dt_ptr_pair);
32 }
bool test_equality(DDS::DynamicType_ptr lhs, DDS::DynamicType_ptr rhs, DynamicTypePtrPairSeen &dt_ptr_pair)

◆ is_consistent()

CORBA::Boolean OpenDDS::XTypes::MemberDescriptorImpl::is_consistent ( )

Definition at line 52 of file MemberDescriptorImpl.cpp.

References ACE_ERROR, and LM_ERROR.

53 {
54  // FUTURE
55  ACE_ERROR((LM_ERROR, "(%P|%t) ERRROR: MemberDescriptorImpl::is_consistent is not implemented\n"));
56  return false;
57 }
#define ACE_ERROR(X)

The documentation for this class was generated from the following files: