/[ascend]/trunk/pygtk/ascpy.i
ViewVC logotype

Diff of /trunk/pygtk/ascpy.i

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 931 by johnpye, Wed Oct 25 13:07:12 2006 UTC revision 932 by johnpye, Thu Nov 23 13:23:33 2006 UTC
# Line 280  public: Line 280  public:
280      const struct tm *getMtime() const;      const struct tm *getMtime() const;
281  };  };
282    
283  class Method{  %include "method.h"
284  public:  
285      const char *getName() const;  %ignore Method::getInternalType;
286  };  %ignore Method::getSym;
287    
288  // Renamed in python as 'Name'  // Renamed in python as 'Name'
289  class Nam{  class Nam{
# Line 296  public: Line 296  public:
296  /* we can always disown Compiler * as it's a singleton */  /* we can always disown Compiler * as it's a singleton */
297  %apply SWIGTYPE *DISOWN { Compiler * };  %apply SWIGTYPE *DISOWN { Compiler * };
298    
299  class Type{  %include "type.h"
300  public:  
     const SymChar getName();  
     const int getParameterCount();  
     Simulation getSimulation(const char *name);  
     std::vector<Method> getMethods();  
     const bool isRefinedSolverVar() const;  
     const bool isRefinedReal() const;  
     const Dimensions getDimensions() const;  
     const bool hasParameters() const;  
 };  
301  %extend Type{  %extend Type{
302      const char *__repr__(){      const char *__repr__(){
303          return self->getName().toString();          return self->getName().toString();

Legend:
Removed from v.931  
changed lines
  Added in v.932

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22