#include <s3mfile.h>
|
| | File (FileName file, bool readProperties=true, AudioProperties::ReadStyle propertiesStyle=AudioProperties::Average) |
| |
| | File (IOStream *stream, bool readProperties=true, AudioProperties::ReadStyle propertiesStyle=AudioProperties::Average) |
| |
| virtual | ~File () |
| |
| Mod::Tag * | tag () const |
| |
| PropertyMap | properties () const |
| |
| PropertyMap | setProperties (const PropertyMap &) |
| |
| S3M::Properties * | audioProperties () const |
| |
| bool | save () |
| |
| FileName | name () const |
| |
| PropertyMap | properties () const |
| |
| void | removeUnsupportedProperties (const StringList &properties) |
| |
| PropertyMap | setProperties (const PropertyMap &properties) |
| |
| ByteVector | readBlock (unsigned long length) |
| |
| void | writeBlock (const ByteVector &data) |
| |
| long | find (const ByteVector &pattern, long fromOffset=0, const ByteVector &before=ByteVector()) |
| |
| long | rfind (const ByteVector &pattern, long fromOffset=0, const ByteVector &before=ByteVector()) |
| |
| void | insert (const ByteVector &data, unsigned long start=0, unsigned long replace=0) |
| |
| void | removeBlock (unsigned long start=0, unsigned long length=0) |
| |
| bool | readOnly () const |
| |
| bool | isOpen () const |
| |
| bool | isValid () const |
| |
| void | seek (long offset, Position p=Beginning) |
| |
| void | clear () |
| |
| long | tell () const |
| |
| long | length () |
| |
◆ File() [1/2]
Constructs a ScreamTracker III from file.
- Note
- In the current implementation, both readProperties and propertiesStyle are ignored. The audio properties are always read.
◆ File() [2/2]
Constructs a ScreamTracker III file from stream.
- Note
- In the current implementation, both readProperties and propertiesStyle are ignored. The audio properties are always read.
-
TagLib will not take ownership of the stream, the caller is responsible for deleting it after the File object.
◆ ~File()
| virtual TagLib::S3M::File::~File |
( |
| ) |
|
|
virtual |
◆ audioProperties()
Returns the S3M::Properties for this file. If no audio properties were read then this will return a null pointer.
Implements TagLib::File.
◆ properties()
◆ save()
| bool TagLib::S3M::File::save |
( |
| ) |
|
|
virtual |
Save the file. This is the same as calling save(AllTags);
- Note
- Saving ScreamTracker III tags is not supported.
Implements TagLib::File.
◆ setProperties()
◆ tag()
| Mod::Tag* TagLib::S3M::File::tag |
( |
| ) |
const |
|
virtual |
Returns a pointer to this file's tag. This should be reimplemented in the concrete subclasses.
Implements TagLib::File.
The documentation for this class was generated from the following file: