DLS::Resource Class Reference

Abstract base class which encapsulates data structures which all DLS resources are able to provide. More...

#include <DLS.h>

Inheritance diagram for DLS::Resource:

DLS::File DLS::Instrument DLS::Region DLS::Sample gig::File gig::Instrument gig::Region gig::Sample List of all members.

Public Member Functions

ResourceGetParent ()

Public Attributes

InfopInfo
 Points (in any case) to an Info object, providing additional, optional infos and comments.
dlsid_tpDLSID
 Points to a dlsid_t structure if the file provided a DLS ID else is NULL.

Protected Member Functions

 Resource (Resource *Parent, RIFF::List *lstResource)
virtual ~Resource ()

Protected Attributes

ResourcepParent

Detailed Description

Abstract base class which encapsulates data structures which all DLS resources are able to provide.

Definition at line 345 of file DLS.h.


Constructor & Destructor Documentation

DLS::Resource::Resource Resource Parent,
RIFF::List lstResource
[protected]
 

Definition at line 162 of file DLS.cpp.

References DLS::dlsid_t::abData, CHUNK_ID_DLID, RIFF::List::GetSubChunk(), pDLSID, pInfo, pParent, RIFF::Chunk::Read(), DLS::dlsid_t::ulData1, DLS::dlsid_t::usData2, and DLS::dlsid_t::usData3.

DLS::Resource::~Resource  )  [protected, virtual]
 

Definition at line 178 of file DLS.cpp.

References pDLSID, and pInfo.


Member Function Documentation

Resource* DLS::Resource::GetParent  )  [inline]
 

Definition at line 350 of file DLS.h.

Referenced by DLS::Region::GetSample(), gig::Region::GetSampleFromWavePool(), and gig::Region::Region().


Member Data Documentation

dlsid_t* DLS::Resource::pDLSID
 

Points to a dlsid_t structure if the file provided a DLS ID else is NULL.

Definition at line 348 of file DLS.h.

Referenced by Resource(), and ~Resource().

Info* DLS::Resource::pInfo
 

Points (in any case) to an Info object, providing additional, optional infos and comments.

Definition at line 347 of file DLS.h.

Referenced by ExtractSamples(), main(), PrintDimensionRegions(), PrintInstruments(), PrintRegions(), PrintSamples(), Resource(), and ~Resource().

Resource* DLS::Resource::pParent [protected]
 

Definition at line 350 of file DLS.h.

Referenced by Resource().


The documentation for this class was generated from the following files:
Generated on Wed Nov 23 12:09:13 2005 for libgig by  doxygen 1.4.5