1 #ifndef __JTRIGGER__JFRAME_T__
2 #define __JTRIGGER__JFRAME_T__
26 template<
class JElement_t,
class JAllocator_t = std::allocator<JElement_t> >
49 std::
vector<JElement_t, JAllocator_t>(frame.begin(), frame.end())
75 this->
assign(frame.begin(), frame.end());
104 return (this->capacity() > this->size() && this->getT(*(this->end())) == this->getT(this->getEndMarker()));
113 if (this->capacity() <= this->size()) {
114 this->reserve(this->size() + 1);
117 *(this->end()) = this->getEndMarker();
Data frame with end marker.
JFrame_t & operator=(const JFrame_t &frame)
Assignment operator.
JFrame_t(const JFrame_t &frame)
Copy constructor.
JFrame_t(JFrame_t &&frame)
Move constructor.
bool hasEndMarker() const
Check presence of end marker.
JFrame_t & operator=(JFrame_t &&frame)
Move assignment operator.
JFrame_t()
Default constructor.
void putEndMarker()
Append end marker to data.
JAssignSequence< typename JContainer_t::value_type > assign(JContainer_t &out)
Helper method to assign sequence of Comma Separated Values to output container.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary classes and methods for triggering.