#include <metadata.h>
Public Member Functions | |
Application (::FLAC__StreamMetadata *object, bool copy) | |
Application & | assign (::FLAC__StreamMetadata *object, bool copy) |
const FLAC__byte * | get_id () const |
const FLAC__byte * | get_data () const |
void | set_id (const FLAC__byte value[4]) |
bool | set_data (const FLAC__byte *data, unsigned length) |
bool | set_data (FLAC__byte *data, unsigned length, bool copy) |
bool | is_valid () const |
bool | get_is_last () const |
::FLAC__MetadataType | get_type () const |
unsigned | get_length () const |
void | set_is_last (bool) |
operator const ::FLAC__StreamMetadata * () const | |
Application (const Application &object) | |
Application (const ::FLAC__StreamMetadata &object) | |
Application (const ::FLAC__StreamMetadata *object) | |
Application & | operator= (const Application &object) |
Application & | operator= (const ::FLAC__StreamMetadata &object) |
Application & | operator= (const ::FLAC__StreamMetadata *object) |
bool | operator== (const Application &object) const |
bool | operator== (const ::FLAC__StreamMetadata &object) const |
bool | operator== (const ::FLAC__StreamMetadata *object) const |
bool | operator!= (const Application &object) const |
bool | operator!= (const ::FLAC__StreamMetadata &object) const |
bool | operator!= (const ::FLAC__StreamMetadata *object) const |
Protected Member Functions | |
Prototype & | assign_object (::FLAC__StreamMetadata *object, bool copy) |
virtual void | clear () |
Protected Attributes | |
::FLAC__StreamMetadata * | object_ |
Friends | |
class | SimpleIterator |
class | Iterator |
APPLICATION metadata block. See the overview for more, and the format specification.
FLAC::Metadata::Application::Application | ( | const Application & | object | ) | [inline] |
Constructs a copy of the given object. This form always performs a deep copy.
FLAC::Metadata::Application::Application | ( | const ::FLAC__StreamMetadata & | object | ) | [inline] |
Constructs a copy of the given object. This form always performs a deep copy.
FLAC::Metadata::Application::Application | ( | const ::FLAC__StreamMetadata * | object | ) | [inline] |
Constructs a copy of the given object. This form always performs a deep copy.
FLAC::Metadata::Application::Application | ( | ::FLAC__StreamMetadata * | object, | |
bool | copy | |||
) | [inline] |
Constructs an object with copy control. See Prototype(::FLAC__StreamMetadata *object, bool copy).
Application& FLAC::Metadata::Application::operator= | ( | const Application & | object | ) | [inline] |
Assign from another object. Always performs a deep copy.
Reimplemented from FLAC::Metadata::Prototype.
References FLAC::Metadata::Prototype::operator=().
Application& FLAC::Metadata::Application::operator= | ( | const ::FLAC__StreamMetadata & | object | ) | [inline] |
Constructs a copy of the given object. This form always performs a deep copy.
Reimplemented from FLAC::Metadata::Prototype.
References FLAC::Metadata::Prototype::operator=().
Application& FLAC::Metadata::Application::operator= | ( | const ::FLAC__StreamMetadata * | object | ) | [inline] |
Constructs a copy of the given object. This form always performs a deep copy.
Reimplemented from FLAC::Metadata::Prototype.
References FLAC::Metadata::Prototype::operator=().
Application& FLAC::Metadata::Application::assign | ( | ::FLAC__StreamMetadata * | object, | |
bool | copy | |||
) | [inline] |
Assigns an object with copy control. See Prototype::assign_object(::FLAC__StreamMetadata *object, bool copy).
References FLAC::Metadata::Prototype::assign_object().
bool FLAC::Metadata::Application::operator== | ( | const Application & | object | ) | const [inline] |
Check for equality, performing a deep compare by following pointers.
Reimplemented from FLAC::Metadata::Prototype.
References FLAC::Metadata::Prototype::operator==().
bool FLAC::Metadata::Application::operator== | ( | const ::FLAC__StreamMetadata & | object | ) | const [inline] |
Constructs a copy of the given object. This form always performs a deep copy.
Reimplemented from FLAC::Metadata::Prototype.
References FLAC::Metadata::Prototype::operator==().
bool FLAC::Metadata::Application::operator== | ( | const ::FLAC__StreamMetadata * | object | ) | const [inline] |
Constructs a copy of the given object. This form always performs a deep copy.
Reimplemented from FLAC::Metadata::Prototype.
References FLAC::Metadata::Prototype::operator==().
bool FLAC::Metadata::Application::operator!= | ( | const Application & | object | ) | const [inline] |
Check for inequality, performing a deep compare by following pointers.
Reimplemented from FLAC::Metadata::Prototype.
References FLAC::Metadata::Prototype::operator!=().
bool FLAC::Metadata::Application::operator!= | ( | const ::FLAC__StreamMetadata & | object | ) | const [inline] |
Constructs a copy of the given object. This form always performs a deep copy.
Reimplemented from FLAC::Metadata::Prototype.
References FLAC::Metadata::Prototype::operator!=().
bool FLAC::Metadata::Application::operator!= | ( | const ::FLAC__StreamMetadata * | object | ) | const [inline] |
Constructs a copy of the given object. This form always performs a deep copy.
Reimplemented from FLAC::Metadata::Prototype.
References FLAC::Metadata::Prototype::operator!=().
bool FLAC::Metadata::Application::set_data | ( | const FLAC__byte * | data, | |
unsigned | length | |||
) |
This form always copies data.
Prototype& FLAC::Metadata::Prototype::assign_object | ( | ::FLAC__StreamMetadata * | object, | |
bool | copy | |||
) | [protected, inherited] |
Assigns an object with copy control. See Prototype(::FLAC__StreamMetadata *object, bool copy).
Referenced by FLAC::Metadata::Unknown::assign(), FLAC::Metadata::Picture::assign(), FLAC::Metadata::CueSheet::assign(), FLAC::Metadata::VorbisComment::assign(), FLAC::Metadata::SeekTable::assign(), assign(), FLAC::Metadata::Padding::assign(), and FLAC::Metadata::StreamInfo::assign().
virtual void FLAC::Metadata::Prototype::clear | ( | ) | [protected, virtual, inherited] |
Deletes the underlying FLAC__StreamMetadata object.
bool FLAC::Metadata::Prototype::get_is_last | ( | ) | const [inherited] |
::FLAC__MetadataType FLAC::Metadata::Prototype::get_type | ( | ) | const [inherited] |
unsigned FLAC::Metadata::Prototype::get_length | ( | ) | const [inherited] |
Returns the stream length of the metadata block.
is_valid()
void FLAC::Metadata::Prototype::set_is_last | ( | bool | ) | [inherited] |
Sets the "is_last" flag for the block. When using the iterators it is not necessary to set this flag; they will do it for you.
is_valid()