mummy  1.0.3
Public Member Functions | Private Member Functions | Private Attributes | List of all members
MummyCsharpShadowLayerGenerator Class Reference

#include <MummyCsharpShadowLayerGenerator.h>

Inheritance diagram for MummyCsharpShadowLayerGenerator:
[legend]
Collaboration diagram for MummyCsharpShadowLayerGenerator:
[legend]

Public Member Functions

 MummyCsharpShadowLayerGenerator ()
 
virtual ~MummyCsharpShadowLayerGenerator ()
 
virtual bool GenerateWrappers ()
 
virtual MummyCsharpGeneratorGetCsharpGenerator ()
 
virtual void SetCsharpGenerator (MummyCsharpGenerator *generator)
 
virtual const char * GetArgName (cable::FunctionType *ftype, unsigned int i)
 
virtual void EmitClassMethodDeclarationForShadowLayer (gxsys_ios::ostream &os, const cable::Class *c, const cable::Method *m, const unsigned int index, int indent, const char *implClassName)
 
virtual void EmitClassDeclarationForShadowLayer (gxsys_ios::ostream &os, const cable::Class *c, const gxsys_stl::vector< cable::Method * > &wrapped_methods, cable::Method *factoryM, cable::Method *disposalM, cable::Method *registerM, cable::Method *unRegisterM)
 
virtual void EmitClassImplementationForShadowLayer (gxsys_ios::ostream &os, const cable::Class *c, const gxsys_stl::vector< cable::Method * > &wrapped_methods, cable::Method *factoryM, cable::Method *disposalM, cable::Method *registerM, cable::Method *unRegisterM)
 
virtual void EmitClassForShadowLayer (gxsys_ios::ostream &os, const cable::Class *c)
 
- Public Member Functions inherited from MummyGenerator
 MummyGenerator ()
 
virtual ~MummyGenerator ()
 
virtual MummySettingsGetSettings ()
 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 MummyLineOrientedTextFileReaderGetHeaderFileReader (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

 MummyCsharpShadowLayerGenerator (const MummyCsharpShadowLayerGenerator &)
 
MummyCsharpShadowLayerGeneratoroperator= (const MummyCsharpShadowLayerGenerator &)
 

Private Attributes

MummyCsharpGeneratorCsharpGenerator
 

Detailed Description

Definition at line 16 of file MummyCsharpShadowLayerGenerator.h.

Constructor & Destructor Documentation

MummyCsharpShadowLayerGenerator::MummyCsharpShadowLayerGenerator ( )

Definition at line 30 of file MummyCsharpShadowLayerGenerator.cxx.

References CsharpGenerator.

MummyCsharpShadowLayerGenerator::~MummyCsharpShadowLayerGenerator ( )
virtual

Definition at line 37 of file MummyCsharpShadowLayerGenerator.cxx.

MummyCsharpShadowLayerGenerator::MummyCsharpShadowLayerGenerator ( const MummyCsharpShadowLayerGenerator )
private

Member Function Documentation

void MummyCsharpShadowLayerGenerator::EmitClassDeclarationForShadowLayer ( gxsys_ios::ostream &  os,
const cable::Class *  c,
const gxsys_stl::vector< cable::Method * > &  wrapped_methods,
cable::Method *  factoryM,
cable::Method *  disposalM,
cable::Method *  registerM,
cable::Method *  unRegisterM 
)
virtual

Definition at line 161 of file MummyCsharpShadowLayerGenerator.cxx.

References ClassIsA(), Emit(), EmitClassMethodDeclarationForShadowLayer(), EmitIndent(), EmitUint(), GetPrimaryDelegateCxxType(), GetSecondaryDelegateCxxType(), and GetShadowClassName().

Referenced by EmitClassForShadowLayer().

Here is the call graph for this function:

void MummyCsharpShadowLayerGenerator::EmitClassForShadowLayer ( gxsys_ios::ostream &  os,
const cable::Class *  c 
)
virtual

Definition at line 1160 of file MummyCsharpShadowLayerGenerator.cxx.

References EmitClassDeclarationForShadowLayer(), EmitClassImplementationForShadowLayer(), MummyCsharpGenerator::GatherWrappedMethods(), and GetCsharpGenerator().

Referenced by GenerateWrappers().

Here is the call graph for this function:

void MummyCsharpShadowLayerGenerator::EmitClassImplementationForShadowLayer ( gxsys_ios::ostream &  os,
const cable::Class *  c,
const gxsys_stl::vector< cable::Method * > &  wrapped_methods,
cable::Method *  factoryM,
cable::Method *  disposalM,
cable::Method *  registerM,
cable::Method *  unRegisterM 
)
virtual

Definition at line 561 of file MummyCsharpShadowLayerGenerator.cxx.

References ClassIsA(), Emit(), EmitClassMethodDeclarationForShadowLayer(), EmitIndent(), EmitUint(), GetArgName(), GetPrimaryDelegateCxxType(), GetShadowClassName(), GetVariantTypeCastingString(), GetVariantTypeString(), IsVoid(), LogError, and me_PureVirtualMethodNotAllowed.

Referenced by EmitClassForShadowLayer().

Here is the call graph for this function:

void MummyCsharpShadowLayerGenerator::EmitClassMethodDeclarationForShadowLayer ( gxsys_ios::ostream &  os,
const cable::Class *  c,
const cable::Method *  m,
const unsigned int  index,
int  indent,
const char *  implClassName 
)
virtual

Definition at line 95 of file MummyCsharpShadowLayerGenerator.cxx.

References Emit(), EmitIndent(), and GetArgName().

Referenced by EmitClassDeclarationForShadowLayer(), and EmitClassImplementationForShadowLayer().

Here is the call graph for this function:

bool MummyCsharpShadowLayerGenerator::GenerateWrappers ( )
virtual

Definition at line 43 of file MummyCsharpShadowLayerGenerator.cxx.

References EmitClassForShadowLayer(), and MummyGenerator::GetTargetClass().

Here is the call graph for this function:

const char * MummyCsharpShadowLayerGenerator::GetArgName ( cable::FunctionType *  ftype,
unsigned int  i 
)
virtual

Definition at line 65 of file MummyCsharpShadowLayerGenerator.cxx.

References MummyCsharpGenerator::GetArgName(), and GetCsharpGenerator().

Referenced by EmitClassImplementationForShadowLayer(), and EmitClassMethodDeclarationForShadowLayer().

Here is the call graph for this function:

MummyCsharpGenerator * MummyCsharpShadowLayerGenerator::GetCsharpGenerator ( )
virtual

Definition at line 51 of file MummyCsharpShadowLayerGenerator.cxx.

References CsharpGenerator.

Referenced by EmitClassForShadowLayer(), and GetArgName().

MummyCsharpShadowLayerGenerator& MummyCsharpShadowLayerGenerator::operator= ( const MummyCsharpShadowLayerGenerator )
private
void MummyCsharpShadowLayerGenerator::SetCsharpGenerator ( MummyCsharpGenerator generator)
virtual

Definition at line 58 of file MummyCsharpShadowLayerGenerator.cxx.

References CsharpGenerator.

Referenced by MummyApplication::ProcessClass().

Member Data Documentation

MummyCsharpGenerator* MummyCsharpShadowLayerGenerator::CsharpGenerator
private

The documentation for this class was generated from the following files: