Version: 9.16.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::Solution ( std::vector< double > &  par,
std::vector< double > &  crt 
)

Definition at line 24 of file solution.cxx.

25{
26 param = &par;
27 obj = &crt;
28}
std::vector< double > * obj
Definition: solution.hxx:27
std::vector< double > * param
Definition: solution.hxx:27

References obj, and param.

◆ ~Solution()

Solution::~Solution ( void  )

Definition at line 30 of file solution.cxx.

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

References obj, and param.

Member Function Documentation

◆ echo()

void Solution::echo ( void  )

Definition at line 36 of file solution.cxx.

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}

References yacsorb.CORBAEngineTest::i, obj, and param.

Member Data Documentation

◆ obj

◆ param

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

Definition at line 27 of file solution.hxx.

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


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