Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

Common/KWCommon/vtkKWSerializer.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Module:    $RCSfile: vtkKWSerializer.h,v $
00004 
00005   Copyright (c) Kitware, Inc.
00006   All rights reserved.
00007   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00008 
00009      This software is distributed WITHOUT ANY WARRANTY; without even
00010      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00011      PURPOSE.  See the above copyright notice for more information.
00012 
00013 =========================================================================*/
00022 #ifndef __vtkKWSerializer_h
00023 #define __vtkKWSerializer_h
00024 
00025 #include "vtkObject.h"
00026 
00027 #define VTK_KWSERIALIZER_MAX_TOKEN_LENGTH 8000
00028 
00029 class VTK_EXPORT vtkKWSerializer : public vtkObject
00030 {
00031 public:
00032   static vtkKWSerializer* New();
00033   vtkTypeRevisionMacro(vtkKWSerializer,vtkObject);
00034   void PrintSelf(ostream& os, vtkIndent indent);
00035 
00037 
00038   static void FindClosingBrace(istream *is, vtkObject *obj);
00039   static void ReadNextToken(istream *is,const char *tok, vtkObject *obj);
00040   static int GetNextToken(istream *is, char *result);
00041   static void WriteSafeString(ostream& os, const char *val);
00043   
00044   static void EatWhiteSpace(istream *is);
00045 
00046 protected:
00047   vtkKWSerializer() {};
00048   ~vtkKWSerializer() {};
00049 
00050 private:
00051   vtkKWSerializer(const vtkKWSerializer&); // Not implemented
00052   void operator=(const vtkKWSerializer&); // Not implemented
00053 };
00054 
00055 
00056 #endif
00057 
00058 
00059 
00060 
00061 

Generated on Tue May 30 12:31:37 2006 for ParaView by doxygen 1.3.5