Version: 8.3.0
Solution Class Reference

#include <solution.hxx>

Collaboration diagram for Solution:

Public Member Functions

 Solution (std::vector< double > &, std::vector< double > &)
 
 ~Solution (void)
 
void echo (void)
 

Public Attributes

std::vector< double > * param
 
std::vector< double > * obj
 

Detailed Description

Definition at line 25 of file solution.hxx.

Constructor & Destructor Documentation

Solution::Solution ( std::vector< double > &  par,
std::vector< double > &  crt 
)

Definition at line 24 of file solution.cxx.

References obj, and param.

25 {
26  param = &par;
27  obj = &crt;
28 }
Solution::~Solution ( void  )

Definition at line 30 of file solution.cxx.

References obj, and param.

31 {
32  delete param;
33  delete obj;
34 }

Member Function Documentation

void Solution::echo ( void  )

Definition at line 36 of file solution.cxx.

References CORBAEngineTest::i, obj, and param.

37 {
38  int i;
39 
40  for (i=0; i<param->size(); i++)
41  std::cout << (*param)[i] << " ";
42  std::cout << std::endl << "->" ;
43  for (i=0; i<obj->size(); i++)
44  std::cout << " " << (*obj)[i];
45  std::cout << std::endl;
46 }

Member Data Documentation

std::vector<double>* Solution::param

Definition at line 27 of file solution.hxx.

Referenced by echo(), Decoder::echo(), Point::next(), Solution(), and ~Solution().


The documentation for this class was generated from the following files: