mummy
1.0.3
|
#include <MummyCsharpGenerator.h>
Public Member Functions | |
MummyCsharpGenerator () | |
virtual | ~MummyCsharpGenerator () |
virtual void | SetTargetClass (const cable::Class *c) |
Set the current target class. More... | |
virtual void | CacheExternalHints (const gxsys_stl::string &hintsfile) |
virtual void | AddTargetInterface (const gxsys_stl::string &iface) |
virtual bool | HasTargetInterface (const char *iface) const |
virtual bool | IsKeyword (const char *p) |
virtual bool | IsReservedMethodName (const gxsys_stl::string &name) |
virtual gxsys_stl::string | GetFundamentalTypeString (const cable::Type *t) |
virtual gxsys_stl::string | GetWrappedMethodName (const cable::Method *m) |
virtual gxsys_stl::string | GetMethodArgumentArraySize (const cable::Class *c, const cable::Method *m, const cable::FunctionType *ft, unsigned int i) |
virtual gxsys_stl::string | GetMethodSignature (const cable::Class *c, const cable::Method *m) |
virtual const char * | GetArgName (cable::FunctionType *ftype, unsigned int i) |
virtual bool | GetIsRefArg (const cable::Type *t) |
virtual gxsys_stl::string | GetPInvokeTypeString (const cable::Type *t, bool forReturn, bool isArray, bool forDelegate) |
virtual gxsys_stl::string | GetCSharpTypeString (const cable::Type *t, bool forReturn, bool isArray) |
virtual void | ClearLookupEntries () |
virtual void | AddLookupEntries (const cable::Class *c) |
virtual void | DumpLookupEntries () |
virtual bool | OtherMethodRedefined (const gxsys_stl::string &signature) |
virtual bool | StaticMethodRedefined (const gxsys_stl::string &signature) |
virtual bool | VirtualMethodOverridden (const gxsys_stl::string &signature) |
virtual bool | WrappedMethodExists (const gxsys_stl::string &signature) |
virtual bool | WrappedEnumExists (const gxsys_stl::string &name) |
virtual bool | FundamentalTypeIsWrappable (const cable::Type *t) |
virtual bool | TypeIsWrappable (const cable::Type *t) |
virtual bool | FunctionTypeIsWrappable (const cable::FunctionType *ft) |
virtual bool | MethodWrappableAsEvent (const cable::Method *m, const cable::Context::Access &access) |
virtual bool | MethodIsWrappable (const cable::Method *m, const cable::Context::Access &access) |
virtual bool | ClassIsWrappable (const cable::Class *c) |
virtual const cable::Class * | GetWrappableParentClass (const cable::Class *c) |
virtual bool | IsFactoryMethod (const cable::Class *c, const cable::Method *m) |
virtual bool | IsDisposalMethod (const cable::Class *c, const cable::Method *m) |
virtual bool | MethodReturnValueIsCounted (const cable::Class *c, const cable::Method *m) |
virtual gxsys_stl::string | GetExportLayerFunctionName (const cable::Class *c, const cable::Method *m, const gxsys_stl::string &mname) |
virtual void | EmitCSharpMethodDeclaration (gxsys_ios::ostream &os, const cable::Class *c, const cable::Method *m, bool asProperty, bool useArg0AsReturn, const gxsys_stl::string &accessLevel) |
virtual void | EmitCSharpDllImportDeclaration (gxsys_ios::ostream &os, const char *dllname, const cable::Class *c, const cable::Method *m, const gxsys_stl::string &mname, const char *f, bool emitExceptionParams) |
virtual void | EmitCSharpProperty (gxsys_ios::ostream &os, const char *dllname, const cable::Class *c, const cable::Method *propGetMethod, const cable::Method *propSetMethod, bool emitExceptionParams) |
virtual void | EmitCSharpMethodBody (gxsys_ios::ostream &os, unsigned int indent, const cable::Class *c, const cable::Method *m, gxsys_stl::string &f, const char *impliedArg0, bool emitExceptionParams) |
virtual void | EmitCSharpMethod (gxsys_ios::ostream &os, const char *dllname, const cable::Class *c, const cable::Method *m, const gxsys_stl::string &mname, const gxsys_stl::string &accessLevel, bool emitExceptionParams) |
virtual void | EmitCSharpEvent (gxsys_ios::ostream &os, const char *dllname, const cable::Class *c, const cable::Method *m, const gxsys_stl::string &eventName) |
virtual void | EmitCSharpEnums (gxsys_ios::ostream &os, const cable::Class *c) |
virtual void | EmitCSharpConstructor (gxsys_ios::ostream &os, const char *dllname, const cable::Class *c, const cable::Method *m, const gxsys_stl::string &mname, bool emitExceptionParams) |
virtual void | EmitCSharpRegister (gxsys_ios::ostream &os, const char *dllname, const cable::Class *c, const cable::Method *m, const gxsys_stl::string &mname, bool emitExceptionParams) |
virtual void | EmitCSharpDispose (gxsys_ios::ostream &os, const char *dllname, const cable::Class *c, const cable::Method *m, const gxsys_stl::string &mname, const unsigned int eventCount, bool emitExceptionParams) |
virtual void | EmitCSharpWrapperClassAsStruct (gxsys_ios::ostream &os, const cable::Class *c) |
virtual void | GatherWrappedMethods (const cable::Class *c, gxsys_stl::vector< cable::Method * > &wrapped_methods, cable::Method *&factoryM, cable::Method *&disposalM, cable::Method *®isterM, cable::Method *&unRegisterM, bool includeParentMethods) |
virtual bool | ValidateWrappedMethods (const cable::Class *c, gxsys_stl::vector< cable::Method * > &wrapped_methods, cable::Method *&factoryM, cable::Method *&disposalM, cable::Method *®isterM, cable::Method *&unRegisterM) |
virtual void | BuildPropGetsAndSetsMap (gxsys_stl::vector< cable::Method * > &wrapped_methods, gxsys_stl::map< gxsys_stl::string, gxsys_stl::pair< cable::Method *, cable::Method * > > &wrapped_properties) |
virtual void | EmitCSharpWrapperClass (gxsys_ios::ostream &os, const char *dllname, 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 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) |
Protected Member Functions | |
virtual bool | GenerateWrappers () |
Private Member Functions | |
MummyCsharpGenerator (const MummyCsharpGenerator &) | |
MummyCsharpGenerator & | operator= (const MummyCsharpGenerator &) |
Private Attributes | |
unsigned int | CurrentMethodId |
unsigned int | ClassLineNumber |
gxsys_stl::map< const cable::Method *, unsigned int > | MethodIdMap |
gxsys_stl::string | TargetInterface |
gxsys_stl::map< const gxsys_stl::string, gxsys_stl::string > | HintsMap |
Definition at line 18 of file MummyCsharpGenerator.h.
MummyCsharpGenerator::MummyCsharpGenerator | ( | ) |
Definition at line 49 of file MummyCsharpGenerator.cxx.
References ClassLineNumber, and CurrentMethodId.
|
virtual |
Definition at line 60 of file MummyCsharpGenerator.cxx.
|
private |
|
virtual |
Definition at line 1498 of file MummyCsharpGenerator.cxx.
References GetMethodSignature(), GetWrappableParentClass(), GetWrappedEnumName(), MethodIsWrappable(), OtherMethods, StaticMethods, VirtualMethods, and WrappedEnums.
Referenced by SetTargetClass().
|
virtual |
Definition at line 163 of file MummyCsharpGenerator.cxx.
References LogWarning, mw_MultipleTargetInterfaces, and TargetInterface.
Referenced by EmitCSharpWrapperClass().
|
virtual |
Definition at line 3935 of file MummyCsharpGenerator.cxx.
References ExtractDerivedName(), MummyGenerator::GetSettings(), MummySettings::GetVerbose(), GetWrappedMethodName(), HasAttribute(), LogError, LogFileLineWarningMsg, LogInfo, me_InternalError, mi_VerboseInfo, and mw_WriteOnlyProperty.
Referenced by MummyCsharpUnitTestGenerator::EmitClass(), and EmitCSharpWrapperClass().
|
virtual |
Definition at line 117 of file MummyCsharpGenerator.cxx.
References MummyLineOrientedTextFileReader::GetLine(), MummyLineOrientedTextFileReader::GetNumberOfLines(), HintsMap, LogFileLineWarningMsg, mw_MultipleHints, and MummyLineOrientedTextFileReader::SetFileName().
Referenced by SetTargetClass().
|
virtual |
Reimplemented from MummyGenerator.
Definition at line 1051 of file MummyCsharpGenerator.cxx.
References MummyGenerator::ClassIsWrappable().
Referenced by GetWrappableParentClass(), and TypeIsWrappable().
|
virtual |
Definition at line 1476 of file MummyCsharpGenerator.cxx.
References OtherMethods, StaticMethods, VirtualMethods, WrappedEnums, and WrappedMethods.
Referenced by SetTargetClass().
|
virtual |
Definition at line 1544 of file MummyCsharpGenerator.cxx.
References LogInfo, mi_Info, OtherMethods, StaticMethods, VirtualMethods, WrappedEnums, and WrappedMethods.
Referenced by EmitCSharpWrapperClass().
|
virtual |
Definition at line 3177 of file MummyCsharpGenerator.cxx.
References ClassLineNumber, Emit(), EmitCSharpDllImportDeclaration(), EmitCSharpMethod(), EmitDocumentationBlock(), EmitIndent(), EmitThrowClonedException(), MummyLineOrientedTextFileReader::GetCommentBlockBefore(), GetExportLayerFunctionName(), MummyGenerator::GetHeaderFileReader(), MummyGenerator::GetSettings(), and MummySettings::GetUseShadow().
Referenced by EmitCSharpWrapperClass().
|
virtual |
Definition at line 3342 of file MummyCsharpGenerator.cxx.
References ClassLineNumber, Emit(), EmitCSharpDllImportDeclaration(), EmitDocumentationBlock(), EmitIndent(), EmitThrowClonedException(), MummyLineOrientedTextFileReader::GetCommentBlockBefore(), GetExportLayerFunctionName(), MummyGenerator::GetHeaderFileReader(), IsObjectPointer(), and IsVoidPointer().
Referenced by EmitCSharpWrapperClass().
|
virtual |
Definition at line 1919 of file MummyCsharpGenerator.cxx.
References Emit(), EmitIndent(), GetArgName(), GetMethodArgumentArraySize(), GetPInvokeTypeString(), HasMapToType(), IsObjectPointer(), and RETURN_VALUE.
Referenced by EmitCSharpConstructor(), EmitCSharpDispose(), EmitCSharpMethod(), and EmitCSharpProperty().
|
virtual |
Definition at line 3120 of file MummyCsharpGenerator.cxx.
References ClassLineNumber, Emit(), EmitDocumentationBlock(), EmitIndent(), EmitInt(), MummyLineOrientedTextFileReader::GetCommentBlockBefore(), MummyGenerator::GetHeaderFileReader(), GetWrappedEnumName(), LogVerboseInfo, and WrappedEnumExists().
Referenced by EmitCSharpWrapperClass(), and EmitCSharpWrapperClassAsStruct().
|
virtual |
Definition at line 2100 of file MummyCsharpGenerator.cxx.
References ClassLineNumber, Emit(), EmitDocumentationBlock(), EmitIndent(), MummyLineOrientedTextFileReader::GetCommentBlockBefore(), MummyGenerator::GetHeaderFileReader(), MummySettings::GetRegisterMethod(), MummyGenerator::GetSettings(), MummySettings::GetUnRegisterMethod(), GetWrappedClassNameFullyQualified(), LogFileLineErrorMsg, and me_EventMethodIncorrectReturnType.
Referenced by EmitCSharpWrapperClass().
|
virtual |
Definition at line 3083 of file MummyCsharpGenerator.cxx.
References ClassLineNumber, Emit(), EmitCSharpDllImportDeclaration(), EmitCSharpMethodBody(), EmitCSharpMethodDeclaration(), EmitDocumentationBlock(), EmitIndent(), MummyLineOrientedTextFileReader::GetCommentBlockBefore(), GetExportLayerFunctionName(), and MummyGenerator::GetHeaderFileReader().
Referenced by EmitCSharpConstructor(), EmitCSharpRegister(), and EmitCSharpWrapperClass().
|
virtual |
Definition at line 2678 of file MummyCsharpGenerator.cxx.
References Emit(), EmitIndent(), EmitThrowClonedException(), GetArgName(), GetCSharpTypeString(), GetIsRefArg(), GetMethodArgumentArraySize(), GetPInvokeTypeString(), MummySettings::GetRegisterMethod(), MummyGenerator::GetSettings(), MummySettings::GetUnRegisterMethod(), IsCharPointer(), IsCxxMainStyleParamPair(), IsObjectPointer(), IsObjectPointerReference(), IsUtilityClass(), IsVoid(), LogInfo, MethodReturnValueIsCounted(), mi_InfoRefArgEncountered, and RETURN_VALUE.
Referenced by EmitCSharpMethod(), and EmitCSharpProperty().
|
virtual |
Definition at line 1734 of file MummyCsharpGenerator.cxx.
References Emit(), ExtractDerivedName(), GetArgName(), GetCSharpTypeString(), GetMethodArgumentArraySize(), GetMethodSignature(), MummyGenerator::GetSettings(), MummySettings::GetVerbose(), GetWrappedMethodName(), HasTargetInterface(), IsCxxMainStyleParamPair(), IsVoid(), LogFileLineWarningMsg, mw_PropSetReturnsNonVoid, mw_PropSetUnexpectedArgCount, OtherMethodRedefined(), RETURN_VALUE, StaticMethodRedefined(), and VirtualMethodOverridden().
Referenced by EmitCSharpMethod(), and EmitCSharpProperty().
|
virtual |
Definition at line 2551 of file MummyCsharpGenerator.cxx.
References ClassLineNumber, Emit(), EmitCSharpDllImportDeclaration(), EmitCSharpMethodBody(), EmitCSharpMethodDeclaration(), EmitDocumentationBlock(), EmitIndent(), MummyLineOrientedTextFileReader::GetCommentBlockBefore(), GetExportLayerFunctionName(), MummyGenerator::GetHeaderFileReader(), LogError, and me_InternalError.
Referenced by EmitCSharpWrapperClass().
|
virtual |
Definition at line 3335 of file MummyCsharpGenerator.cxx.
References EmitCSharpMethod().
Referenced by EmitCSharpWrapperClass().
|
virtual |
Definition at line 4061 of file MummyCsharpGenerator.cxx.
References AddTargetInterface(), BuildPropGetsAndSetsMap(), ClassLineNumber, DumpLookupEntries(), Emit(), EmitCSharpConstructor(), EmitCSharpDispose(), EmitCSharpEnums(), EmitCSharpEvent(), EmitCSharpMethod(), EmitCSharpProperty(), EmitCSharpRegister(), EmitCSharpWrapperClassAsStruct(), EmitDocumentationBlock(), EmitFile(), EmitIndent(), MummyGenerator::EmitMummyVersionComments(), ClassWrappingSettings::exceptionBaseClass, ExtractArraySize(), ExtractImplementsInterface(), ExtractMapToType(), FindNonAbstractPublicDefaultConstructor(), GatherWrappedMethods(), GetArgName(), MummyLineOrientedTextFileReader::GetCommentBlockBefore(), MummySettings::GetDisposalMethod(), GetEventName(), MummySettings::GetExtraCsharpCode(), MummySettings::GetFactoryMethod(), MummyLineOrientedTextFileReader::GetFirstCommentBlock(), GetFullyQualifiedCPlusPlusTypeIdName(), GetFullyQualifiedNameForCPlusPlus(), GetFullyQualifiedNameForCSharp(), MummyGenerator::GetHeaderFileReader(), GetPInvokeTypeString(), GetQualifiedEventName(), MummySettings::GetReferences(), MummyGenerator::GetSettings(), MummySettings::GetUnRegisterMethod(), MummySettings::GetVerbose(), GetWrappableParentClass(), GetWrappedClassName(), GetWrappedClassNameFullyQualified(), IsUtilityClass(), LogError, LogFileLineErrorMsg, LogFileLineWarningMsg, LogInfo, LogWarning, me_InternalError, me_NoClassWrappingSettings, me_NoVirtualMethodsAllowed, MethodWrappableAsEvent(), mi_VerboseInfo, mw_DuplicateGeneratedName, mw_InternalWarning, ClassWrappingSettings::partialClass, ValidateWrappedMethods(), and ClassWrappingSettings::wrappedObjectBase.
Referenced by GenerateWrappers().
|
virtual |
Definition at line 3505 of file MummyCsharpGenerator.cxx.
References ClassLineNumber, Emit(), EmitCSharpEnums(), EmitDocumentationBlock(), EmitIndent(), ExtractDerivedName(), MummyLineOrientedTextFileReader::GetCommentBlockBefore(), GetCSharpTypeString(), MummyGenerator::GetHeaderFileReader(), MummySettings::GetPartialClass(), MummyGenerator::GetSettings(), MummySettings::GetVerbose(), GetWrappedClassName(), and HasAttribute().
Referenced by EmitCSharpWrapperClass().
|
virtual |
Reimplemented from MummyGenerator.
Definition at line 888 of file MummyCsharpGenerator.cxx.
References IsCxxMainStyleParamPair(), and TypeIsWrappable().
Referenced by MethodIsWrappable(), and TypeIsWrappable().
|
virtual |
Reimplemented from MummyGenerator.
Definition at line 715 of file MummyCsharpGenerator.cxx.
Referenced by TypeIsWrappable().
|
virtual |
Definition at line 3666 of file MummyCsharpGenerator.cxx.
References CurrentMethodId, GetAccessString(), GetMethodSignature(), MummyGenerator::GetSettings(), MummyGenerator::GetTargetClass(), GetWrappableParentClass(), LogInfo, LogVerboseInfo, MethodIdMap, MethodIsWrappable(), mi_VerboseInfo, WrappedMethodExists(), and WrappedMethods.
Referenced by MummyCsharpUnitTestGenerator::EmitClass(), MummyCsharpExportLayerGenerator::EmitClassForExportLayer(), MummyCsharpShadowLayerGenerator::EmitClassForShadowLayer(), and EmitCSharpWrapperClass().
|
protectedvirtual |
Definition at line 66 of file MummyCsharpGenerator.cxx.
References EmitCSharpWrapperClass(), MummyGenerator::GetSettings(), MummyGenerator::GetTargetClass(), MummySettings::GetVerbose(), HintsMap, LogInfo, and mi_VerboseInfo.
|
virtual |
Definition at line 698 of file MummyCsharpGenerator.cxx.
References IsKeyword().
Referenced by EmitCSharpDllImportDeclaration(), EmitCSharpMethodBody(), EmitCSharpMethodDeclaration(), EmitCSharpWrapperClass(), MummyCsharpShadowLayerGenerator::GetArgName(), MummyCsharpUnitTestGenerator::GetArgName(), and MummyCsharpExportLayerGenerator::GetArgName().
|
virtual |
Definition at line 1300 of file MummyCsharpGenerator.cxx.
References EquivalentTypedefNameExists(), GetEnumerationTypeString(), GetFundamentalTypeString(), MummyGenerator::GetTargetClass(), GetWrappedClassNameFullyQualified(), IsChar(), IsCharPointer(), IsObject(), IsVoid(), LogError, and me_InternalError.
Referenced by EmitCSharpMethodBody(), EmitCSharpMethodDeclaration(), EmitCSharpWrapperClassAsStruct(), and GetMethodSignature().
|
virtual |
Definition at line 1690 of file MummyCsharpGenerator.cxx.
References GetFullyQualifiedName(), IsDisposalMethod(), IsFactoryMethod(), LogError, me_InternalError, and MethodIdMap.
Referenced by EmitCSharpConstructor(), EmitCSharpDispose(), EmitCSharpMethod(), EmitCSharpProperty(), and MummyCsharpExportLayerGenerator::GetExportLayerFunctionName().
|
virtual |
Definition at line 301 of file MummyCsharpGenerator.cxx.
References LogError, and me_UnknownFundamentalType.
Referenced by GetCSharpTypeString(), and GetPInvokeTypeString().
|
virtual |
Definition at line 1081 of file MummyCsharpGenerator.cxx.
Referenced by EmitCSharpMethodBody().
|
virtual |
Definition at line 539 of file MummyCsharpGenerator.cxx.
References ExtractArraySize(), ExtractCountFromMethodDeclarationLine(), ExtractTypeAndCountFromHintLine(), GetFullyQualifiedNameForCPlusPlus(), MummyGenerator::GetHeaderFileReader(), GetParentClass(), MummyGenerator::GetSettings(), HintsMap, IsObjectPointer(), IsVoid(), LogFileLineInfoMsg, LogVerboseInfo, mi_VerboseInfo, RETURN_VALUE, and ReturnTypeMatchesHintType().
Referenced by EmitCSharpDllImportDeclaration(), EmitCSharpMethodBody(), EmitCSharpMethodDeclaration(), and GetMethodSignature().
|
virtual |
Definition at line 651 of file MummyCsharpGenerator.cxx.
References Emit(), GetCSharpTypeString(), GetMethodArgumentArraySize(), and GetWrappedMethodName().
Referenced by AddLookupEntries(), EmitCSharpMethodDeclaration(), and GatherWrappedMethods().
|
virtual |
Definition at line 1126 of file MummyCsharpGenerator.cxx.
References EquivalentTypedefNameExists(), GetEnumerationTypeString(), GetFundamentalTypeString(), MummyGenerator::GetTargetClass(), GetWrappedClassNameFullyQualified(), IsChar(), IsCharPointer(), IsObject(), IsUtilityClass(), IsVoid(), LogError, and me_InternalError.
Referenced by EmitCSharpDllImportDeclaration(), EmitCSharpMethodBody(), and EmitCSharpWrapperClass().
|
virtual |
Definition at line 1058 of file MummyCsharpGenerator.cxx.
References ClassIsWrappable(), and GetParentClass().
Referenced by AddLookupEntries(), EmitCSharpWrapperClass(), GatherWrappedMethods(), and SetTargetClass().
|
virtual |
Definition at line 383 of file MummyCsharpGenerator.cxx.
References IsReservedMethodName(), LogFileLineWarningMsg, and mw_ReservedMethodName.
Referenced by BuildPropGetsAndSetsMap(), EmitCSharpMethodDeclaration(), and GetMethodSignature().
|
virtual |
Definition at line 179 of file MummyCsharpGenerator.cxx.
References TargetInterface.
Referenced by EmitCSharpMethodDeclaration().
|
virtual |
Definition at line 1643 of file MummyCsharpGenerator.cxx.
References MummySettings::GetDisposalMethod(), and MummyGenerator::GetSettings().
Referenced by GetExportLayerFunctionName().
|
virtual |
Definition at line 1629 of file MummyCsharpGenerator.cxx.
References MummySettings::GetFactoryMethod(), and MummyGenerator::GetSettings().
Referenced by GetExportLayerFunctionName(), and MethodReturnValueIsCounted().
|
virtual |
Definition at line 191 of file MummyCsharpGenerator.cxx.
Referenced by GetArgName().
|
virtual |
Definition at line 287 of file MummyCsharpGenerator.cxx.
Referenced by GetWrappedMethodName().
|
virtual |
Reimplemented from MummyGenerator.
Definition at line 940 of file MummyCsharpGenerator.cxx.
References FunctionTypeIsWrappable(), MummyGenerator::GetHeaderFileReader(), MummyGenerator::GetSettings(), MummyGenerator::GetTargetClass(), MummySettings::GetVerbose(), HasAttribute(), MummyLineOrientedTextFileReader::IsLineExcluded(), LogInfo, LogWarning, mi_VerboseInfo, and mw_CouldNotWrap.
Referenced by AddLookupEntries(), and GatherWrappedMethods().
|
virtual |
Definition at line 1657 of file MummyCsharpGenerator.cxx.
References MummyGenerator::GetSettings(), HasAttribute(), IsFactoryMethod(), and LogVerboseInfo.
Referenced by EmitCSharpMethodBody().
|
virtual |
Definition at line 919 of file MummyCsharpGenerator.cxx.
References HasAttribute().
Referenced by EmitCSharpWrapperClass().
|
private |
|
virtual |
Definition at line 1584 of file MummyCsharpGenerator.cxx.
References OtherMethods.
Referenced by EmitCSharpMethodDeclaration().
|
virtual |
Set the current target class.
c | Class object |
Reimplemented from MummyGenerator.
Definition at line 88 of file MummyCsharpGenerator.cxx.
References AddLookupEntries(), CacheExternalHints(), ClearLookupEntries(), MummyGenerator::GetHeaderFileReader(), MummyGenerator::GetSettings(), GetWrappableParentClass(), and MummyGenerator::SetTargetClass().
Referenced by MummyApplication::ProcessClass().
|
virtual |
Definition at line 1593 of file MummyCsharpGenerator.cxx.
References StaticMethods.
Referenced by EmitCSharpMethodDeclaration().
|
virtual |
Reimplemented from MummyGenerator.
Definition at line 755 of file MummyCsharpGenerator.cxx.
References ClassIsWrappable(), EquivalentTypedefNameExists(), FunctionTypeIsWrappable(), FundamentalTypeIsWrappable(), and MummyGenerator::GetTargetClass().
Referenced by FunctionTypeIsWrappable().
|
virtual |
Definition at line 3799 of file MummyCsharpGenerator.cxx.
References HasAttribute(), IsVoid(), LogFileLineWarningMsg, mw_DefaultArgumentValuesIgnored, mw_MissingPropGetHint, mw_MissingPropSetHint, mw_PropGetHasArgs, mw_PropGetNotConst, mw_PropGetReturnsVoid, mw_PropSetUnexpectedArgCount, mw_SeriousMissingPropGetHint, and mw_SeriousMissingPropSetHint.
Referenced by EmitCSharpWrapperClass().
|
virtual |
Definition at line 1602 of file MummyCsharpGenerator.cxx.
References VirtualMethods.
Referenced by EmitCSharpMethodDeclaration().
|
virtual |
Definition at line 1620 of file MummyCsharpGenerator.cxx.
References WrappedEnums.
Referenced by EmitCSharpEnums().
|
virtual |
Definition at line 1611 of file MummyCsharpGenerator.cxx.
References WrappedMethods.
Referenced by GatherWrappedMethods().
|
private |
Definition at line 101 of file MummyCsharpGenerator.h.
Referenced by EmitCSharpConstructor(), EmitCSharpDispose(), EmitCSharpEnums(), EmitCSharpEvent(), EmitCSharpMethod(), EmitCSharpProperty(), EmitCSharpWrapperClass(), EmitCSharpWrapperClassAsStruct(), and MummyCsharpGenerator().
|
private |
Definition at line 100 of file MummyCsharpGenerator.h.
Referenced by GatherWrappedMethods(), and MummyCsharpGenerator().
|
private |
Definition at line 104 of file MummyCsharpGenerator.h.
Referenced by CacheExternalHints(), GenerateWrappers(), and GetMethodArgumentArraySize().
|
private |
Definition at line 102 of file MummyCsharpGenerator.h.
Referenced by GatherWrappedMethods(), and GetExportLayerFunctionName().
|
private |
Definition at line 103 of file MummyCsharpGenerator.h.
Referenced by AddTargetInterface(), and HasTargetInterface().