![]() |
hamigaki::process::stream_behavior —
標準入出力の振る舞いを定義する。
class stream_behavior { public: // types typedef implementation defined type; // static constants static const type capture = implementation defined; // パイプで捕捉する static const type close = implementation defined; // 閉じる static const type inherit = implementation defined; // 親プロセスから継承する static const type redirect_to_stdout = implementation defined; // 標準出力にリダイレクトする static const type silence = implementation defined; // ヌルデバイスに接続する // construct/copy/destruct stream_behavior(); stream_behavior(type); // query type get_type() const; }; // creations stream_behavior capture_stream(); stream_behavior close_stream(); stream_behavior inherit_stream(); stream_behavior redirect_stream_to_stdout(); stream_behavior silence_stream();
stream_behavior
creationsstream_behavior capture_stream();
Returns: |
stream_behavior(stream_behavior::capture)
|
stream_behavior close_stream();
Returns: |
stream_behavior(stream_behavior::close)
|
stream_behavior inherit_stream();
Returns: |
stream_behavior(stream_behavior::inherit)
|
stream_behavior redirect_stream_to_stdout();
Returns: |
stream_behavior(stream_behavior::redirect_to_stdout)
|
stream_behavior silence_stream();
Returns: |
stream_behavior(stream_behavior::silence_stream)
|
製作著作 © 2007 Takeshi Mouri |