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  * Copyright UMC Utrecht and contributors
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef __xoutcell_h
19 #define __xoutcell_h
20 
21 #include "xoutbase.h"
22 #include <sstream>
23 
24 namespace xoutlibrary
25 {
26 using namespace std;
27 
38 template< class charT, class traits = char_traits< charT > >
39 class xoutcell : public xoutbase< charT, traits >
40 {
41 public:
42 
44  typedef xoutcell Self;
46 
48  typedef typename Superclass::char_type char_type;
49  typedef typename Superclass::int_type int_type;
50  typedef typename Superclass::pos_type pos_type;
51  typedef typename Superclass::off_type off_type;
53  typedef typename Superclass::ios_type ios_type;
54 
61 
62  typedef std::basic_ostringstream< charT, traits > InternalBufferType;
63 
65  xoutcell();
66 
68  virtual ~xoutcell();
69 
71  virtual void WriteBufferedData( void );
72 
73 protected:
74 
75  InternalBufferType m_InternalBuffer;
76 
77 };
78 
79 } // end namespace xoutlibrary
80 
81 #include "xoutcell.hxx"
82 
83 #endif // end #ifndef __xoutcell_h
XStreamMapType::value_type XStreamMapEntryType
Definition: xoutbase.h:67
Superclass::int_type int_type
Definition: xoutcell.h:49
Superclass::ostream_type ostream_type
Definition: xoutcell.h:52
Superclass::off_type off_type
Definition: xoutcell.h:51
basic_ostream< charT, traits > ostream_type
Definition: xoutbase.h:59
CStreamMapType::value_type CStreamMapEntryType
Definition: xoutbase.h:66
Superclass::XStreamMapEntryType XStreamMapEntryType
Definition: xoutcell.h:60
Superclass::CStreamMapIteratorType CStreamMapIteratorType
Definition: xoutcell.h:57
traits::pos_type pos_type
Definition: xoutbase.h:57
Superclass::char_type char_type
Definition: xoutcell.h:48
Superclass::CStreamMapType CStreamMapType
Definition: xoutcell.h:55
Superclass::pos_type pos_type
Definition: xoutcell.h:50
XStreamMapType::iterator XStreamMapIteratorType
Definition: xoutbase.h:65
Base class for xout.
Definition: xoutbase.h:47
traits::int_type int_type
Definition: xoutbase.h:56
Superclass::ios_type ios_type
Definition: xoutcell.h:53
std::map< std::string, Self * > XStreamMapType
Definition: xoutbase.h:63
std::map< std::string, ostream_type * > CStreamMapType
Definition: xoutbase.h:62
xoutbase< charT, traits > Superclass
Definition: xoutcell.h:45
traits::off_type off_type
Definition: xoutbase.h:58
Superclass::XStreamMapIteratorType XStreamMapIteratorType
Definition: xoutcell.h:58
CStreamMapType::iterator CStreamMapIteratorType
Definition: xoutbase.h:64
Stores the input in a string stream.
Definition: xoutcell.h:39
Superclass::XStreamMapType XStreamMapType
Definition: xoutcell.h:56
basic_ios< charT, traits > ios_type
Definition: xoutbase.h:60
std::basic_ostringstream< charT, traits > InternalBufferType
Definition: xoutcell.h:62
InternalBufferType m_InternalBuffer
Definition: xoutcell.h:75
Superclass::traits_type traits_type
Definition: xoutcell.h:47
Superclass::CStreamMapEntryType CStreamMapEntryType
Definition: xoutcell.h:59


Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo