Links
dtSearch Text Retrieval Engine Programmer's Reference 7.70
dtsFileSpec Structure
Data Members | Classes | Legend | Members | Methods | Send Feedback

Used to define a set of files to search or index

struct dtsFileSpec {
  const char * includeFilters;
  const char * excludeFilters;
  char dir[FileNameLen];
  char dirListName[FileNameLen];
  char fileListName[FileNameLen];
  const char * dirList;
};
File

dtsearch.h

Remarks

fileListName provides a way to simply pass a list of files to search or index. 

Alternatively, the calling program can ask dtSearch to list the files in one directory (the dir member) or in a list of directories (the dirListName member), using the supplied include and exclude filters. 

To specify a directory and all subdirectories, add a <+> symbol at the end, like this: C:DOCS<+>

Data Members
Data Member 
Description 
dir 
Directory to scan using the filters. 
Null-delimited string set containing list of directories to scan using the filters 
Name of file containing list of directories to scan using the filters 
Filename filters used to exclude files in selected directories. 
Name of file containing list of files. 
Filename filters to apply to files in the directories selected. 
Group
Methods
Method 
Description 
Clear all data 
copy 
Copy data from another dtsFileSpec (shallow copy) 
Constructor 
Legend
 
Data Member 
 
Method 
Links
You are here: C++ API > Classes > dtsFileSpec Structure
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.