/* This file is part of MAUS: http://micewww.pp.rl.ac.uk/projects/maus * * MAUS is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * MAUS is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with MAUS. If not, see . */ #include "src/common_cpp/DataStructure/TriggerRequest.hh" namespace MAUS { TriggerRequest::TriggerRequest() : _V1290() { } TriggerRequest::TriggerRequest(const TriggerRequest& _triggerrequest) : _V1290() { *this = _triggerrequest; } TriggerRequest& TriggerRequest::operator=(const TriggerRequest& _triggerrequest) { if (this == &_triggerrequest) { return *this; } SetV1290Array(_triggerrequest._V1290); return *this; } TriggerRequest::~TriggerRequest() { } V1290Array TriggerRequest::GetV1290Array() const { return _V1290; } V1290 TriggerRequest::GetV1290ArrayElement(size_t index) const { return _V1290[index]; } size_t TriggerRequest::GetV1290ArraySize() const { return _V1290.size(); } void TriggerRequest::SetV1290Array(V1290Array V1290) { _V1290 = V1290; } }