summaryrefslogtreecommitdiffstats
path: root/lib/kaitai/kaitaistruct.h
blob: f8b848fdd1ab4320c05dbf9517deda5386e1402d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef KAITAI_STRUCT_H
#define KAITAI_STRUCT_H

#include <kaitaistream.h>

namespace kaitai {

class kstruct {
public:
    kstruct(kstream *_io) { m__io = _io; }
    virtual ~kstruct() {}
protected:
    kstream *m__io;
public:
    kstream *_io() { return m__io; }
};

}

#endif