#include <metadata.h>
Inheritance diagram for FLAC::Metadata::StreamInfo:
Public Member Functions | |
StreamInfo (const StreamInfo &object) | |
StreamInfo (const ::FLAC__StreamMetadata &object) | |
StreamInfo (const ::FLAC__StreamMetadata *object) | |
StreamInfo (::FLAC__StreamMetadata *object, bool copy) | |
StreamInfo & | operator= (const StreamInfo &object) |
StreamInfo & | operator= (const ::FLAC__StreamMetadata &object) |
StreamInfo & | operator= (const ::FLAC__StreamMetadata *object) |
StreamInfo & | assign (::FLAC__StreamMetadata *object, bool copy) |
bool | operator== (const StreamInfo &object) const |
bool | operator== (const ::FLAC__StreamMetadata &object) const |
bool | operator== (const ::FLAC__StreamMetadata *object) const |
bool | operator!= (const StreamInfo &object) const |
bool | operator!= (const ::FLAC__StreamMetadata &object) const |
bool | operator!= (const ::FLAC__StreamMetadata *object) const |
unsigned | get_min_blocksize () const |
unsigned | get_max_blocksize () const |
unsigned | get_min_framesize () const |
unsigned | get_max_framesize () const |
unsigned | get_sample_rate () const |
unsigned | get_channels () const |
unsigned | get_bits_per_sample () const |
FLAC__uint64 | get_total_samples () const |
const FLAC__byte * | get_md5sum () const |
void | set_min_blocksize (unsigned value) |
void | set_max_blocksize (unsigned value) |
void | set_min_framesize (unsigned value) |
void | set_max_framesize (unsigned value) |
void | set_sample_rate (unsigned value) |
void | set_channels (unsigned value) |
void | set_bits_per_sample (unsigned value) |
void | set_total_samples (FLAC__uint64 value) |
void | set_md5sum (const FLAC__byte value[16]) |
bool | operator== (const Prototype &) const |
bool | operator!= (const Prototype &) const |
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 | |
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. |
|
See format specification. |
|
Assigns an object with copy control. See Prototype(::FLAC__StreamMetadata *object, bool copy). |
|
Deletes the underlying FLAC__StreamMetadata object. |
|
Returns
|
|
Returns the type of the block.
Reimplemented in FLAC::Metadata::Picture. |
|
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.
|