go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
xoutrow.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 __xoutrow_h
16 #define __xoutrow_h
17 
18 #include "xoutbase.h"
19 #include "xoutcell.h"
20 #include <sstream>
21 
22 namespace xoutlibrary
23 {
24 using namespace std;
25 
26 
39 template<class charT, class traits = char_traits<charT> >
40 class xoutrow : public xoutbase<charT, traits>
41 {
42 public:
43 
44  typedef xoutrow Self;
46 
49  typedef typename Superclass::char_type char_type;
50  typedef typename Superclass::int_type int_type;
51  typedef typename Superclass::pos_type pos_type;
52  typedef typename Superclass::off_type off_type;
54  typedef typename Superclass::ios_type ios_type;
55 
62 
65 
67  xoutrow();
68 
70  virtual ~xoutrow();
71 
75  virtual void WriteBufferedData( void );
76 
81  virtual void WriteHeaders( void );
82 
84  virtual int AddTargetCell( const char * name );
85 
87  virtual int RemoveTargetCell( const char * name );
88 
92  virtual void SetTargetCells( const XStreamMapType & cellmap );
93 
98  virtual int AddOutput( const char * name, ostream_type * output );
99  virtual int AddOutput( const char * name, Superclass * output );
100  virtual int RemoveOutput( const char * name );
101 
102  virtual void SetOutputs( const CStreamMapType & outputmap );
103  virtual void SetOutputs( const XStreamMapType & outputmap );
104 
105 protected:
106 
111  virtual Superclass & SelectXCell( const char * name );
112 
114 
115 }; // end class xoutrow
116 
117 
118 } // end namespace xoutlibrary
119 
120 #include "xoutrow.hxx"
121 
122 #endif // end #ifndef __xoutrow_h
123 


Generated on 27-06-2013 for elastix by doxygen 1.8.3.1 elastix logo