File Class Reference

#include <wmafile.h>

Collaboration diagram for File:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual PropertiesaudioProperties () const
 File (const char *file, bool readProperties=true, Properties::ReadStyle propertiesStyle=Properties::Average)
virtual bool save ()
virtual TagLib::Tag * tag () const
virtual TagWMATag () const
virtual ~File ()

Protected Member Functions

void read (bool readProperties, Properties::ReadStyle propertiesStyle)
int readBYTE ()
unsigned int readDWORD ()
void readGUID (GUID &g)
long long readQWORD ()
void readString (int len, String &s)
int readWORD ()
ByteVector renderContentDescription ()
ByteVector renderExtendedContentDescription ()

Private Attributes

FilePrivated

Friends

class Attribute

Classes

class  FilePrivate

Detailed Description

Definition at line 41 of file wmafile.h.


Constructor & Destructor Documentation

File ( const char *  file,
bool  readProperties = true,
Properties::ReadStyle  propertiesStyle = Properties::Average 
)

virtual ~File (  )  [virtual]


Member Function Documentation

virtual Properties* audioProperties (  )  const [virtual]

Returns the WMA::Properties for this file.

void read ( bool  readProperties,
Properties::ReadStyle  propertiesStyle 
) [protected]

int readBYTE (  )  [protected]

unsigned int readDWORD (  )  [protected]

void readGUID ( GUID g  )  [protected]

long long readQWORD (  )  [protected]

void readString ( int  len,
String &  s 
) [protected]

int readWORD (  )  [protected]

ByteVector renderContentDescription (  )  [protected]

ByteVector renderExtendedContentDescription (  )  [protected]

virtual bool save (  )  [virtual]

Save the file.

This returns true if the save was successful.

virtual TagLib::Tag* tag (  )  const [virtual]

Returns the TagLib::Tag for this file.

virtual Tag* WMATag (  )  const [virtual]

Returns the WMA::Tag for this file.


Friends And Related Function Documentation

friend class Attribute [friend]

Definition at line 44 of file wmafile.h.


Member Data Documentation

FilePrivate* d [private]

Definition at line 91 of file wmafile.h.


The documentation for this class was generated from the following file:
Generated on Mon Aug 6 21:24:55 2007 for plai by  doxygen 1.5.1