Links
dtSearch Text Retrieval Engine Programmer's Reference
dtsRecognitionSignature Structure
Classes | Send Feedback

Provides information about how to recognize a particular file type.

struct dtsRecognitionSignature {
  long offset;
  short length;
  char * text;
  char convertToUpper;
  char patternMatch;
  short confidence;
};
File

dtsviewr.h

Members
Members 
Description 
long offset; 
Position in the file where the pattern would be 
short length; 
Length of the pattern 
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 
Remarks

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

Group
Links
You are here: C++ API > Classes > dtsRecognitionSignature Structure
Copyright (c) 1995-2008 dtSearch Corp. All rights reserved.