uniquefileidentifierframe.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef TAGLIB_UNIQUEFILEIDENTIFIERFRAME
00027 #define TAGLIB_UNIQUEFILEIDENTIFIERFRAME
00028
00029 #include <id3v2frame.h>
00030
00031 namespace TagLib {
00032
00033 namespace ID3v2 {
00034
00041
00042
00043 class TAGLIB_EXPORT UniqueFileIdentifierFrame : public ID3v2::Frame
00044 {
00045 friend class FrameFactory;
00046
00047 public:
00051 UniqueFileIdentifierFrame(const ByteVector &data);
00052
00057 UniqueFileIdentifierFrame(const String &owner, const ByteVector &id);
00058
00062 ~UniqueFileIdentifierFrame();
00063
00072 String owner() const;
00073
00079 ByteVector identifier() const;
00080
00086 void setOwner(const String &s);
00087
00093 void setIdentifier(const ByteVector &v);
00094
00095 virtual String toString() const;
00096
00097 protected:
00098 virtual void parseFields(const ByteVector &data);
00099 virtual ByteVector renderFields() const;
00100
00101 private:
00102 UniqueFileIdentifierFrame(const UniqueFileIdentifierFrame &);
00103 UniqueFileIdentifierFrame &operator=(UniqueFileIdentifierFrame &);
00104
00105 UniqueFileIdentifierFrame(const ByteVector &data, Header *h);
00106
00107 class UniqueFileIdentifierFramePrivate;
00108 UniqueFileIdentifierFramePrivate *d;
00109 };
00110 }
00111 }
00112
00113 #endif