/[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 270 by johnpye, Sat Feb 4 06:09:57 2006 UTC revision 271 by johnpye, Sat Feb 4 09:08:54 2006 UTC
# Line 8  Line 8 
8  %include <python/std_string.i>  %include <python/std_string.i>
9  %include <python/std_vector.i>  %include <python/std_vector.i>
10  %include <python/std_except.i>  %include <python/std_except.i>
11    %include <python/std_set.i>
12    
13  %{  %{
14  #include "library.h"  #include "library.h"
# Line 96  public: Line 97  public:
97  %template(DoubleVector) std::vector<double>;  %template(DoubleVector) std::vector<double>;
98  %template(CurveVector) std::vector<Curve>;  %template(CurveVector) std::vector<Curve>;
99  %template(StringVector) std::vector<std::string>;  %template(StringVector) std::vector<std::string>;
100    %template(InstancSet) std::set<Instanc,InstancCompare>;
101    
102  %rename(Instance) Instanc;  %rename(Instance) Instanc;
103  %rename(Name) Nam;#include "incidencematrix.h"  %rename(Name) Nam;#include "incidencematrix.h"
# Line 384  public: Line 386  public:
386      const double getLowerBound() const;      const double getLowerBound() const;
387      const double  getUpperBound() const;      const double  getUpperBound() const;
388      const double  getNominal() const;      const double  getNominal() const;
389    
390        const std::set<Instanc,InstancCompare> getClique() const;
391  };  };
392    
393  %extend Instanc{  %extend Instanc{

Legend:
Removed from v.270  
changed lines
  Added in v.271

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