Home | Modules | Class Hierarchy | Alphabetical List | Compound List | Related Pages

FileTypeImpl Class Reference
[Parsers]

Inheritance diagram for FileTypeImpl:

FileType

Detailed Description

File Type storage implementation.

Contains different attributes of HRC file type.


Public Methods

bool isLoaded () const
const StringgetName () const
const StringgetGroup () const
const StringgetDescription () const
const SchemegetBaseScheme () const
const StringgetParameter (const String &name) const
double getPriority (const String *fileName, const String *fileContent) const
 Returns total priority, accordingly to all it's choosers (filename and firstline choosers).


Protected Attributes

bool protoLoaded
bool typeLoaded
bool loadDone
Stringname
Stringgroup
Stringdescription
const SchemeImplbaseScheme
SchemeAccessType accessType
Vector< FileTypeChooser * > chooserVector
Hashtable< String * > parametersHash
Vector< String * > importVector
InputSourceinputSource


Member Function Documentation

double FileTypeImpl::getPriority const String   fileName,
const String   fileContent
const [inline]
 

Returns total priority, accordingly to all it's choosers (filename and firstline choosers).

All fileContent RE's are tested only if priority of previously computed fileName RE's is more, than zero.

Parameters:
fileName String representation of file name (without path). If null, method skips filename matching, and starts directly with fileContent matching.
fileContent Some part of file's starting content (first line, for example). If null, skipped.
Returns:
Computed total filetype priority.


Colorer Library version take5. Copyright © 1999-2003 Cail Lomecb.
Generated at Sun Mar 2 23:57:46 2003 by doxygen 1.3-rc2.