00001 #ifndef _ots_BCOData_h 00002 #define _ots_BCOData_h 00003 00004 #include <stdint.h> 00005 00006 namespace ots 00007 { 00008 00009 class BCOData 00010 { 00011 public: 00012 BCOData(void); 00013 virtual ~BCOData(void); 00014 00015 bool isBCOHigh (uint32_t data); 00016 bool isBCOLow (uint32_t data); 00017 uint32_t decodeBCOHigh (uint32_t data); 00018 uint32_t decodeBCOLow (uint32_t data); 00019 uint64_t mergeBCOHighAndLow(uint32_t bcoHigh, uint32_t bcoLow); 00020 void insertBCOHigh (uint64_t& bco, uint32_t dataBCOHigh); 00021 void insertBCOLow (uint64_t& bco, uint32_t dataBCOLow); 00022 00023 }; 00024 00025 } 00026 00027 #endif