VTK
9.2.6
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Common
Core
vtkOStrStreamWrapper.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkOStrStreamWrapper.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
30
#ifndef vtkOStrStreamWrapper_h
31
#define vtkOStrStreamWrapper_h
32
33
#include "vtkCommonCoreModule.h"
34
35
#ifndef VTK_SYSTEM_INCLUDES_INSIDE
36
Do_not_include_vtkOStrStreamWrapper_directly_vtkSystemIncludes_includes_it
;
37
#endif
38
39
class
VTKCOMMONCORE_EXPORT
vtkOStrStreamWrapper
:
public
vtkOStreamWrapper
40
{
41
public
:
45
vtkOStrStreamWrapper
();
46
50
~
vtkOStrStreamWrapper
()
override
;
51
57
char
* str();
58
63
vtkOStrStreamWrapper
* rdbuf();
64
66
70
void
freeze();
71
void
freeze(
int
);
73
74
protected
:
75
// The pointer returned by str().
76
char
*
Result
;
77
78
// Whether the caller of str() owns the memory.
79
int
Frozen
;
80
81
private
:
82
vtkOStrStreamWrapper
(
const
vtkOStrStreamWrapper
& r) =
delete
;
83
vtkOStrStreamWrapper
& operator=(
const
vtkOStrStreamWrapper
&) =
delete
;
84
};
85
86
#endif
87
// VTK-HeaderTest-Exclude: vtkOStrStreamWrapper.h
vtkOStrStreamWrapper
Wrapper for ostrstream.
Definition:
vtkOStrStreamWrapper.h:39
Do_not_include_vtkOStrStreamWrapper_directly_vtkSystemIncludes_includes_it
Do_not_include_vtkOStrStreamWrapper_directly_vtkSystemIncludes_includes_it
Definition:
vtkOStrStreamWrapper.h:36
vtkOStreamWrapper
Wrapper for C++ ostream.
Definition:
vtkOStreamWrapper.h:44
vtkOStrStreamWrapper::Result
char * Result
Definition:
vtkOStrStreamWrapper.h:76
vtkOStrStreamWrapper::Frozen
int Frozen
Definition:
vtkOStrStreamWrapper.h:79
Generated on Mon Oct 16 2023 12:11:47 for VTK by
1.8.10