FirstObject.h
Go to the documentation of this file.
#ifndef FIRSTOBJECT_H
#define FIRSTOBJECT_H
/******************************************************************************/
#ifdef TEMPLATE_GENERATE_SOURCE
#undef TEMPLATE_GENERATE_SOURCE
#include "SecondObject.h"
#define TEMPLATE_GENERATE_SOURCE
#else /* TEMPLATE_GENERATE_SOURCE */
#include "SecondObject.h"
#endif /* TEMPLATE_GENERATE_SOURCE */
/******************************************************************************/
#include "TheStruct.h"
#define CLASS UnitFirstObject
#define EXPAND_CLASS_MEMBERS(CLASS) \
EXPAND_CLASS_MEMBER_INT(CLASS, TheInteger, int) \
EXPAND_CLASS_MEMBER_INT(CLASS, TheUnsignedLong, unsigned long) \
EXPAND_CLASS_MEMBER_INT(CLASS, TheCharPointer, char *) \
EXPAND_CLASS_MEMBER_BUFFER(CLASS, TheBuffer, struct TheStruct) \
EXPAND_CLASS_MEMBER_LIST(CLASS, TheList) \
EXPAND_CLASS_MEMBER_OBJECT(CLASS, TheSecondObject, UnitSecondObject) \
EXPAND_CLASS_MEMBER_STRING(CLASS, TheString) \
EXPAND_CLASS_MEMBER_DOMSTRING(CLASS, TheDomString)
#include "TemplateInclude.h"
#endif /* FIRSTOBJECT_H */
TemplateInclude.h
Templates for include files of objects.
SecondObject.h
Object used in unit testing of object templates.