RefleX
Build DDS Applications in Modern C++ without IDL
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
Namespaces | Macros
dd_manip.cxx File Reference
#include "reflex/dllexport.h"
#include "reflex/dd_manip.h"
#include <algorithm>

Namespaces

 reflex
 The top-level namespace for all the RefleX APIs.
 

Macros

#define SET_MEMBER_VALUE_DEF(TYPE, FUNCTION)
 
#define GET_MEMBER_VALUE_DEF(DDS_TYPE, TYPE, FUNCTION)
 

Macro Definition Documentation

#define GET_MEMBER_VALUE_DEF (   DDS_TYPE,
  TYPE,
  FUNCTION 
)
Value:
REFLEX_INLINE void get_member_overload_resolution_helper::get_member_value( \
const DDS_DynamicData & instance, \
const MemberAccess &ma, \
TYPE & val) \
{ \
DDS_ReturnCode_t rc; \
DDS_TYPE out; \
if (ma.access_by_id()) \
rc = instance.FUNCTION(out, NULL, ma.get_id()); \
else \
rc = instance.FUNCTION(out, \
ma.get_name(), \
DDS_DYNAMIC_DATA_MEMBER_ID_UNSPECIFIED); \
detail::check_retcode(#FUNCTION " error = ", rc); \
val = out; \
}
#define REFLEX_INLINE
Definition: dllexport.h:38
#define SET_MEMBER_VALUE_DEF (   TYPE,
  FUNCTION 
)
Value:
REFLEX_INLINE void set_member_overload_resolution_helper::set_member_value( \
DDS_DynamicData & instance, \
const MemberAccess &ma, \
const TYPE & val) \
{ \
DDS_ReturnCode_t rc; \
if (ma.access_by_id()) \
rc = instance.FUNCTION(NULL, ma.get_id(), val); \
else \
rc = instance.FUNCTION(ma.get_name(), \
DDS_DYNAMIC_DATA_MEMBER_ID_UNSPECIFIED, \
val); \
detail::check_retcode(#FUNCTION " error = ", rc); \
}
#define REFLEX_INLINE
Definition: dllexport.h:38