VTK
vtkPlainTextExtractionStrategy.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPlainTextExtractionStrategy.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 
39 #ifndef _vtkPlainTextExtractionStrategy_h
40 #define _vtkPlainTextExtractionStrategy_h
41 
43 
46 {
47 public:
50  void PrintSelf(ostream& os, vtkIndent indent);
51 
52  virtual bool Extract(
53  const vtkIdType document,
54  const vtkStdString& uri,
55  const vtkStdString& mime_type,
56  const vtkTypeUInt8* content_begin,
57  const vtkTypeUInt8* content_end,
58  vtkUnicodeString& text,
59  vtkIdTypeArray* tag_document,
60  vtkIdTypeArray* tag_begin,
61  vtkIdTypeArray* tag_end,
62  vtkStringArray* tag_type);
63 
64 protected:
67 
68 private:
70  void operator=(const vtkPlainTextExtractionStrategy&); //Not implemented.
71 };
72 
73 #endif // !_vtkPlainTextExtractionStrategy_h
74