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

yeppTitleFrame Class Reference

Handles a title frame. More...

#include <yepp.h>

List of all members.

Public Member Functions

 yeppTitleFrame (const char *buffer)
 Constructs a Title Frame from the buffer.

 yeppTitleFrame (const yeppTitleFrame &source)
 Copy Constructor.

 yeppTitleFrame ()
 Just some initialization.

void getTitle (string &title)
 Makes a copy of the title into the parameter.

char * getTitle (void)
 Returns a copy of the title, as newly allocated null-terminated char[].Free it when done.


Private Attributes

char start_frame:4
 If 0x04 then this is the first frame downloaded from the yepp.

char title_frame_no:4
 Between 1 and 3, this is the order position of the frame.

vector< char > characters
 Printable characters contained in the frame.


Friends

ostream & operator<< (ostream &os, const yeppTitleFrame &f)
 Friendly printout of the Title Frame.


Detailed Description

Handles a title frame.

Each track information has 1-3 title frames, dowloaded from device in reverse order.

Definition at line 59 of file yepp.h.


Constructor & Destructor Documentation

yeppTitleFrame::yeppTitleFrame const char *  buffer  ) 
 

Constructs a Title Frame from the buffer.

yeppTitleFrame::yeppTitleFrame const yeppTitleFrame source  ) 
 

Copy Constructor.

yeppTitleFrame::yeppTitleFrame  ) 
 

Just some initialization.


Member Function Documentation

void yeppTitleFrame::getTitle string &  title  ) 
 

Makes a copy of the title into the parameter.

Parameters:
title The title of this frame will be copied into this string

char* yeppTitleFrame::getTitle void   ) 
 

Returns a copy of the title, as newly allocated null-terminated char[].Free it when done.

Returns:
char[] null-terminated, containing a copy of the title. Free it when done.


Friends And Related Function Documentation

ostream& operator<< ostream &  os,
const yeppTitleFrame f
[friend]
 

Friendly printout of the Title Frame.


Member Data Documentation

char yeppTitleFrame::start_frame [private]
 

If 0x04 then this is the first frame downloaded from the yepp.

Definition at line 62 of file yepp.h.

char yeppTitleFrame::title_frame_no [private]
 

Between 1 and 3, this is the order position of the frame.

Definition at line 64 of file yepp.h.

vector<char> yeppTitleFrame::characters [private]
 

Printable characters contained in the frame.

Definition at line 66 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