Main Page | Namespace List | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

yeppTrack Class Reference

Handles the info for a track. More...

#include <yepp.h>

Collaboration diagram for yeppTrack:

Collaboration graph
List of all members.

Public Member Functions

 yeppTrack ()
 Empty constructor.

 yeppTrack (const yeppTrack &source)
 Copy constructor.

int build (const char *buffer)
 Build a Track from the buffer.

int build_title (void)
char *const getTrackID (void)

Public Attributes

list< yeppTitleFrametitle_frames
 All the title frames, in the right order.

yeppInfoFrame info_frame
 Info frame of the track.

string title
 Title of the track.


ostream & operator<< (ostream &os, const yeppTrack &t)
 Friendly printout of the track.

Detailed Description

Handles the info for a track.

See also:


Definition at line 115 of file yepp.h.

Constructor & Destructor Documentation

yeppTrack::yeppTrack  )  [inline]

Empty constructor.

Definition at line 126 of file yepp.h.

yeppTrack::yeppTrack const yeppTrack source  ) 

Copy constructor.

Member Function Documentation

int yeppTrack::build const char *  buffer  ) 

Build a Track from the buffer.

Builds the filename, identifies track title frames and track info frame

  • -1 if buffer does not start with a title frame
  • -2 if cannot build title of the song (no title frames)
  • length in bytes of the buffer read to build this track otherwise

int yeppTrack::build_title void   ) 

char* const yeppTrack::getTrackID void   )  [inline]

Definition at line 138 of file yepp.h.

References yeppInfoFrame::getTrackID(), and info_frame.

Friends And Related Function Documentation

ostream& operator<< ostream &  os,
const yeppTrack t

Friendly printout of the track.

Member Data Documentation

list<yeppTitleFrame> yeppTrack::title_frames

All the title frames, in the right order.

Definition at line 119 of file yepp.h.

yeppInfoFrame yeppTrack::info_frame

Info frame of the track.

Definition at line 121 of file yepp.h.

Referenced by getTrackID().

string yeppTrack::title

Title of the track.

Definition at line 123 of file yepp.h.

The documentation for this class was generated from the following file:
Generated on Sun May 29 16:13:38 2005 for yex by doxygen 1.3.7