summaryrefslogtreecommitdiff
path: root/src/T2HUnknown.h
blob: 5c6bc09bffa998b73ce6f9de99ef84969403cce5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once
#include "common.h"

class T2HUnknown {
public:
    T2HUnknown(int capacity);
    ~T2HUnknown();
    int GetLength() const;
    void AddValue(int value);
    int GetFirst() const;
    int GetNext(int &position) const;
    void SetAll(int value);

protected:
    int *mData;
    int mLength;
    int mCapacity;
};