PrintReflectedType.h
// PrintReflectedType.h
//
// Author David Barrett-Lennard
// (C)opyright Cedanet Pty Ltd 2007
@import "cxObject.h"
@import "ReflectionByteCode.h"
namespace ceda
{
struct PrintTypeSettings
{
PrintTypeSettings() : m_showType(false), m_showMetaData(false), m_showTypeSpecifiers(false) {}
PrintTypeSettings(bool showType, bool showMetaData, bool showTypeSpecifiers) :
m_showType(showType),
m_showMetaData(showMetaData),
m_showTypeSpecifiers(showTypeSpecifiers) {}
bool m_showType;
bool m_showMetaData;
bool m_showTypeSpecifiers;
};
@api void PrintReflectedType(xostream& os, ReflectionByteCode rbc, const PrintTypeSettings& pts = PrintTypeSettings());
@api void PrintReflectedInterface(xostream& os, const ReflectedInterface& r, const PrintTypeSettings& pts = PrintTypeSettings());
@api void PrintReflectedClass(xostream& os, const ReflectedClass& r, const PrintTypeSettings& pts = PrintTypeSettings());
@api void PrintReflectedVariant(xostream& os, const ReflectedVariant& r, const PrintTypeSettings& pts = PrintTypeSettings());
@api void PrintReflectedEnum(xostream& os, const ReflectedEnum& r, const PrintTypeSettings& pts = PrintTypeSettings());
@api void PrintReflectedFunctor(xostream& os, const ReflectedFunctor& r, const PrintTypeSettings& pts = PrintTypeSettings());
@api void PrintReflectedTypedef(xostream& os, const ReflectedTypedef& r, const PrintTypeSettings& pts = PrintTypeSettings());
@api void PrintReflectedGlobalFunction(xostream& os, const ReflectedGlobalFunction& r, const PrintTypeSettings& pts = PrintTypeSettings());
@api void PrintReflectedGlobalVariable(xostream& os, const ReflectedGlobalVariable& r, const PrintTypeSettings& pts = PrintTypeSettings());
} // namespace ceda