VTK
dox
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
#ifndef VTK_SYSTEM_INCLUDES_INSIDE
34
Do_not_include_vtkOStrStreamWrapper_directly_vtkSystemIncludes_includes_it
;
35
#endif
36
37
class
VTKCOMMONCORE_EXPORT
vtkOStrStreamWrapper
:
public
vtkOStreamWrapper
38
{
39
public
:
43
vtkOStrStreamWrapper
();
44
48
~
vtkOStrStreamWrapper
()
override
;
49
55
char
* str();
56
61
vtkOStrStreamWrapper
* rdbuf();
62
64
68
void
freeze();
69
void
freeze(
int
);
71
72
protected
:
73
// The pointer returned by str().
74
char
*
Result
;
75
76
// Whether the caller of str() owns the memory.
77
int
Frozen
;
78
private
:
79
vtkOStrStreamWrapper
(
const
vtkOStrStreamWrapper
& r) =
delete
;
80
vtkOStrStreamWrapper
& operator=(
const
vtkOStrStreamWrapper
&) =
delete
;
81
};
82
83
#endif
84
// VTK-HeaderTest-Exclude: vtkOStrStreamWrapper.h
vtkOStrStreamWrapper::Frozen
int Frozen
Definition:
vtkOStrStreamWrapper.h:77
vtkOStrStreamWrapper::Result
char * Result
Definition:
vtkOStrStreamWrapper.h:74
vtkOStrStreamWrapper
Wrapper for ostrstream. Internal VTK use only.
Definition:
vtkOStrStreamWrapper.h:37
Do_not_include_vtkOStrStreamWrapper_directly_vtkSystemIncludes_includes_it
Do_not_include_vtkOStrStreamWrapper_directly_vtkSystemIncludes_includes_it
Definition:
vtkOStrStreamWrapper.h:34
vtkOStreamWrapper
Wrapper for C++ ostream. Internal VTK use only.
Definition:
vtkOStreamWrapper.h:43
Generated by
1.8.16