Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

CL_InputSourceProvider_Memory Class Reference

#include <inputsource_memory_generic.h>

Inheritance diagram for CL_InputSourceProvider_Memory:

Inheritance graph
[legend]
Collaboration diagram for CL_InputSourceProvider_Memory:

Collaboration graph
[legend]
List of all members.

Public Methods

 CL_InputSourceProvider_Memory (unsigned char *data, unsigned int size, bool delete_data)
 CL_InputSourceProvider_Memory (CL_InputSource_MemoryGeneric *MG)
 CL_InputSourceProvider_Memory (CL_OutputSource_MemoryGeneric *MG)
virtual CL_InputSourceopen_source (const char *handle)
 param: filename - Name of the datafile to be used.retval: The datafile input provider created.

virtual CL_InputSourceProviderclone ()
 param: handle - handle/index/filename/identier to the input source requested.retval: The opened input source.


Private Attributes

unsigned char* m_data
unsigned int m_size
bool m_delete_data

Constructor & Destructor Documentation

CL_InputSourceProvider_Memory::CL_InputSourceProvider_Memory ( unsigned char * data,
unsigned int size,
bool delete_data )
 

CL_InputSourceProvider_Memory::CL_InputSourceProvider_Memory ( CL_InputSource_MemoryGeneric * MG )
 

CL_InputSourceProvider_Memory::CL_InputSourceProvider_Memory ( CL_OutputSource_MemoryGeneric * MG )
 


Member Function Documentation

virtual CL_InputSourceProvider* CL_InputSourceProvider_Memory::clone ( ) [virtual]
 

param: handle - handle/index/filename/identier to the input source requested.retval: The opened input source.

Reimplemented from CL_InputSourceProvider.

virtual CL_InputSource* CL_InputSourceProvider_Memory::open_source ( const char * handle ) [virtual]
 

param: filename - Name of the datafile to be used.retval: The datafile input provider created.

Reimplemented from CL_InputSourceProvider.


Member Data Documentation

unsigned char* CL_InputSourceProvider_Memory::m_data [private]
 

Definition at line 129 of file inputsource_memory_generic.h.

bool CL_InputSourceProvider_Memory::m_delete_data [private]
 

Definition at line 131 of file inputsource_memory_generic.h.

unsigned int CL_InputSourceProvider_Memory::m_size [private]
 

Definition at line 130 of file inputsource_memory_generic.h.


The documentation for this class was generated from the following file:
Generated at Wed Apr 4 19:57:04 2001 for ClanLib by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001