/usr/include/osl/container/pieceVector.h is in libosl-dev 0.6.0-3.
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 | #ifndef _PIECE_VECTOR_H
#define _PIECE_VECTOR_H
#include "osl/piece.h"
#include "osl/misc/fixedCapacityVector.h"
#include <iosfwd>
namespace osl
{
namespace container
{
class PieceVector : public FixedCapacityVector<Piece,Piece::SIZE>
{
public:
/**
* 駒の価値の小さい順に並び替える.
* 成っているかに関わらず 歩香桂銀金角飛王
*/
void sortByBasic();
/**
* 駒の価値の大きい順に並び替える. 成りを考慮.
* 王龍馬...
*/
void sortByPtype();
};
std::ostream& operator<<(std::ostream& os,const PieceVector&);
} // namespace container
using container::PieceVector;
} // namespace osl
#endif // _PIECE_VECTOR_H
// ;;; Local Variables:
// ;;; mode:c++
// ;;; c-basic-offset:2
// ;;; End:
|