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

Diff of /trunk/pygtk/interface/ascend.i

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

revision 253 by johnpye, Mon Jan 30 06:41:10 2006 UTC revision 254 by johnpye, Thu Feb 2 06:27:17 2006 UTC
# Line 433  public: Line 433  public:
433    
434  %include "solver.i"  %include "solver.i"
435    
 class Variable{  
 public:  
     explicit Variable(const Variable &old);  
     const std::string &getName();  
 };  
   
 %extend Variable {  
     %pythoncode{  
         def __repr__(self):  
             return self.getName()  
     }  
 }  
   
 class Relation{  
 public:  
     explicit Relation(const Relation &old);  
     const std::string &getName();  
 };  
   
 %extend Relation {  
     %pythoncode{  
         def __repr__(self):  
             return self.getName()  
     }  
 }  
   
   
436  class ExtMethod{  class ExtMethod{
437  public:  public:
438      ExtMethod(const ExtMethod &);      ExtMethod(const ExtMethod &);

Legend:
Removed from v.253  
changed lines
  Added in v.254

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