Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
src
Common
xout
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
char
T,
class
traits =
char
_traits<
char
T> >
36
class
xoutcell
:
public
xoutbase
<charT, traits>
37
{
38
public
:
39
41
typedef
xoutcell
Self
;
42
typedef
xoutbase<charT, traits>
Superclass
;
43
44
typedef
typename
Superclass::traits_type
traits_type
;
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
;
49
typedef
typename
Superclass::ostream_type
ostream_type
;
50
typedef
typename
Superclass::ios_type
ios_type
;
51
52
typedef
typename
Superclass::CStreamMapType
CStreamMapType
;
53
typedef
typename
Superclass::XStreamMapType
XStreamMapType
;
54
typedef
typename
Superclass::CStreamMapIteratorType
CStreamMapIteratorType
;
55
typedef
typename
Superclass::XStreamMapIteratorType
XStreamMapIteratorType
;
56
typedef
typename
Superclass::CStreamMapEntryType
CStreamMapEntryType
;
57
typedef
typename
Superclass::XStreamMapEntryType
XStreamMapEntryType
;
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
72
InternalBufferType
m_InternalBuffer
;
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
Generated on 27-06-2013 for elastix by
1.8.3.1