Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
src
Common
xout
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
char
T,
class
traits =
char
_traits<
char
T> >
35
class
xoutsimple
:
public
xoutbase
<charT, traits>
36
{
37
public
:
38
40
typedef
xoutsimple
Self
;
41
typedef
xoutbase<charT, traits>
Superclass
;
42
43
typedef
typename
Superclass::traits_type
traits_type
;
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
;
48
typedef
typename
Superclass::ostream_type
ostream_type
;
49
typedef
typename
Superclass::ios_type
ios_type
;
50
51
typedef
typename
Superclass::CStreamMapType
CStreamMapType
;
52
typedef
typename
Superclass::XStreamMapType
XStreamMapType
;
53
typedef
typename
Superclass::CStreamMapIteratorType
CStreamMapIteratorType
;
54
typedef
typename
Superclass::XStreamMapIteratorType
XStreamMapIteratorType
;
55
typedef
typename
Superclass::CStreamMapEntryType
CStreamMapEntryType
;
56
typedef
typename
Superclass::XStreamMapEntryType
XStreamMapEntryType
;
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
1.8.1.2