/[ascend]/trunk/pygtk/interface/solverparameteriterator.h
ViewVC logotype

Contents of /trunk/pygtk/interface/solverparameteriterator.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 221 - (show annotations) (download) (as text)
Fri Jan 27 03:05:38 2006 UTC (15 years, 10 months ago) by johnpye
File MIME type: text/x-chdr
File size: 641 byte(s)
Added ability to examine solver parameters via python
1 #ifndef ASCXX_SOLVERPARAMETERITERATOR_H
2 #define ASCXX_SOLVERPARAMETERITERATOR_H
3
4 #include "solverparameters.h"
5
6 #include <iostream>
7
8 class SolverParameterIterator{
9 private:
10 slv_parameter *p;
11 protected:
12 friend class SolverParameters;
13 explicit SolverParameterIterator(slv_parameter *p);
14 public:
15 explicit SolverParameterIterator();
16
17 void operator++();
18 void operator=(const SolverParameterIterator &);
19
20 const bool operator<(const SolverParameterIterator &) const;
21 SolverParameter operator*() const;
22
23 friend std::ostream &operator<<( std::ostream &outs, const SolverParameterIterator &I);
24 };
25
26
27 #endif // ASCXX_SOLVERPARAMETERITERATOR_H

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