/[ascend]/trunk/ascxx/solverparameteriterator.h
ViewVC logotype

Contents of /trunk/ascxx/solverparameteriterator.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2327 - (show annotations) (download) (as text)
Wed Dec 22 07:17:24 2010 UTC (8 years, 11 months ago) by jpye
File MIME type: text/x-chdr
File size: 641 byte(s)
Merging in refactor of the C++ code, which is moved out of 'pygtk' and into 'ascxx'.
Adding support for IPOPT 3.9.1, the current latest version.
Support in dtar for parallel builds (possibly needs some testing still).
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