OpenDDS
Snapshot(2023/04/07-19:43)
|
#include <Comparator_T.h>
Public Types | |
typedef Field Sample::* | MemberPtr |
![]() | |
typedef RcHandle< ComparatorBase > | Ptr |
Public Member Functions | |
StructComparator (MemberPtr mp, ComparatorBase::Ptr delegate, ComparatorBase::Ptr next) | |
bool | less (void *lhs_void, void *rhs_void) const |
bool | equal (void *lhs_void, void *rhs_void) const |
![]() | |
ComparatorBase () | |
ComparatorBase (Ptr next) | |
virtual | ~ComparatorBase () |
bool | compare (void *lhs, void *rhs) const |
![]() | |
virtual | ~RcObject () |
virtual void | _add_ref () |
virtual void | _remove_ref () |
long | ref_count () const |
WeakObject * | _get_weak_object () const |
Private Attributes | |
MemberPtr | mp_ |
ComparatorBase::Ptr | delegate_ |
Additional Inherited Members | |
![]() | |
RcObject () | |
deal with nested structs, for example: struct A { long x; }; struct B { A theA; }; B's query string has "ORDER BY theA.x" The generated code will create a StructComparator with Sample = B and Field = A which in turn has a "delegate" which is a FieldComparator (see above) with Sample = A and Field = CORBA::Long
Definition at line 94 of file Comparator_T.h.
typedef Field Sample::* OpenDDS::DCPS::StructComparator< Sample, Field >::MemberPtr |
Definition at line 96 of file Comparator_T.h.
|
inline |
Definition at line 97 of file Comparator_T.h.
|
inlinevirtual |
Implements OpenDDS::DCPS::ComparatorBase.
Definition at line 109 of file Comparator_T.h.
|
inlinevirtual |
Implements OpenDDS::DCPS::ComparatorBase.
Definition at line 103 of file Comparator_T.h.
|
private |
Definition at line 117 of file Comparator_T.h.
|
private |
Definition at line 116 of file Comparator_T.h.