26#ifndef TAGLIB_IOSTREAM_H
27#define TAGLIB_IOSTREAM_H
44 operator const wchar_t *()
const;
45 operator const char *()
const;
47 const std::wstring &wstr()
const;
48 const std::string &str()
const;
50 String toString()
const;
53 const std::string m_name;
54 const std::wstring m_wname;
113 unsigned long start = 0,
unsigned long replace = 0) = 0;
122 virtual void removeBlock(
unsigned long start = 0,
unsigned long length = 0) = 0;
A byte vector.
Definition tbytevector.h:46
An abstract class that provides operations on a sequence of bytes.
Definition tiostream.h:63
virtual void removeBlock(unsigned long start=0, unsigned long length=0)=0
virtual void insert(const ByteVector &data, unsigned long start=0, unsigned long replace=0)=0
virtual bool readOnly() const =0
virtual void truncate(long length)=0
virtual void seek(long offset, Position p=Beginning)=0
virtual bool isOpen() const =0
virtual void writeBlock(const ByteVector &data)=0
virtual ByteVector readBlock(unsigned long length)=0
Position
Definition tiostream.h:68
@ Current
Seek from the current position in the file.
Definition tiostream.h:72
@ Beginning
Seek from the beginning of the file.
Definition tiostream.h:70
virtual FileName name() const =0
virtual long tell() const =0
A namespace for all TagLib related classes and functions.
Definition apefile.h:41
const char * FileName
Definition tiostream.h:57
#define TAGLIB_EXPORT
Definition taglib_export.h:40