Semantic and style cleanups. render() should be const. Use for() loops to

loop through lists rather than while, fix bracket style.


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@358627 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
Scott Wheeler
2004-10-28 21:22:33 +00:00
parent d58cde9eca
commit a92f6b94dd
3 changed files with 43 additions and 23 deletions

View File

@ -35,8 +35,9 @@ namespace TagLib {
/*!
* This class provides the features of items in the APEv2 standard.
*/
struct Item
class Item
{
public:
/*!
* Enum of types an Item can have. The value of 3 is reserved.
*/
@ -93,10 +94,15 @@ namespace TagLib {
StringList toStringList() const;
/*!
* Render the item to a ByteVector
* \deprecated Use the const version.
*/
ByteVector render();
/*!
* Render the item to a ByteVector
*/
ByteVector render() const;
/*!
* Parse the item from the ByteVector \a data
*/