VTK
dox/TextAnalysis/vtkForceMimeTypeStrategy.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkForceMimeTypeStrategy.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm 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 /*-------------------------------------------------------------------------
00016   Copyright 2008 Sandia Corporation.
00017   Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
00018   the U.S. Government retains certain rights in this software.
00019 -------------------------------------------------------------------------*/
00020 
00038 #ifndef _vtkForceMimeTypeStrategy_h
00039 #define _vtkForceMimeTypeStrategy_h
00040 
00041 #include <vtkMimeTypeStrategy.h>
00042 
00043 class VTK_TEXT_ANALYSIS_EXPORT vtkForceMimeTypeStrategy :
00044   public vtkMimeTypeStrategy
00045 {
00046 public:
00047   static vtkForceMimeTypeStrategy* New();
00048   vtkTypeMacro(vtkForceMimeTypeStrategy, vtkMimeTypeStrategy);
00049   void PrintSelf(ostream& os, vtkIndent indent);
00050 
00051   vtkGetStringMacro(MimeType);
00052   vtkSetStringMacro(MimeType);
00053 
00054   vtkStdString Lookup(const vtkStdString& uri, const vtkTypeUInt8* begin, const vtkTypeUInt8* end);
00055 
00056 //BTX
00057 protected:
00058   vtkForceMimeTypeStrategy();
00059   virtual ~vtkForceMimeTypeStrategy();
00060 
00061   char* MimeType;
00062  
00063 private:
00064   vtkForceMimeTypeStrategy(const vtkForceMimeTypeStrategy&); //Not implemented.
00065   void operator=(const vtkForceMimeTypeStrategy&); //Not implemented.
00066 //ETX
00067 };
00068 
00069 #endif // !_vtkForceMimeTypeStrategy_h
00070