mummy  1.0.3
MummyApplication.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 // MummyApplication.h
3 //
4 // Author(s) : David Cole
5 //
6 // Copyright (C) 2006-2007 Kitware, Inc.
7 //----------------------------------------------------------------------------
8 
9 #include "MummyUtilities.h" // first mummy include for root classes
10 
11 namespace cable
12 {
13  class Class;
14  class SourceRepresentation;
15 }
16 
17 class MummySettings;
18 
19 //----------------------------------------------------------------------------
24 {
25 public:
27  virtual ~MummyApplication();
28 
29 
30  //--------------------------------------------------------------------------
40  virtual int Main(int argc, char *argv[]);
41 
42 
43  //--------------------------------------------------------------------------
48  virtual MummySettings* GetSettings();
49 
50 
51  //--------------------------------------------------------------------------
56  virtual void SetSettings(MummySettings* settings);
57 
58 
59  //--------------------------------------------------------------------------
65  virtual cable::SourceRepresentation* BuildSourceRepresentation();
66 
67 
68  //--------------------------------------------------------------------------
75  virtual int ProcessSource(cable::SourceRepresentation* sr);
76 
77 
78  //--------------------------------------------------------------------------
86  virtual int ProcessClass(cable::SourceRepresentation* sr, const cable::Class* c);
87 
88 private:
90 };
virtual void SetSettings(MummySettings *settings)
Set the associated settings object.
Mummy's main entry point object.
virtual int ProcessSource(cable::SourceRepresentation *sr)
Processes the source representation to initialize some settings and determine what class to wrap...
virtual cable::SourceRepresentation * BuildSourceRepresentation()
Builds an object model "source representation" from the input file produced by gccxml.
virtual ~MummyApplication()
MummySettings * Settings
virtual int Main(int argc, char *argv[])
"Command line style" entry point. Run "mummy --help" from a command prompt to see command line option...
virtual MummySettings * GetSettings()
Get the associated settings object.
virtual int ProcessClass(cable::SourceRepresentation *sr, const cable::Class *c)
Processes the class to wrap and generates appropriate output files based on the generators used...