VorbisComments Class Reference

#include <VorbisComments.h>

List of all members.

Public Member Functions

 VorbisComments (void)
 ~VorbisComments (void)
string vendorString ()
bool setVendorString (string inVendorString)
unsigned long numUserComments ()
SingleVorbisCommentgetUserComment (unsigned long inIndex)
vector< SingleVorbisComment * > getCommentsByKey (string inKey)
bool addComment (SingleVorbisComment *inComment)
bool addComment (string inKey, string inValue)
bool parseOggPacket (OggPacket *inPacket, unsigned long inStartOffset)
OggPackettoOggPacket (unsigned char *inPrefixBuff, unsigned long inPrefixBuffSize)
string toString ()
unsigned long size ()

Protected Attributes

string mVendorString
vector< SingleVorbisComment * > mCommentList


Constructor & Destructor Documentation

VorbisComments::VorbisComments void   ) 
 

Definition at line 35 of file VorbisComments.cpp.

VorbisComments::~VorbisComments void   ) 
 

Definition at line 39 of file VorbisComments.cpp.


Member Function Documentation

bool VorbisComments::addComment string  inKey,
string  inValue
 

Definition at line 79 of file VorbisComments.cpp.

References mCommentList, SingleVorbisComment::setKey(), and SingleVorbisComment::setValue().

Here is the call graph for this function:

bool VorbisComments::addComment SingleVorbisComment inComment  ) 
 

Definition at line 75 of file VorbisComments.cpp.

References mCommentList.

Referenced by illiminable::Ogg::libVorbisCommentDotNET::DNVorbisComments::addComment().

vector< SingleVorbisComment * > VorbisComments::getCommentsByKey string  inKey  ) 
 

Definition at line 60 of file VorbisComments.cpp.

References SingleVorbisComment::key(), and mCommentList.

Referenced by renameCurrentFile().

Here is the call graph for this function:

SingleVorbisComment * VorbisComments::getUserComment unsigned long  inIndex  ) 
 

Definition at line 55 of file VorbisComments.cpp.

References mCommentList.

Referenced by illiminable::Ogg::libVorbisCommentDotNET::DNVorbisComments::getUserComment().

unsigned long VorbisComments::numUserComments  ) 
 

Definition at line 52 of file VorbisComments.cpp.

References mCommentList.

Referenced by illiminable::Ogg::libVorbisCommentDotNET::DNVorbisComments::numUserComments(), and renameCurrentFile().

bool VorbisComments::parseOggPacket OggPacket inPacket,
unsigned long  inStartOffset
 

Definition at line 87 of file VorbisComments.cpp.

References iLE_Math::charArrToULong(), mCommentList, mVendorString, OggPacket::packetData(), OggPacket::packetSize(), and SingleVorbisComment::parseComment().

Referenced by FileComments::acceptOggPage(), and pageCB().

Here is the call graph for this function:

bool VorbisComments::setVendorString string  inVendorString  ) 
 

Definition at line 46 of file VorbisComments.cpp.

References mVendorString.

Referenced by illiminable::Ogg::libVorbisCommentDotNET::DNVorbisComments::setVendorString().

unsigned long VorbisComments::size  ) 
 

Definition at line 219 of file VorbisComments.cpp.

References mCommentList, and mVendorString.

Referenced by illiminable::Ogg::libVorbisCommentDotNET::DNVorbisComments::size(), and toOggPacket().

OggPacket * VorbisComments::toOggPacket unsigned char *  inPrefixBuff,
unsigned long  inPrefixBuffSize
 

Definition at line 233 of file VorbisComments.cpp.

References mCommentList, mVendorString, size(), toString(), and iLE_Math::ULongToCharArr().

Here is the call graph for this function:

string VorbisComments::toString  ) 
 

Definition at line 208 of file VorbisComments.cpp.

References mCommentList, and mVendorString.

Referenced by main(), toOggPacket(), and illiminable::Ogg::libVorbisCommentDotNET::DNVorbisComments::toString().

string VorbisComments::vendorString  ) 
 

Definition at line 43 of file VorbisComments.cpp.

Referenced by illiminable::Ogg::libVorbisCommentDotNET::DNVorbisComments::vendorString().


Member Data Documentation

vector<SingleVorbisComment*> VorbisComments::mCommentList [protected]
 

Definition at line 66 of file VorbisComments.h.

Referenced by addComment(), getCommentsByKey(), getUserComment(), numUserComments(), parseOggPacket(), size(), toOggPacket(), and toString().

string VorbisComments::mVendorString [protected]
 

Definition at line 65 of file VorbisComments.h.

Referenced by parseOggPacket(), setVendorString(), size(), toOggPacket(), and toString().


The documentation for this class was generated from the following files:
Generated on Tue Feb 15 15:05:18 2005 for oggdsf by  doxygen 1.3.9