/usr/include/osl/pieceTable.h is in libosl-dev 0.6.0-3.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | /* pieceTable.h
*/
#ifndef OSL_PIECE_TABLE_H
#define OSL_PIECE_TABLE_H
#include "osl/piece.h"
#include "osl/misc/carray.h"
namespace osl
{
class PieceTable
{
private:
CArray<Ptype, Piece::SIZE> ptypes;
template<Ptype T>
void initPtype();
public:
PieceTable();
Ptype getPtypeOf(int num) const{
assert(validNumber(num));
return ptypes[num];
}
static bool validNumber(int num) {
return 0<=num && num<=39;
}
};
extern const PieceTable Piece_Table;
}
#endif /* OSL_PIECE_TABLE_H */
// ;;; Local Variables:
// ;;; mode:c++
// ;;; c-basic-offset:2
// ;;; End:
|