Skip to content
Snippets Groups Projects

Minimal EventBuilding library

Merged Roel Aaij requested to merge minimal-eventbuilding into master
Files
8
@@ -10,7 +10,7 @@ namespace EB {
typedef uint32_t offset_type;
constexpr uint16_t MEP_magic = 0xCEFA;
constexpr uint16_t MEP_wrap = ~MEP_magic;
constexpr uint16_t MEP_wrap = 0xFFFF - MEP_magic;
// size of a word in bytes (see p_words and offsets)
constexpr size_t MEP_WORD_SIZE = (32 / 8);
@@ -147,9 +147,14 @@ namespace EB {
// alignent in the mpf header in bytes
constexpr size_t MEP_alignment = 4;
bool operator==(const MEP::iterator& a, const MEP::iterator& b);
bool operator!=(const MEP::iterator& a, const MEP::iterator& b);
bool operator==(const MEP::const_iterator& a, const MEP::const_iterator& b);
bool operator!=(const MEP::const_iterator& a, const MEP::const_iterator& b);
std::ostream& operator<<(std::ostream& os, const MEP_header& header);
std::ostream& operator<<(std::ostream& os, const MEP& mep);
} // namespace EB
#endif // MEP_TOOLS_H
\ No newline at end of file
#endif // MEP_TOOLS_H
Loading