mummy  1.0.3
MummyCsharpShadowLayerGenerator.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 // MummyCsharpShadowLayerGenerator.h
3 //
4 // Author(s) : David Cole
5 //
6 // Copyright (C) 2006-2007 Kitware, Inc.
7 //----------------------------------------------------------------------------
8 
9 #include "MummyGenerator.h" // parent class
10 
11 #include "gxsys/stl/string"
12 #include "gxsys/stl/vector"
13 
15 
17 {
18 public:
21 
22  virtual bool GenerateWrappers();
23 
25  virtual void SetCsharpGenerator(MummyCsharpGenerator* generator);
26 
27  virtual const char *GetArgName(cable::FunctionType *ftype, unsigned int i);
28 
29  virtual void EmitClassMethodDeclarationForShadowLayer(gxsys_ios::ostream &os, const cable::Class *c, const cable::Method *m, const unsigned int index, int indent, const char* implClassName);
30  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);
31  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);
32  virtual void EmitClassForShadowLayer(gxsys_ios::ostream &os, const cable::Class *c);
33 
34 private:
36 
39 };
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 EmitClassMethodDeclarationForShadowLayer(gxsys_ios::ostream &os, const cable::Class *c, const cable::Method *m, const unsigned int index, int indent, const char *implClassName)
virtual const char * GetArgName(cable::FunctionType *ftype, unsigned int i)
virtual void SetCsharpGenerator(MummyCsharpGenerator *generator)
MummyCsharpShadowLayerGenerator & operator=(const MummyCsharpShadowLayerGenerator &)
virtual MummyCsharpGenerator * GetCsharpGenerator()
Base class for all Mummy generators.
virtual void EmitClassForShadowLayer(gxsys_ios::ostream &os, const cable::Class *c)
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)