CL_InputSourceProvider3
Interface that provide input sources.
Overview
CL_InputSourceProvider is used to open inputsources. This can be from datafile where the inputsource is an index - or it a directory where the files are the inputsources.
Class members
- virtual
~CL_InputSourceProvider()
- static CL_InputSourceProvider *
create_file_provider( -
const char *path)
- static CL_InputSourceProvider *
create_datafile_provider( -
const char *filename)
- virtual CL_InputSource *
open_source( -
const char *handle)
- virtual CL_InputSourceProvider *
clone()
Members with descriptions
- virtual
~CL_InputSourceProvider() -
Description:
- static CL_InputSourceProvider *
create_file_provider( -
const char *path)
Parameters: path - Path where the files are located.
Description:
Creates a file provider. Input sources opened are considered as files.
Return value:
The file input provider created.
- static CL_InputSourceProvider *
create_datafile_provider( -
const char *filename)
Parameters: filename - Name of the datafile to be used.
Description:
Creates a datafile provider. Input sources are opened as indexes in thespecified datafile.
Return value:
The datafile input provider created.
- virtual CL_InputSource *
open_source( -
const char *handle)
Parameters: handle - handle/index/filename/identier to the input source requested.
Description:
Opens an inputsource using the passed handle.
Return value:
The opened input source.
- virtual CL_InputSourceProvider *
clone() -
Description:
Returns a copy of the current provider.
Return value:
The copy of the inputsource provider.