Guest User

Untitled

a guest
May 22nd, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.31 KB | None | 0 0
  1.     class File
  2.         :private NonCopyable
  3.     {
  4.         class Impl;
  5.         boost::scoped_ptr<Impl> pImpl;
  6.         File();
  7.     public:
  8.         File(const std::string&);
  9.         File(const void* ptr,u32 size);
  10.         ~File();
  11.         int Read(void* ptr,u32 size);
  12.         int Seek(int offset, int origin);
  13.         int Tell();
  14.         //ストリームの関数を実装すべきかしら
  15.     };
Add Comment
Please, Sign In to add comment