BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/eformat/eformat-00-00-04/eformat/util.h File Reference
#include <fstream>
#include <stdint.h>
#include <cstdlib>
#include "eformat/HeaderMarker.h"
#include "eformat/WrongMarkerIssue.h"

Go to the source code of this file.

Namespaces

namespace  eformat
 

Macros

#define HEX(m)   "0x" << std::hex << (int)m << std::dec << " (" << (int)m << ")"
 

Functions

uint32_t * eformat::next_fragment (std::fstream &fs, uint32_t *addr=0, size_t size=0)
 
size_t eformat::find_rods (const uint32_t *block_start, size_t block_size, const uint32_t **rod=0, uint32_t *rod_size=0, size_t max_count=0)
 
template<class TPointer >
size_t eformat::find_fragments (eformat::HeaderMarker marker, TPointer block_start, size_t block_size, TPointer *frag=0, size_t max_count=0)
 
size_t eformat::get_robs (const uint32_t *fragment, const uint32_t **rob, size_t max_count)
 

Macro Definition Documentation

◆ HEX

#define HEX (   m)    "0x" << std::hex << (int)m << std::dec << " (" << (int)m << ")"

Prints in hexadecimal format, in an ostream

Definition at line 107 of file Event/eformat/eformat-00-00-04/eformat/util.h.