blob: 0f044c64266a46206f2102175e1453a02ab8fec0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#ifndef POSITION_H
#define POSITION_H
class Position
{
public:
Position();
Position( int iDims );
Position( int iDims, int iX, ...);
Position( const Position &rhs );
virtual ~Position();
int operator[]( int iIdx ) const;
int &operator[]( int iIdx );
Position &operator=( const Position &rhs );
int getDims() const;
private:
int iDims;
int *aiValues;
};
#endif
|