VTK
vtkMimeTypeStrategy.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkMimeTypeStrategy.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 =========================================================================*/
15 /*-------------------------------------------------------------------------
16  Copyright 2008 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19 -------------------------------------------------------------------------*/
20 
36 #ifndef _vtkMimeTypeStrategy_h
37 #define _vtkMimeTypeStrategy_h
38 
39 #include <vtkObject.h>
40 #include <vtkStdString.h> //Needed for lookup
41 
43  public vtkObject
44 {
45 public:
47  void PrintSelf(ostream& os, vtkIndent indent);
48 
53  virtual vtkStdString Lookup(const vtkStdString& uri, const vtkTypeUInt8* begin, const vtkTypeUInt8* end) = 0;
54 
55 protected:
57  virtual ~vtkMimeTypeStrategy();
58 
59 private:
60  vtkMimeTypeStrategy(const vtkMimeTypeStrategy&); //Not implemented.
61  void operator=(const vtkMimeTypeStrategy&); //Not implemented.
62 };
63 
64 #endif // !_vtkMimeTypeStrategy_h
65