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
00027 #ifndef TAGLIB_PRIVATEFRAME_H
00028 #define TAGLIB_PRIVATEFRAME_H
00029
00030 #include "id3v2frame.h"
00031 #include "taglib_export.h"
00032
00033 namespace TagLib {
00034
00035 namespace ID3v2 {
00036
00038
00039 class TAGLIB_EXPORT PrivateFrame : public Frame
00040 {
00041 friend class FrameFactory;
00042
00043 public:
00047 PrivateFrame();
00048
00054 explicit PrivateFrame(const ByteVector &data);
00055
00059 virtual ~PrivateFrame();
00060
00066 virtual String toString() const;
00067
00072 String owner() const;
00073
00077 ByteVector data() const;
00078
00083 void setOwner(const String &s);
00084
00088 void setData(const ByteVector &v);
00089
00090 protected:
00091
00092
00093 virtual void parseFields(const ByteVector &data);
00094 virtual ByteVector renderFields() const;
00095
00096 private:
00100 PrivateFrame(const ByteVector &data, Header *h);
00101
00102 PrivateFrame(const PrivateFrame &);
00103 PrivateFrame &operator=(const PrivateFrame &);
00104
00105 class PrivateFramePrivate;
00106 PrivateFramePrivate *d;
00107 };
00108
00109 }
00110 }
00111 #endif