8 #ifndef MP7PacketReader_h
9 #define MP7PacketReader_h
17 typedef std::map< uint32_t, std::vector<uint32_t> >
LinkMap;
69 static std::vector<PacketRange>
findPackets( std::vector<uint64_t>
data );
const_iterator begin() const
virtual ~MP7PacketReader()
tuple path
else: Piece not in the list, fine.
std::vector< Packet > packets_
std::vector< PacketData > buffers_
const_iterator end() const
std::vector< PacketData >::const_iterator const_iterator
std::pair< uint32_t, uint32_t > PacketRange
const std::string & name() const
const_iterator begin() const
std::map< uint32_t, std::vector< uint32_t > > LinkMap
std::vector< Packet >::const_iterator const_iterator
const_iterator end() const
char data[epos_bytes_allocation]
static std::vector< PacketRange > findPackets(std::vector< uint64_t > data)
MP7PacketReader(const std::string &path, uint32_t striphdr=0, uint32_t stripftr=0)
bool valid() const
reader status. valid() == 1 indicates that data was successfully read from file