Nsound
0.9.4
|
#include <Nsound/Wavefile.h>
Public Member Functions | |
ID3v1Tag (const std::string &filename="", boolean show_warnings=true) | |
boolean | read (const std::string &filename, boolean show_warnings=true) |
Returns true if it found the tag, false otherwise. More... | |
boolean | write (const std::string &filename, boolean show_warnings=true) |
Returns true if it successfully wrote the tag to the end of the file, false otherwise. More... | |
Public Attributes | |
std::string | title |
std::string | artist |
std::string | album |
std::string | year |
std::string | comment |
char | genre |
Friends | |
std::ostream & | operator<< (std::ostream &out, const ID3v1Tag &rhs) |
Sends the contents of the Buffer to the output stream. More... | |
Definition at line 254 of file Wavefile.h.
ID3v1Tag::ID3v1Tag | ( | const std::string & | filename = "" , |
boolean | show_warnings = true |
||
) |
Definition at line 1532 of file Wavefile.cc.
References read().
Returns true if it found the tag, false otherwise.
Definition at line 1663 of file Wavefile.cc.
References album, RawTag::album, artist, RawTag::artist, comment, RawTag::comment, findID3v1Tag(), genre, RawTag::genre, RawTag::header, IO_ERROR, M_THROW, NOT_FOUND, title, RawTag::title, year, and RawTag::year.
Referenced by ID3v1Tag().
Returns true if it successfully wrote the tag to the end of the file, false otherwise.
Definition at line 1764 of file Wavefile.cc.
References album, RawTag::album, artist, RawTag::artist, comment, RawTag::comment, findID3v1Tag(), genre, RawTag::genre, RawTag::header, IO_ERROR, M_THROW, MIN, NOT_FOUND, title, RawTag::title, year, and RawTag::year.
|
friend |
Sends the contents of the Buffer to the output stream.
std::string Nsound::ID3v1Tag::title |
Definition at line 268 of file Wavefile.h.
Referenced by Nsound::operator<<(), read(), and write().
std::string Nsound::ID3v1Tag::artist |
Definition at line 269 of file Wavefile.h.
Referenced by Nsound::operator<<(), read(), and write().
std::string Nsound::ID3v1Tag::album |
Definition at line 270 of file Wavefile.h.
Referenced by Nsound::operator<<(), read(), and write().
std::string Nsound::ID3v1Tag::year |
Definition at line 271 of file Wavefile.h.
Referenced by Nsound::operator<<(), read(), and write().
std::string Nsound::ID3v1Tag::comment |
Definition at line 272 of file Wavefile.h.
Referenced by Nsound::operator<<(), read(), and write().
char Nsound::ID3v1Tag::genre |
Definition at line 273 of file Wavefile.h.
Referenced by Nsound::operator<<(), read(), and write().