go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
xoutsimple.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 xoutsimple_h
19#define xoutsimple_h
20
21#include "xoutbase.h"
22
23namespace xoutlibrary
24{
25
35class xoutsimple : public xoutbase
36{
37public:
41
43 xoutsimple() = default;
44
46 ~xoutsimple() override = default;
47
49 int
50 AddOutput(const char * name, std::ostream * output) override;
51
52 int
53 AddOutput(const char * name, Superclass * output) override;
54
55 int
56 RemoveOutput(const char * name) override;
57
58 void
59 SetOutputs(const CStreamMapType & outputmap) override;
60
61 void
62 SetOutputs(const XStreamMapType & outputmap) override;
63
65 const CStreamMapType &
66 GetCOutputs() override;
67
68 const XStreamMapType &
69 GetXOutputs() override;
70};
71
72} // end namespace xoutlibrary
73
74#endif // end #ifndef xoutsimple_h
Base class for xout.
Definition: xoutbase.h:40
std::map< std::string, std::ostream * > CStreamMapType
Definition: xoutbase.h:45
std::map< std::string, Self * > XStreamMapType
Definition: xoutbase.h:46
xout class with only basic functionality.
Definition: xoutsimple.h:36
int RemoveOutput(const char *name) override
int AddOutput(const char *name, Superclass *output) override
int AddOutput(const char *name, std::ostream *output) override
~xoutsimple() override=default
void SetOutputs(const XStreamMapType &outputmap) override
const CStreamMapType & GetCOutputs() override
void SetOutputs(const CStreamMapType &outputmap) override
const XStreamMapType & GetXOutputs() override


Generated on 2023-01-13 for elastix by doxygen 1.9.6 elastix logo