FLAC  1.3.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
FLAC::Metadata::Padding Class Reference

#include <metadata.h>

Inheritance diagram for FLAC::Metadata::Padding:
FLAC::Metadata::Prototype

Public Member Functions

 Padding (::FLAC__StreamMetadata *object, bool copy)
 
 Padding (unsigned length)
 
Paddingassign (::FLAC__StreamMetadata *object, bool copy)
 
void set_length (unsigned length)
 
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
 
 Padding (const Padding &object)
 
 Padding (const ::FLAC__StreamMetadata &object)
 
 Padding (const ::FLAC__StreamMetadata *object)
 
Paddingoperator= (const Padding &object)
 
Paddingoperator= (const ::FLAC__StreamMetadata &object)
 
Paddingoperator= (const ::FLAC__StreamMetadata *object)
 
bool operator== (const Padding &object) const
 
bool operator== (const ::FLAC__StreamMetadata &object) const
 
bool operator== (const ::FLAC__StreamMetadata *object) const
 
bool operator!= (const Padding &object) const
 
bool operator!= (const ::FLAC__StreamMetadata &object) const
 
bool operator!= (const ::FLAC__StreamMetadata *object) const
 
bool operator== (const Prototype &) const
 
bool operator!= (const Prototype &) const
 

Protected Member Functions

Prototypeassign_object (::FLAC__StreamMetadata *object, bool copy)
 
virtual void clear ()
 

Protected Attributes

::FLAC__StreamMetadataobject_
 

Detailed Description

PADDING metadata block. See the overview for more, and the format specification.

Constructor & Destructor Documentation

FLAC::Metadata::Padding::Padding ( const Padding object)
inline

Constructs a copy of the given object. This form always performs a deep copy.

FLAC::Metadata::Padding::Padding ( const ::FLAC__StreamMetadata object)
inline

Constructs a copy of the given object. This form always performs a deep copy.

FLAC::Metadata::Padding::Padding ( const ::FLAC__StreamMetadata object)
inline

Constructs a copy of the given object. This form always performs a deep copy.

FLAC::Metadata::Padding::Padding ( ::FLAC__StreamMetadata object,
bool  copy 
)
inline

Constructs an object with copy control. See Prototype(::FLAC__StreamMetadata *object, bool copy).

FLAC::Metadata::Padding::Padding ( unsigned  length)

Constructs an object with the given length.

Member Function Documentation

Padding& FLAC::Metadata::Padding::operator= ( const Padding object)
inline

Assign from another object. Always performs a deep copy.

References FLAC::Metadata::Prototype::operator=().

Padding& FLAC::Metadata::Padding::operator= ( const ::FLAC__StreamMetadata object)
inline

Assign from another object. Always performs a deep copy.

References FLAC::Metadata::Prototype::operator=().

Padding& FLAC::Metadata::Padding::operator= ( const ::FLAC__StreamMetadata object)
inline

Assign from another object. Always performs a deep copy.

References FLAC::Metadata::Prototype::operator=().

Padding& FLAC::Metadata::Padding::assign ( ::FLAC__StreamMetadata object,
bool  copy 
)
inline
bool FLAC::Metadata::Padding::operator== ( const Padding object) const
inline

Check for equality, performing a deep compare by following pointers.

References FLAC::Metadata::Prototype::operator==().

bool FLAC::Metadata::Padding::operator== ( const ::FLAC__StreamMetadata object) const
inline

Check for equality, performing a deep compare by following pointers.

References FLAC::Metadata::Prototype::operator==().

bool FLAC::Metadata::Padding::operator== ( const ::FLAC__StreamMetadata object) const
inline

Check for equality, performing a deep compare by following pointers.

References FLAC::Metadata::Prototype::operator==().

bool FLAC::Metadata::Padding::operator!= ( const Padding object) const
inline

Check for inequality, performing a deep compare by following pointers.

References FLAC::Metadata::Prototype::operator!=().

bool FLAC::Metadata::Padding::operator!= ( const ::FLAC__StreamMetadata object) const
inline

Check for inequality, performing a deep compare by following pointers.

References FLAC::Metadata::Prototype::operator!=().

bool FLAC::Metadata::Padding::operator!= ( const ::FLAC__StreamMetadata object) const
inline

Check for inequality, performing a deep compare by following pointers.

References FLAC::Metadata::Prototype::operator!=().

void FLAC::Metadata::Padding::set_length ( unsigned  length)

Sets the length in bytes of the padding block.

Prototype& FLAC::Metadata::Prototype::assign_object ( ::FLAC__StreamMetadata object,
bool  copy 
)
protectedinherited
virtual void FLAC::Metadata::Prototype::clear ( )
protectedvirtualinherited

Deletes the underlying FLAC__StreamMetadata object.

bool FLAC::Metadata::Prototype::get_is_last ( ) const
inherited

Returns true if this block is the last block in a stream, else false.

Assertions:
::FLAC__MetadataType FLAC::Metadata::Prototype::get_type ( ) const
inherited

Returns the type of the block.

Assertions:
unsigned FLAC::Metadata::Prototype::get_length ( ) const
inherited

Returns the stream length of the metadata block.

Note
The length does not include the metadata block header, per spec.
Assertions:
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.

Assertions:

The documentation for this class was generated from the following file: