VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
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
=========================================================================*/
26
#ifndef __vtkOStrStreamWrapper_h
27
#define __vtkOStrStreamWrapper_h
28
29
#ifndef __VTK_SYSTEM_INCLUDES__INSIDE
30
Do_not_include_vtkOStrStreamWrapper_directly__vtkSystemIncludes_includes_it
;
31
#endif
32
33
class
VTK_COMMON_EXPORT
vtkOStrStreamWrapper
:
public
vtkOStreamWrapper
34
{
35
public
:
37
vtkOStrStreamWrapper
();
38
40
~
vtkOStrStreamWrapper
();
41
45
char
* str();
46
49
vtkOStrStreamWrapper
* rdbuf();
50
52
54
void
freeze();
55
void
freeze(
int
);
56
protected
:
57
// The pointer returned by str().
58
char
*
Result
;
60
61
// Whether the caller of str() owns the memory.
62
int
Frozen
;
63
private
:
64
vtkOStrStreamWrapper
(
const
vtkOStrStreamWrapper
& r);
// Not Implemented.
65
vtkOStrStreamWrapper
& operator=(
const
vtkOStrStreamWrapper
&);
// Not Implemented.
66
};
67
68
#endif
Generated on Wed Nov 21 2012 21:33:40 for VTK by
1.8.2