VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
TextAnalysis
vtkTextExtractionStrategy.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkTextExtractionStrategy.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 _vtkTextExtractionStrategy_h
37
#define _vtkTextExtractionStrategy_h
38
39
#include <
vtkObject.h
>
40
41
class
vtkIdTypeArray
;
42
class
vtkStdString
;
43
class
vtkStringArray
;
44
class
vtkUnicodeString
;
45
class
vtkUnicodeStringArray
;
46
47
class
VTK_TEXT_ANALYSIS_EXPORT
vtkTextExtractionStrategy
:
48
public
vtkObject
49
{
50
public
:
51
vtkTypeMacro(
vtkTextExtractionStrategy
,
vtkObject
);
52
void
PrintSelf
(ostream& os,
vtkIndent
indent);
53
55
65
virtual
bool
Extract(
66
const
vtkIdType
document,
67
const
vtkStdString
& uri,
68
const
vtkStdString
& mime_type,
69
const
vtkTypeUInt8* content_begin,
70
const
vtkTypeUInt8* content_end,
71
vtkUnicodeString
& text,
72
vtkIdTypeArray
* tag_document,
73
vtkIdTypeArray
* tag_begin,
74
vtkIdTypeArray
* tag_end,
75
vtkStringArray
* tag_type) = 0;
77
78
protected
:
79
vtkTextExtractionStrategy
();
80
virtual
~
vtkTextExtractionStrategy
();
81
82
private
:
83
vtkTextExtractionStrategy
(
const
vtkTextExtractionStrategy
&);
//Not implemented.
84
void
operator=(
const
vtkTextExtractionStrategy
&);
//Not implemented.
85
};
86
87
#endif // !_vtkTextExtractionStrategy_h
88
Generated on Fri Aug 2 2013 12:20:03 for VTK by
1.8.4