go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
xoutcell.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 __xoutcell_h
16 #define __xoutcell_h
17 
18 #include "xoutbase.h"
19 #include <sstream>
20 
21 namespace xoutlibrary
22 {
23  using namespace std;
24 
35  template<class charT, class traits = char_traits<charT> >
36  class xoutcell : public xoutbase<charT, traits>
37  {
38  public:
39 
41  typedef xoutcell Self;
43 
45  typedef typename Superclass::char_type char_type;
46  typedef typename Superclass::int_type int_type;
47  typedef typename Superclass::pos_type pos_type;
48  typedef typename Superclass::off_type off_type;
50  typedef typename Superclass::ios_type ios_type;
51 
58 
59  typedef std::basic_ostringstream<charT, traits> InternalBufferType;
60 
62  xoutcell();
63 
65  virtual ~xoutcell();
66 
68  virtual void WriteBufferedData(void);
69 
70  protected:
71 
73 
74 
75  }; // end class xoutcell
76 
77 
78 } // end namespace xoutlibrary
79 
80 
81 #include "xoutcell.hxx"
82 
83 
84 #endif // end #ifndef __xoutcell_h
85 
XStreamMapType::value_type XStreamMapEntryType
Definition: xoutbase.h:66
Superclass::int_type int_type
Definition: xoutcell.h:46
basic_ios< charT, traits > ios_type
Definition: xoutbase.h:59
Superclass::ostream_type ostream_type
Definition: xoutcell.h:49
Superclass::off_type off_type
Definition: xoutcell.h:48
CStreamMapType::value_type CStreamMapEntryType
Definition: xoutbase.h:65
Superclass::XStreamMapEntryType XStreamMapEntryType
Definition: xoutcell.h:57
basic_ostream< charT, traits > ostream_type
Definition: xoutbase.h:58
Superclass::CStreamMapIteratorType CStreamMapIteratorType
Definition: xoutcell.h:54
traits::pos_type pos_type
Definition: xoutbase.h:56
Superclass::char_type char_type
Definition: xoutcell.h:45
Superclass::CStreamMapType CStreamMapType
Definition: xoutcell.h:52
Superclass::pos_type pos_type
Definition: xoutcell.h:47
XStreamMapType::iterator XStreamMapIteratorType
Definition: xoutbase.h:64
std::basic_ostringstream< charT, traits > InternalBufferType
Definition: xoutcell.h:59
Base class for xout.
Definition: xoutbase.h:46
traits::int_type int_type
Definition: xoutbase.h:55
Superclass::ios_type ios_type
Definition: xoutcell.h:50
std::map< std::string, Self * > XStreamMapType
Definition: xoutbase.h:62
std::map< std::string, ostream_type * > CStreamMapType
Definition: xoutbase.h:61
traits::off_type off_type
Definition: xoutbase.h:57
Superclass::XStreamMapIteratorType XStreamMapIteratorType
Definition: xoutcell.h:55
CStreamMapType::iterator CStreamMapIteratorType
Definition: xoutbase.h:63
Stores the input in a string stream.
Definition: xoutcell.h:36
Superclass::XStreamMapType XStreamMapType
Definition: xoutcell.h:53
InternalBufferType m_InternalBuffer
Definition: xoutcell.h:72
Superclass::traits_type traits_type
Definition: xoutcell.h:44
Superclass::CStreamMapEntryType CStreamMapEntryType
Definition: xoutcell.h:56
xoutbase< charT, traits > Superclass
Definition: xoutcell.h:42


Generated on 04-01-2014 for elastix by doxygen 1.8.5 elastix logo