tpicture.h,tpicturemap.h: updates comments

This commit is contained in:
Maxime Leblanc 2015-09-09 10:18:17 +02:00
parent 612c84731c
commit 34931b1d3f
2 changed files with 33 additions and 19 deletions

View File

@ -40,8 +40,8 @@ namespace TagLib {
public:
/**
* @brief The Type enum is based on types in id3v2 tags
/*!
* The Type enum is based on types in id3v2 tags
*/
enum Type {
//! A type not enumerated below
@ -90,21 +90,18 @@ namespace TagLib {
/*!
* Constructs an empty Picture.
*/
*/
Picture();
/**
* @brief Picture
* @param p
/*!
* Constructs a Picture object base on an other Picture
*/
Picture(const Picture &p);
/**
* @brief Picture
* @param type
* @param data
* @param mime
* @param description
/*!
* Constructs a Picture object based on the \a ByteVector given.
*
* \note type, mime and description are optional
*/
Picture(const ByteVector &data,
Type type = Other,
@ -116,9 +113,24 @@ namespace TagLib {
*/
virtual ~Picture();
/*!
* Returns the mime of the picture
*/
String mime() const;
/*!
* Returns the descritpion of the picture
*/
String description() const;
/*!
* Returns the type of the picture
*/
Type type() const;
/*!
* Returns datas of the picture
*/
ByteVector data() const;
/*!

View File

@ -34,7 +34,6 @@
namespace TagLib {
//! A list of pictures
typedef List<Picture> PictureList;
/*!
@ -64,21 +63,24 @@ namespace TagLib {
*/
virtual ~PictureMap();
/**
* @brief insert
* @param l
/*!
* Inserts a PictureList into the picture map
*/
void insert(const PictureList &l);
/**
* @brief insert
* @param p
/*!
* Inserts a Picture into the picture map
*/
void insert(const Picture &p);
};
}
/*!
* \relates TagLib::PictureMap
*
* Send the PictureMap to on output stream
*/
TAGLIB_EXPORT std::ostream &operator<<(std::ostream &s, const TagLib::PictureMap &map);
#endif // TAGLIB_PICTUREMAP_H