Main Page   Compound List   Header Files   Compound Members  

Strawberry Class Reference

Strawberry is the main class of the Strawberry Library. More...

#include <Strawberry.h>

List of all members.


Public Members

 Strawberry ()
Constructor, allocates stuff.

 ~Strawberry ()
Destructor, deallocates stuff.

void AboutBoxVersion ()
Invokes a mini message box with library name, version, copyright, and contact information.

CString GetVersionInfo ()
Returns a string with the library's name and version information.

bool ExtractInfo (const CString &filename)
Opens an MP3 by filename and extracts all available ID3 tag and MPEG header information. These may then be accessed by using one of the GenerateReport functions or by accessing the sbID3Tag or sbMPEGHeader objects directly. More...

CString GenerateMPEGReport ()
Creates a report containing all MPEG header information available. More...

CString GenerateID3Report ()
Creates a report containing all ID3 tag information available. More...

CString GenerateReport ()
Creates a full report containing all ID3 tag and MPEG header information available. This combines the output of GenerateID3Report() and GenerateMPEGReport() into one large report. More...

bool IsMP3Loaded ()
Returns whether or not the current MP3 has been loaded and is valid.

bool IsID3TagLoaded ()
Returns whether or not the current MP3's ID3 tag has been loaded and is valid.

bool IsMPEGHeaderLoaded ()
Returns whether or not the current MP3's MPEG header has been loaded and is valid.

SB_ID3Tag ID3Tag
The ID3 tag object of the current Strawberry object.

SB_MPEGHeader MPEGHeader
The MPEG header object of the current Strawberry object.


Detailed Description

Strawberry is the main class of the Strawberry Library.

Includes ID3 tag functionality, and MPEG header extraction features. All low level data is abstracted into easy to use CStrings, ints, bools, and intuitively named enumerated types.


Member Function Documentation

bool Strawberry::ExtractInfo (const CString & filename)

Opens an MP3 by filename and extracts all available ID3 tag and MPEG header information. These may then be accessed by using one of the GenerateReport functions or by accessing the sbID3Tag or sbMPEGHeader objects directly.

Returns:
Boolean, true if the file was opened successfully and there were no errors extracting information.
See also:
GenerateMPEGReport(), GenerateID3Report(), GenerateReport()

CString Strawberry::GenerateMPEGReport ()

Creates a report containing all MPEG header information available.

Returns:
A multiline CString with the report text.
See also:
GenerateID3Report(), GenerateReport(), ExtractInfo(const CString &filename)

CString Strawberry::GenerateID3Report ()

Creates a report containing all ID3 tag information available.

Returns:
A multiline CString with the report text.
See also:
GenerateMPEGReport(), GenerateReport(), ExtractInfo(const CString &filename)

CString Strawberry::GenerateReport ()

Creates a full report containing all ID3 tag and MPEG header information available. This combines the output of GenerateID3Report() and GenerateMPEGReport() into one large report.

Returns:
A multiline CString with the report text.
See also:
GenerateMPEGReport(), GenerateID3Report(), ExtractInfo(const CString &filename)

The documentation for this class was generated from the following files:
Generated at Mon Feb 7 19:10:13 2000 for Strawberry by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999