Blame view

src/ParamOutputImpl/Plot/SauvaudProperties.hh 1.72 KB
793c4351   Hacene SI HADJ MOHAND   creation de class...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/* 
 * File:   SauvaudProperties.hh
 * Author: hacene
 *
 * Created on January 3, 2022, 10:36 AM
 */

#ifndef SAUVAUDPROPERTIES_HH
#define SAUVAUDPROPERTIES_HH
#include "SpectroProperties.hh"
5f13f59c   Hacene SI HADJ MOHAND   in progress worki...
17
18
19
20
21
namespace plot {

    class SauvaudProperties : public SpectroProperties {
    public:

e1e55413   Hacene SI HADJ MOHAND   us ok
22
        SauvaudProperties() : SpectroProperties(),_rightDim(0) {
5f13f59c   Hacene SI HADJ MOHAND   in progress worki...
23
24
25
26
27
28
29
30
31
32

        }

        SauvaudProperties(const SpectroProperties& orig) : SpectroProperties(orig) {

        }

        SauvaudProperties(const SauvaudProperties& orig) : SpectroProperties(orig) {

        }
b0205fd9   Hacene SI HADJ MOHAND   plot ok reste que...
33
34
35
36
37
38
39
40
41
42
43
44
        
        AMDA::Common::ParameterIndexComponentList getIndexesByIndex(int index, int dim)
        {
            AMDA::Common::ParameterIndexComponentList res;
            int index_;
            for(auto paramIndex : SpectroProperties:: _indexList){
                index_ = dim ==0 ? paramIndex.getDim1Index() : paramIndex.getDim2Index(); 
                if(index_ == index)
                    res.push_back(paramIndex);
            }
            return res;
        }
5f13f59c   Hacene SI HADJ MOHAND   in progress worki...
45
46
47
48
49
50
51
52
53
54
55
56

        virtual ~SauvaudProperties() {

        }

        int getRightDim() {
            return _rightDim;
        }

        void setRightDim(int dim) {
            _rightDim = dim;
        }
793c4351   Hacene SI HADJ MOHAND   creation de class...
57
        
d6c9421d   Hacene SI HADJ MOHAND   attribut lastIndex
58
59
60
61
62
63
64
65
        int getLastIndex(){
            return _lastIndex;
        }
        
        void setLastIndex(int lastIndex){
            _lastIndex= lastIndex;
        }
        
5f13f59c   Hacene SI HADJ MOHAND   in progress worki...
66
    private:
793c4351   Hacene SI HADJ MOHAND   creation de class...
67
        
5f13f59c   Hacene SI HADJ MOHAND   in progress worki...
68
69
        /***/
        int _rightDim;
793c4351   Hacene SI HADJ MOHAND   creation de class...
70
        
d6c9421d   Hacene SI HADJ MOHAND   attribut lastIndex
71
72
        int _lastIndex;
        
5f13f59c   Hacene SI HADJ MOHAND   in progress worki...
73
    };
793c4351   Hacene SI HADJ MOHAND   creation de class...
74

793c4351   Hacene SI HADJ MOHAND   creation de class...
75
76
77

} /* namespace plot */
#endif /* SAUVAUDPROPERTIES_HH */