Changeset 11193
- Timestamp:
- 06/27/11 13:26:34 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/HeadersFAD.h
r11165 r11193 185 185 #ifdef __cplusplus 186 186 EventHeader() { init(*this); } 187 EventHeader(const std::vector<uint16_t> &vec) { *this = vec; } 187 EventHeader(const uint16_t *ptr) 188 { 189 *this = std::vector<uint16_t>(ptr, ptr+sizeof(EventHeader)/2); 190 } 188 191 189 192 void operator=(const std::vector<uint16_t> &vec)
Note:
See TracChangeset
for help on using the changeset viewer.