GDCM 2.0.17

vtkStringArray.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program: GDCM (Grassroots DICOM). A DICOM library
00004   Module:  $URL$
00005 
00006   Copyright (c) 2006-2010 Mathieu Malaterre
00007   All rights reserved.
00008   See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00015 // .NAME vtkStringArray -
00016 // .SECTION Description
00017 //
00018 // .SECTION
00019 //
00020 // .SECTION See Also
00021 
00022 #ifndef VTKSTRINGARRAY_H
00023 #define VTKSTRINGARRAY_H
00024 
00025 #ifdef __vtkStringArray_h
00026 #error Something went terribly wrong
00027 #endif
00028 
00029 #include "vtkObject.h"
00030 
00031 #include <string>
00032 
00033 class vtkStringArrayInternals;
00034 class VTK_EXPORT vtkStringArray : public vtkObject
00035 {
00036 public:
00037   static vtkStringArray *New();
00038   vtkTypeRevisionMacro(vtkStringArray,vtkObject);
00039   virtual void PrintSelf(ostream& os, vtkIndent indent);
00040 
00041 //BTX
00042   //std::string &GetValue(unsigned int i);
00043   vtkIdType InsertNextValue(std::string const & f);
00044 //ETX
00045   const char *GetValue(unsigned int i);
00046   int GetNumberOfValues();
00047   vtkIdType InsertNextValue(const char *f);
00048 
00049   vtkIdType GetSize();
00050 
00051 protected:
00052   vtkStringArray();
00053   ~vtkStringArray();
00054 
00055 private:
00056   vtkStringArray(const vtkStringArray&);  // Not implemented.
00057   void operator=(const vtkStringArray&);  // Not implemented.
00058 
00059   vtkStringArrayInternals *Internal;
00060 };
00061 
00062 #endif

Generated on Tue Feb 1 2011 23:59:13 for GDCM by doxygen 1.7.3
SourceForge.net Logo