#include <metadata.h>
Inheritance diagram for FLAC::Metadata::Picture:
Public Member Functions | |
Picture (const Picture &object) | |
Picture (const ::FLAC__StreamMetadata &object) | |
Picture (const ::FLAC__StreamMetadata *object) | |
Picture (::FLAC__StreamMetadata *object, bool copy) | |
Picture & | operator= (const Picture &object) |
Picture & | operator= (const ::FLAC__StreamMetadata &object) |
Picture & | operator= (const ::FLAC__StreamMetadata *object) |
Picture & | assign (::FLAC__StreamMetadata *object, bool copy) |
bool | operator== (const Picture &object) const |
bool | operator== (const ::FLAC__StreamMetadata &object) const |
bool | operator== (const ::FLAC__StreamMetadata *object) const |
bool | operator!= (const Picture &object) const |
bool | operator!= (const ::FLAC__StreamMetadata &object) const |
bool | operator!= (const ::FLAC__StreamMetadata *object) const |
::FLAC__StreamMetadata_Picture_Type | get_type () const |
const char * | get_mime_type () const |
const FLAC__byte * | get_description () const |
FLAC__uint32 | get_width () const |
FLAC__uint32 | get_height () const |
FLAC__uint32 | get_depth () const |
FLAC__uint32 | get_colors () const |
FLAC__uint32 | get_data_length () const |
const FLAC__byte * | get_data () const |
void | set_type (::FLAC__StreamMetadata_Picture_Type type) |
bool | set_mime_type (const char *string) |
bool | set_description (const FLAC__byte *string) |
void | set_width (FLAC__uint32 value) const |
void | set_height (FLAC__uint32 value) const |
void | set_depth (FLAC__uint32 value) const |
void | set_colors (FLAC__uint32 value) const |
bool | set_data (const FLAC__byte *data, FLAC__uint32 data_length) |
bool | operator== (const Prototype &) const |
bool | operator!= (const Prototype &) const |
bool | is_valid () const |
bool | get_is_last () const |
unsigned | get_length () const |
void | set_is_last (bool) |
operator const ::FLAC__StreamMetadata * () 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 |
|
Constructs a copy of the given object. This form always performs a deep copy. |
|
Constructs an object with copy control. See Prototype(::FLAC__StreamMetadata *object, bool copy). |
|
Assign from another object. Always performs a deep copy. |
|
Assigns an object with copy control. See Prototype::assign_object(::FLAC__StreamMetadata *object, bool copy). |
|
Check for equality, performing a deep compare by following pointers. |
|
Check for inequality, performing a deep compare by following pointers. |
|
Returns the type of the block.
Reimplemented from FLAC::Metadata::Prototype. |
|
a return value of
|
|
See FLAC__metadata_object_picture_set_mime_type().
|
|
See FLAC__metadata_object_picture_set_description().
|
|
a value of
|
|
See FLAC__metadata_object_picture_set_data().
|
|
Assigns an object with copy control. See Prototype(::FLAC__StreamMetadata *object, bool copy). |
|
Deletes the underlying FLAC__StreamMetadata object. |
|
Returns
|
|
Returns the stream length of the metadata block.
|
|
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.
|