You are here: C++ API > Structs, Records, Enums > dtsRecognitionSignature Structure
Close
dtSearch Text Retrieval Engine Programmer's Reference
dtsRecognitionSignature Structure

Provides information about how to recognize a particular file type.

File: dtsviewr.h

Syntax
C++
struct dtsRecognitionSignature { long offset; short length; const char * text; char convertToUpper; char patternMatch; short confidence; };
Members
Description
long offset;
Position in the file where the pattern would be
short length;
Length of the pattern
const char * text;
Text to compare against the text in the file
char convertToUpper;
Convert text in file to upper case before matching
char patternMatch;
Signature contains wildcards * and/or ?
short confidence;
Ranges from 1 to dtsMaxConfidence

dtsRecognitionSignature is supplied as part of the dtsViewerInfo that a viewer uses to register itself.

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