You are here: C++ API > Classes > dtsViewerInfo Structure > dtsViewerInfo::recognize Data Member
Close
dtSearch Text Retrieval Engine Programmer's Reference
dtsViewerInfo::recognize Data Member
Syntax
C++
int (* recognize)(dtsInputStream& aStream);
Parameters
Description
aStream
The input stream to check

0 if the file format is not recognized, or a confidence level between 1 and dtsMaxConfidence (100) if the file format is recognized

If not NULL, will be called to determine whether the a file has the format recognized by the parser. If possible, file parsers should use the recognitionSignature to identify the file format and initialize recognize to NULL.

Copyright (c) 1995-2021 dtSearch Corp. All rights reserved.