Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FXPipe.h
1 /********************************************************************************
2 * *
3 * P i p e C l a s s *
4 * *
5 *********************************************************************************
6 * Copyright (C) 2005,2024 by Jeroen van der Zijp. All Rights Reserved. *
7 *********************************************************************************
8 * This library is free software; you can redistribute it and/or modify *
9 * it under the terms of the GNU Lesser General Public License as published by *
10 * the Free Software Foundation; either version 3 of the License, or *
11 * (at your option) any later version. *
12 * *
13 * This library is distributed in the hope that it will be useful, *
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
16 * GNU Lesser General Public License for more details. *
17 * *
18 * You should have received a copy of the GNU Lesser General Public License *
19 * along with this program. If not, see <http://www.gnu.org/licenses/> *
20 ********************************************************************************/
21 #ifndef FXPIPE_H
22 #define FXPIPE_H
23 
24 #ifndef FXIODEVICE_H
25 #include "FXIODevice.h"
26 #endif
27 
28 namespace FX {
29 
30 
34 class FXAPI FXPipe : public FXIODevice {
35 private:
36  FXPipe(const FXPipe&);
37  FXPipe &operator=(const FXPipe&);
38 public:
39 
41  FXPipe(){ }
42 
44  FXPipe(FXInputHandle h);
45 
47  FXPipe(FXPipe& other,FXuint m);
48 
50  virtual FXbool open(FXPipe& other,FXuint m=FXIO::Reading);
51 
53  static FXbool create(const FXString& file,FXuint perm=FXIO::AllReadWrite);
54 
56  static FXbool remove(const FXString& file);
57  };
58 
59 }
60 
61 #endif
Execute permission for all.
Definition: FXIO.h:92
Child process can inherit handle.
Definition: FXIO.h:53
Definition: FX4Splitter.h:28
FXIODevice manipulates a handle to operating system i/o device, such as pipes, sockets, or files.
Definition: FXIODevice.h:35
Pipe i/o device.
Definition: FXPipe.h:34
FXPipe()
Construct pipe.
Definition: FXPipe.h:41
FXString provides essential string manipulation capabilities in FOX.
Definition: FXString.h:42

Copyright © 1997-2022 Jeroen van der Zijp