HROOT-core-0.10.0.1: csrc/HROOTCoreRectangle_t.h
#ifdef __cplusplus
extern "C" {
#endif
#pragma once
#include "HROOT-coreType.h"
#include "STDDeletable.h"
#include "stdcxxType.h"
#define RECTANGLE_T_DECL_VIRT(Type) \
#define RECTANGLE_T_DECL_NONVIRT(Type) \
#define RECTANGLE_T_DECL_ACCESSOR(Type) \
unsigned short Type##_fHeight_get ( Type##_p p );\
void Type##_fHeight_set ( Type##_p p, unsigned short x );\
unsigned short Type##_fWidth_get ( Type##_p p );\
void Type##_fWidth_set ( Type##_p p, unsigned short x );\
short Type##_fX_get ( Type##_p p );\
void Type##_fX_set ( Type##_p p, short x );\
short Type##_fY_get ( Type##_p p );\
void Type##_fY_set ( Type##_p p, short x );
#define RECTANGLE_T_DEF_VIRT(Type) \
#define RECTANGLE_T_DEF_NONVIRT(Type) \
#define RECTANGLE_T_DEF_ACCESSOR(Type) \
unsigned short Type##_fHeight_get ( Type##_p p ) {\
return (from_nonconst_to_nonconst<Type, Type##_t>(p))->fHeight;\
}\
void Type##_fHeight_set ( Type##_p p, unsigned short x ) {\
((from_nonconst_to_nonconst<Type, Type##_t>(p))->fHeight)=x;\
}\
unsigned short Type##_fWidth_get ( Type##_p p ) {\
return (from_nonconst_to_nonconst<Type, Type##_t>(p))->fWidth;\
}\
void Type##_fWidth_set ( Type##_p p, unsigned short x ) {\
((from_nonconst_to_nonconst<Type, Type##_t>(p))->fWidth)=x;\
}\
short Type##_fX_get ( Type##_p p ) {\
return (from_nonconst_to_nonconst<Type, Type##_t>(p))->fX;\
}\
void Type##_fX_set ( Type##_p p, short x ) {\
((from_nonconst_to_nonconst<Type, Type##_t>(p))->fX)=x;\
}\
short Type##_fY_get ( Type##_p p ) {\
return (from_nonconst_to_nonconst<Type, Type##_t>(p))->fY;\
}\
void Type##_fY_set ( Type##_p p, short x ) {\
((from_nonconst_to_nonconst<Type, Type##_t>(p))->fY)=x;\
}
DELETABLE_DECL_VIRT(Rectangle_t)
RECTANGLE_T_DECL_VIRT(Rectangle_t)
RECTANGLE_T_DECL_NONVIRT(Rectangle_t)
RECTANGLE_T_DECL_ACCESSOR(Rectangle_t)
#ifdef __cplusplus
}
#endif