Entire Class Index | Main Class Index | Cross Index | Global Index

# Class CL_OutputSourceProvider

Class that provides output targets.
Contained in: global
Derived from: none
Derived by: none
Group: Core (I/O Data)

#include <ClanLib/core.h>

### public function member index:

### Overrideables:

``virtual`` | `~CL_OutputSourceProvider` | `()`;
``virtual` `CL_OutputSource`*` | `open_source` | `(`const` `std::string`& `handle`)`;
``virtual` `CL_OutputSourceProvider`*` | `clone` | `()`;

## Description:

CL_OutputSourceProvider is used to open output sources. This can be from a datafile where the outputsource is an index - or it a directory where the files are the outputsources.

## Function Member Descriptions:

CL_OutputSourceProvider::clone - Returns a copy of the current provider.
``virtual` `CL_OutputSourceProvider`*` `clone` `()`;

> Returns - The copy of the outputsource provider.

CL_OutputSourceProvider::open_source - Opens an outputsource using the passed handle.
``virtual` `CL_OutputSource`*` `open_source` `(`const` `std::string`& `handle`)`;

> handle - handle/index/filename/identier to the output source requested.
> Returns - The output source opened.

CL_OutputSourceProvider::~CL_OutputSourceProvider - Output Source Provider Destructor
``virtual`` `~CL_OutputSourceProvider` `()`;