VTK
dox
opt
build
vtk6-6.3.0+dfsg2
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
=========================================================================*/
29
#ifndef vtkOStrStreamWrapper_h
30
#define vtkOStrStreamWrapper_h
31
32
#ifndef __VTK_SYSTEM_INCLUDES__INSIDE
33
Do_not_include_vtkOStrStreamWrapper_directly__vtkSystemIncludes_includes_it
;
34
#endif
35
36
class
VTKCOMMONCORE_EXPORT
vtkOStrStreamWrapper
:
public
vtkOStreamWrapper
37
{
38
public
:
40
vtkOStrStreamWrapper
();
41
43
~vtkOStrStreamWrapper
();
44
48
char
*
str
();
49
52
vtkOStrStreamWrapper
*
rdbuf
();
53
55
57
void
freeze
();
58
void
freeze
(
int
);
59
protected
:
60
// The pointer returned by str().
61
char
*
Result
;
63
64
// Whether the caller of str() owns the memory.
65
int
Frozen
;
66
private
:
67
vtkOStrStreamWrapper
(
const
vtkOStrStreamWrapper
&
r
);
// Not Implemented.
68
vtkOStrStreamWrapper
& operator=(
const
vtkOStrStreamWrapper
&);
// Not Implemented.
69
};
70
71
#endif
72
// VTK-HeaderTest-Exclude: vtkOStrStreamWrapper.h
vtkOStrStreamWrapper::Frozen
int Frozen
Definition:
vtkOStrStreamWrapper.h:65
VTKCOMMONCORE_EXPORT
#define VTKCOMMONCORE_EXPORT
Definition:
vtkCommonCoreModule.h:15
vtkOStrStreamWrapper::freeze
void freeze()
vtkOStrStreamWrapper::str
char * str()
vtkOStrStreamWrapper::rdbuf
vtkOStrStreamWrapper * rdbuf()
Do_not_include_vtkOStrStreamWrapper_directly__vtkSystemIncludes_includes_it
Do_not_include_vtkOStrStreamWrapper_directly__vtkSystemIncludes_includes_it
Definition:
vtkOStrStreamWrapper.h:33
vtkOStrStreamWrapper::Result
char * Result
Definition:
vtkOStrStreamWrapper.h:61
vtkOStrStreamWrapper
Wrapper for ostrstream. Internal VTK use only.
Definition:
vtkOStrStreamWrapper.h:37
vtkOStrStreamWrapper::vtkOStrStreamWrapper
vtkOStrStreamWrapper()
vtkOStrStreamWrapper::freeze
void freeze(int)
vtkOStreamWrapper
Wrapper for C++ ostream. Internal VTK use only.
Definition:
vtkOStreamWrapper.h:47
vtkgl::r
GLdouble GLdouble GLdouble r
Definition:
vtkgl.h:11610
vtkOStrStreamWrapper::~vtkOStrStreamWrapper
~vtkOStrStreamWrapper()
Generated by
1.8.20