packages feed

HROOT-core-0.10.0.1: csrc/HROOTCoreTAttBBox2D.h

#ifdef __cplusplus
extern "C" {
#endif

#pragma once


#include "HROOT-coreType.h"

#include "STDDeletable.h"

#include "stdcxxType.h"


#define TATTBBOX2D_DECL_VIRT(Type) \
Rectangle_t_p Type##_GetBBox ( Type##_p p );\
void Type##_SetBBoxX1 ( Type##_p p, int x );\
void Type##_SetBBoxX2 ( Type##_p p, int x );\
void Type##_SetBBoxY1 ( Type##_p p, int y );\
void Type##_SetBBoxY2 ( Type##_p p, int y );


#define TATTBBOX2D_DECL_NONVIRT(Type) \



#define TATTBBOX2D_DECL_ACCESSOR(Type) \



#define TATTBBOX2D_DEF_VIRT(Type) \
Rectangle_t_p Type##_GetBBox ( Type##_p p ) {\
return from_nonconst_to_nonconst<Rectangle_t_t, Rectangle_t>(new Rectangle_t(((TYPECASTMETHOD(Type, GetBBox, TAttBBox2D))(p))->GetBBox()));\
}\
\
void Type##_SetBBoxX1 ( Type##_p p, int x ) {\
((TYPECASTMETHOD(Type, SetBBoxX1, TAttBBox2D))(p))->SetBBoxX1(x);\
}\
\
void Type##_SetBBoxX2 ( Type##_p p, int x ) {\
((TYPECASTMETHOD(Type, SetBBoxX2, TAttBBox2D))(p))->SetBBoxX2(x);\
}\
\
void Type##_SetBBoxY1 ( Type##_p p, int y ) {\
((TYPECASTMETHOD(Type, SetBBoxY1, TAttBBox2D))(p))->SetBBoxY1(y);\
}\
\
void Type##_SetBBoxY2 ( Type##_p p, int y ) {\
((TYPECASTMETHOD(Type, SetBBoxY2, TAttBBox2D))(p))->SetBBoxY2(y);\
}


#define TATTBBOX2D_DEF_NONVIRT(Type) \



#define TATTBBOX2D_DEF_ACCESSOR(Type) \



DELETABLE_DECL_VIRT(TAttBBox2D)
TATTBBOX2D_DECL_VIRT(TAttBBox2D)
TATTBBOX2D_DECL_NONVIRT(TAttBBox2D)
TATTBBOX2D_DECL_ACCESSOR(TAttBBox2D)

#ifdef __cplusplus
}
#endif