Changeset 11300
- Timestamp:
- 07/08/11 16:00:48 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/HeadersFTM.h
r11296 r11300 215 215 216 216 StaticData() { init(*this); } 217 StaticData(const std::vector<uint16_t> &vec) 218 { 219 ntohcpy(vec, *this); 220 221 for (int i=0; i<8; i++) 222 Reverse(fClockConditioner+i); 223 } 217 224 218 225 std::vector<uint16_t> HtoN() const … … 223 230 224 231 return htoncpy(d); 225 }226 227 void operator=(const std::vector<uint16_t> &vec)228 {229 ntohcpy(vec, *this);230 231 for (int i=0; i<8; i++)232 Reverse(fClockConditioner+i);233 232 } 234 233
Note:
See TracChangeset
for help on using the changeset viewer.