Blame view

morfeusz/deserialization/InterpsGroupsReader.hpp 551 Bytes
Michał Lenart authored
1
2
3
4
5
6
7
8
9
10
/* 
 * File:   InterpsGroupsReader.hpp
 * Author: mlenart
 *
 * Created on 16 maj 2014, 12:50
 */

#ifndef INTERPSGROUPSREADER_HPP
#define	INTERPSGROUPSREADER_HPP
Michał Lenart authored
11
12
13
#include "InterpsGroup.hpp"

namespace morfeusz {
Michał Lenart authored
14
15
16
17
18
19
20
21
22
23
24
25
26

class InterpsGroupsReader {
public:
    InterpsGroupsReader();
    InterpsGroupsReader(const unsigned char* ptr, long size);
    virtual ~InterpsGroupsReader();
    bool hasNext() const;
    InterpsGroup getNext();
private:
    const unsigned char* currPtr;
    const unsigned char* endPtr;
};
Michał Lenart authored
27
28
}
Michał Lenart authored
29
30
#endif	/* INTERPSGROUPSREADER_HPP */