Browse Subversion Repository
Contents of /common/StandardInput.h
Parent Directory
| Revision Log
Revision 383 -
( show annotations)
( download)
( as text)
Tue Dec 11 07:55:09 2012 UTC
(11 years, 4 months ago)
by satofumi
File MIME type: text/x-chdr
File size: 570 byte(s)
fix compile error
| 1 |
#ifndef STANDARD_INPUT_H |
| 2 |
#define STANDARD_INPUT_H |
| 3 |
|
| 4 |
/*! |
| 5 |
\file |
| 6 |
\brief 標準入力の受信 |
| 7 |
|
| 8 |
\author Satofumi KAMIMURA |
| 9 |
|
| 10 |
$Id$ |
| 11 |
*/ |
| 12 |
|
| 13 |
#include <memory> |
| 14 |
#include <cstddef> |
| 15 |
|
| 16 |
|
| 17 |
namespace beego { |
| 18 |
/*! |
| 19 |
\brief 標準入力の受信クラス |
| 20 |
*/ |
| 21 |
class StandardInput { |
| 22 |
StandardInput(const StandardInput& rhs); |
| 23 |
StandardInput& operator = (const StandardInput& rhs); |
| 24 |
|
| 25 |
struct pImpl; |
| 26 |
const std::auto_ptr<pImpl> pimpl; |
| 27 |
|
| 28 |
public: |
| 29 |
StandardInput(void); |
| 30 |
~StandardInput(void); |
| 31 |
int recv(char *buffer, size_t maxlen, int timeout); |
| 32 |
}; |
| 33 |
}; |
| 34 |
|
| 35 |
#endif /* !STANDARD_INPUT_H */ |
|