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,2017 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(FXPipe& other,FXuint m);
45 
47  FXPipe(FXInputHandle h,FXuint m=FXIO::Reading);
48 
50  virtual FXbool open(FXPipe& other,FXuint m=FXIO::Reading);
51 
53  virtual FXbool open(FXInputHandle h,FXuint m=FXIO::Reading);
54 
56  static FXbool create(const FXString& file,FXuint perm=FXIO::AllReadWrite);
57  };
58 
59 }
60 
61 #endif

Copyright © 1997-2016 Jeroen van der Zijp