OSDN Git Service
(root)
/
roast
/
roast.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3727cdc
)
io/handle_manage.hpp: is_opened() が無さそうだったので、実装
author
myun2
<myun2@nwhite.info>
Wed, 11 Jul 2012 12:49:20 +0000
(21:49 +0900)
committer
myun2
<myun2@nwhite.info>
Wed, 11 Jul 2012 12:49:20 +0000
(21:49 +0900)
roast/include/roast/io/handle_manage.hpp
patch
|
blob
|
history
diff --git
a/roast/include/roast/io/handle_manage.hpp
b/roast/include/roast/io/handle_manage.hpp
index
a4401c6
..
8240b08
100644
(file)
--- a/
roast/include/roast/io/handle_manage.hpp
+++ b/
roast/include/roast/io/handle_manage.hpp
@@
-70,6
+70,8
@@
namespace roast
////////////////////////////////////////////////////
+ bool is_opened() const { return m_handle == _Impl::invalid_handle; }
+
_HandlerType get_handle(){ return m_handle; }
const _HandlerType get_handle() const { return m_handle; }