go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
xoutsimple.h
Go to the documentation of this file.
1 /*======================================================================
2 
3  This file is part of the elastix software.
4 
5  Copyright (c) University Medical Center Utrecht. All rights reserved.
6  See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for
7  details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notices for more information.
12 
13 ======================================================================*/
14 
15 #ifndef __xoutsimple_h
16 #define __xoutsimple_h
17 
18 #include "xoutbase.h"
19 
20 
21 namespace xoutlibrary
22 {
23  using namespace std;
24 
34  template<class charT, class traits = char_traits<charT> >
35  class xoutsimple : public xoutbase<charT, traits>
36  {
37  public:
38 
40  typedef xoutsimple Self;
42 
44  typedef typename Superclass::char_type char_type;
45  typedef typename Superclass::int_type int_type;
46  typedef typename Superclass::pos_type pos_type;
47  typedef typename Superclass::off_type off_type;
49  typedef typename Superclass::ios_type ios_type;
50 
57 
59  xoutsimple();
60 
62  virtual ~xoutsimple();
63 
65  virtual int AddOutput( const char * name, ostream_type * output );
66  virtual int AddOutput( const char * name, Superclass * output );
67  virtual int RemoveOutput( const char * name );
68 
69  virtual void SetOutputs( const CStreamMapType & outputmap );
70  virtual void SetOutputs( const XStreamMapType & outputmap );
71 
73  virtual const CStreamMapType & GetCOutputs(void);
74  virtual const XStreamMapType & GetXOutputs(void);
75 
76  }; // end class xoutsimple
77 
78 
79 } // end namespace xoutlibrary
80 
81 
82 #include "xoutsimple.hxx"
83 
84 #endif // end #ifndef __xoutsimple_h
85 


Generated on 21-03-2014 for elastix by doxygen 1.8.1.2 elastix logo