mummy
1.0.3
|
#include <MummyCsharpExportLayerGenerator.h>
Public Member Functions | |
MummyCsharpExportLayerGenerator () | |
virtual | ~MummyCsharpExportLayerGenerator () |
virtual bool | GenerateWrappers () |
virtual MummyCsharpGenerator * | GetCsharpGenerator () |
virtual void | SetCsharpGenerator (MummyCsharpGenerator *generator) |
virtual const char * | GetArgName (cable::FunctionType *ftype, unsigned int i) |
virtual gxsys_stl::string | GetArgTypeAndNameString (cable::Type *argType, const char *name, bool stripConst) |
virtual gxsys_stl::string | GetExportLayerFunctionName (const cable::Class *c, const cable::Method *m, const gxsys_stl::string &mname) |
virtual void | EmitSpecialHandlingForObjectPointerReturns (gxsys_ios::ostream &os, const gxsys_stl::string &cname, const cable::Method *m, const gxsys_stl::string &mname, const unsigned int indent) |
virtual void | EmitClassMethodDeclarationForExportLayer (gxsys_ios::ostream &os, const cable::Class *c, const cable::Method *m, const gxsys_stl::string &mname, bool emitExceptionParams) |
virtual void | EmitClassMethodForExportLayer (gxsys_ios::ostream &os, const cable::Class *c, const cable::Method *m, const gxsys_stl::string &mname) |
virtual void | EmitClassForExportLayer (gxsys_ios::ostream &os, const cable::Class *c) |
![]() | |
MummyGenerator () | |
virtual | ~MummyGenerator () |
virtual MummySettings * | GetSettings () |
Get the associated settings object. More... | |
virtual void | SetSettings (MummySettings *settings) |
Set the associated settings object. More... | |
virtual const cable::Class * | GetTargetClass () |
Get the current target class. More... | |
virtual void | SetTargetClass (const cable::Class *c) |
Set the current target class. More... | |
virtual bool | FundamentalTypeIsWrappable (const cable::Type *t) |
virtual bool | TypeIsWrappable (const cable::Type *t) |
virtual bool | FunctionTypeIsWrappable (const cable::FunctionType *ft) |
virtual bool | MethodIsWrappable (const cable::Method *m, const cable::Context::Access &access) |
virtual bool | ClassIsWrappable (const cable::Class *c) |
virtual MummyLineOrientedTextFileReader * | GetHeaderFileReader (const cable::Class *c) |
Get or create a header file reader. Only uses class 'c' on the first call. Subsequent calls retrieve the same reader instance. More... | |
virtual void | EmitMummyVersionComments (gxsys_ios::ostream &os, const char *lineCommentString) |
Private Member Functions | |
MummyCsharpExportLayerGenerator (const MummyCsharpExportLayerGenerator &) | |
MummyCsharpExportLayerGenerator & | operator= (const MummyCsharpExportLayerGenerator &) |
Private Attributes | |
MummyCsharpGenerator * | CsharpGenerator |
Definition at line 15 of file MummyCsharpExportLayerGenerator.h.
MummyCsharpExportLayerGenerator::MummyCsharpExportLayerGenerator | ( | ) |
Definition at line 35 of file MummyCsharpExportLayerGenerator.cxx.
References CsharpGenerator.
|
virtual |
Definition at line 42 of file MummyCsharpExportLayerGenerator.cxx.
|
private |
|
virtual |
Definition at line 776 of file MummyCsharpExportLayerGenerator.cxx.
References Emit(), EmitClassMethodForExportLayer(), EmitFile(), EmitIndent(), MummyGenerator::EmitMummyVersionComments(), ExtractMapToType(), MummySettings::FindClassWrappingSettings(), FindNonAbstractPublicDefaultConstructor(), MummyCsharpGenerator::GatherWrappedMethods(), GetCsharpGenerator(), MummySettings::GetExtraExportLayerCode(), GetFullyQualifiedNameForCPlusPlus(), MummySettings::GetRegisterInclude(), MummyGenerator::GetSettings(), HasMapToType(), IsObjectPointer(), IsUtilityClass(), LogError, LogVerboseInfo, and me_NoClassWrappingSettings.
Referenced by GenerateWrappers().
|
virtual |
Definition at line 221 of file MummyCsharpExportLayerGenerator.cxx.
References Emit(), GetArgName(), GetArgTypeAndNameString(), GetExportLayerFunctionName(), GetFullyQualifiedNameForCPlusPlus(), HasMapToType(), IsObjectPointer(), and IsUtilityClass().
Referenced by EmitClassMethodForExportLayer().
|
virtual |
Definition at line 491 of file MummyCsharpExportLayerGenerator.cxx.
References Emit(), EmitClassMethodDeclarationForExportLayer(), EmitIndent(), EmitSpecialHandlingForObjectPointerReturns(), ClassWrappingSettings::exceptionBaseClass, ClassWrappingSettings::exceptionCloneMethod, GetArgName(), GetArgTypeAndNameString(), GetCPlusPlusZeroInitializerExpression(), GetExportLayerActualType(), GetExportLayerMappedType(), GetFullyQualifiedNameForCPlusPlus(), GetMapToType(), MummyGenerator::GetSettings(), GetStringMethod(), HasMapToType(), IsObjectPointer(), IsVoid(), LogError, LogFileLineErrorMsg, me_NoClassWrappingSettings, and me_UnknownMapToType.
Referenced by EmitClassForExportLayer().
|
virtual |
Definition at line 380 of file MummyCsharpExportLayerGenerator.cxx.
References Emit(), EmitIndent(), ClassWrappingSettings::getMummyTypeEntryMethod, ClassWrappingSettings::getRefCountMethod, MummyGenerator::GetSettings(), LogError, me_NoClassWrappingSettings, ClassWrappingSettings::registerBaseClass, ClassWrappingSettings::registerMethod, and ClassWrappingSettings::setMummyTypeEntryMethod.
Referenced by EmitClassMethodForExportLayer().
|
virtual |
Definition at line 48 of file MummyCsharpExportLayerGenerator.cxx.
References EmitClassForExportLayer(), and MummyGenerator::GetTargetClass().
|
virtual |
Definition at line 105 of file MummyCsharpExportLayerGenerator.cxx.
References MummyCsharpGenerator::GetArgName(), and GetCsharpGenerator().
Referenced by EmitClassMethodDeclarationForExportLayer(), and EmitClassMethodForExportLayer().
|
virtual |
Definition at line 187 of file MummyCsharpExportLayerGenerator.cxx.
References EquivalentTypedefNameExists(), GetExportLayerMappedType(), GetFullyQualifiedNameForCPlusPlus(), MummyGenerator::GetTargetClass(), LogError, and me_InternalError.
Referenced by EmitClassMethodDeclarationForExportLayer(), and EmitClassMethodForExportLayer().
|
virtual |
Definition at line 56 of file MummyCsharpExportLayerGenerator.cxx.
References CsharpGenerator.
Referenced by EmitClassForExportLayer(), GetArgName(), and GetExportLayerFunctionName().
|
virtual |
Definition at line 112 of file MummyCsharpExportLayerGenerator.cxx.
References GetCsharpGenerator(), and MummyCsharpGenerator::GetExportLayerFunctionName().
Referenced by EmitClassMethodDeclarationForExportLayer().
|
private |
|
virtual |
Definition at line 63 of file MummyCsharpExportLayerGenerator.cxx.
References CsharpGenerator.
Referenced by MummyApplication::ProcessClass().
|
private |
Definition at line 43 of file MummyCsharpExportLayerGenerator.h.
Referenced by GetCsharpGenerator(), MummyCsharpExportLayerGenerator(), and SetCsharpGenerator().