~mbogomilov/maus/devel3

« back to all changes in this revision

Viewing changes to src/common_cpp/DataStructure/Unknown.cc

  • Committer: Durga Rajaram
  • Date: 2014-01-14 07:07:02 UTC
  • mfrom: (659.1.80 relcand)
  • Revision ID: durga@fnal.gov-20140114070702-2l1fuj1w6rraw7xe
Tags: MAUS-v0.7.6
MAUS-v0.7.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 * along with MAUS.  If not, see <http://www.gnu.org/licenses/>.
15
15
 */
16
16
 
17
 
#include "src/common_cpp/DataStructure/Unknown.hh"
 
17
#include "DataStructure/Unknown.hh"
18
18
 
19
19
 
20
20
namespace MAUS {
21
21
 
22
22
Unknown::Unknown()
23
 
    : _V1290() {
 
23
    : _V1290(), _V1724(), _V1731() {
24
24
}
25
25
 
26
26
Unknown::Unknown(const Unknown& _unknown)
27
 
    : _V1290() {
 
27
    : _V1290(), _V1724(), _V1731() {
28
28
    *this = _unknown;
29
29
}
30
30
 
33
33
        return *this;
34
34
    }
35
35
    SetV1290Array(_unknown._V1290);
 
36
    SetV1724Array(_unknown._V1724);
 
37
    SetV1731Array(_unknown._V1731);
36
38
    return *this;
37
39
}
38
40
 
54
56
void Unknown::SetV1290Array(V1290Array V1290) {
55
57
    _V1290 = V1290;
56
58
}
 
59
 
 
60
 
 
61
 
 
62
 
 
63
 
 
64
V1724Array Unknown::GetV1724Array() const {
 
65
    return _V1724;
 
66
}
 
67
 
 
68
V1724 Unknown::GetV1724ArrayElement(size_t index) const {
 
69
    return _V1724[index];
 
70
}
 
71
 
 
72
size_t Unknown::GetV1724ArraySize() const {
 
73
    return _V1724.size();
 
74
}
 
75
 
 
76
void Unknown::SetV1724Array(V1724Array V1724) {
 
77
    _V1724 = V1724;
 
78
}
 
79
 
 
80
 
 
81
 
 
82
 
 
83
V1731Array Unknown::GetV1731Array() const {
 
84
    return _V1731;
 
85
}
 
86
 
 
87
V1731 Unknown::GetV1731ArrayElement(size_t index) const {
 
88
    return _V1731[index];
 
89
}
 
90
 
 
91
size_t Unknown::GetV1731ArraySize() const {
 
92
    return _V1731.size();
 
93
}
 
94
 
 
95
void Unknown::SetV1731Array(V1731Array V1731) {
 
96
    _V1731 = V1731;
 
97
}
57
98
}
58
99