VTK
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
34 #endif
35 
37 {
38 public:
41 
44 
48  char* str();
49 
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()