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

FileNameContainer Class Reference

#include <RainMusic.h>

List of all members.

Public Methods

 FileNameContainer (void)
 ~FileNameContainer (void)
void SetType (bool bNewType)
bool GetType (void)
UINT GetTotalFileNames (void)
int GetFileNameBI (UINT uIndex, char *szBuffer)
void AddFileName (char *szFileName)

Protected Attributes

FileNameNodem_pFileNameList
UINT m_uTotalFileNames
bool m_bType

Friends

class AllAudio


Detailed Description

A class to hold and access a linked list


Constructor & Destructor Documentation

FileNameContainer::FileNameContainer void   
 

Default Constructor.

FileNameContainer::~FileNameContainer void   
 

Default Destructor.


Member Function Documentation

void FileNameContainer::AddFileName char *    szFileName
 

Places the string value szFileName at the end of the linked list

int FileNameContainer::GetFileNameBI UINT    uIndex,
char *    szBuffer
 

Sets string Buffer equal to the string at index uIndex in the linked list. Returns 0 if index does not exist.

UINT FileNameContainer::GetTotalFileNames void   
 

Returns the total number of nodes in the linked list as a unsined int.

bool FileNameContainer::GetType void   
 

Returns AUDIO_TYPE bool.

void FileNameContainer::SetType bool    bNewType
 

Use AUDIO_TYPE_MUSIC or AUDIO_TYPE_SOUND for bNewType.


Friends And Related Function Documentation

friend class AllAudio [friend]
 


Member Data Documentation

bool FileNameContainer::m_bType [protected]
 

FileNameNode* FileNameContainer::m_pFileNameList [protected]
 

UINT FileNameContainer::m_uTotalFileNames [protected]
 


The documentation for this class was generated from the following files:
Generated on Thu May 23 17:51:01 2002 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001