The flags for the codec.
More...
#include <codec.hxx>
|
| Codec (const std::string &flags) |
| Constructor.
|
|
| Codec (const Codec &other)=default |
| Copy constructor.
|
|
| Codec (Codec &&other) noexcept=default |
| Move constructor.
|
|
Codec & | operator= (const Codec &other)=default |
| Copy assignment operator.
|
|
Codec & | operator= (Codec &&other) noexcept=default |
| Move assignment operator.
|
|
| ~Codec () noexcept=default |
| Default destructor.
|
|
bool | EncodeSupported () const |
| Checks if the codec supports encoding.
|
|
bool | DecodeSupported () const |
| Checks if the codec supports decoding.
|
|
bool | LossySupported () const |
| Checks if the codec supports lossy encoding.
|
|
bool | LosslessSupported () const |
| Checks if the codec supports lossless encoding.
|
|
StormByte::Multimedia::Media::Type | Type () const |
| Gets the codec type.
|
|
Base::PointerType | Clone () const override |
| Creates a copy of the object.
|
|
Base::PointerType | Move () override |
| Moves the object.
|
|
◆ Codec() [1/3]
Alchemy::Media::Flags::Codec::Codec |
( |
const std::string & |
flags | ) |
|
◆ Codec() [2/3]
Alchemy::Media::Flags::Codec::Codec |
( |
const Codec & |
other | ) |
|
|
default |
Copy constructor.
- Parameters
-
other | The Codec object to copy. |
◆ Codec() [3/3]
Alchemy::Media::Flags::Codec::Codec |
( |
Codec && |
other | ) |
|
|
defaultnoexcept |
Move constructor.
- Parameters
-
other | The Codec object to move. |
◆ Clone()
Base::PointerType Alchemy::Media::Flags::Codec::Clone |
( |
| ) |
const |
|
override |
Creates a copy of the object.
- Returns
- A pointer to the copy of the object.
◆ DecodeSupported()
bool Alchemy::Media::Flags::Codec::DecodeSupported |
( |
| ) |
const |
Checks if the codec supports decoding.
- Returns
- True if the codec supports decoding, false otherwise.
◆ EncodeSupported()
bool Alchemy::Media::Flags::Codec::EncodeSupported |
( |
| ) |
const |
Checks if the codec supports encoding.
- Returns
- True if the codec supports encoding, false otherwise.
◆ LosslessSupported()
bool Alchemy::Media::Flags::Codec::LosslessSupported |
( |
| ) |
const |
Checks if the codec supports lossless encoding.
- Returns
- True if the codec supports lossless encoding, false otherwise.
◆ LossySupported()
bool Alchemy::Media::Flags::Codec::LossySupported |
( |
| ) |
const |
Checks if the codec supports lossy encoding.
- Returns
- True if the codec supports lossy encoding, false otherwise.
◆ Move()
Base::PointerType Alchemy::Media::Flags::Codec::Move |
( |
| ) |
|
|
override |
Moves the object.
- Returns
- A pointer to the moved object.
◆ operator=() [1/2]
Codec & Alchemy::Media::Flags::Codec::operator= |
( |
Codec && |
other | ) |
|
|
defaultnoexcept |
Move assignment operator.
- Parameters
-
other | The Codec object to move. |
- Returns
- A reference to this object.
◆ operator=() [2/2]
Codec & Alchemy::Media::Flags::Codec::operator= |
( |
const Codec & |
other | ) |
|
|
default |
Copy assignment operator.
- Parameters
-
other | The Codec object to copy. |
- Returns
- A reference to this object.
◆ Type()
StormByte::Multimedia::Media::Type Alchemy::Media::Flags::Codec::Type |
( |
| ) |
const |
Gets the codec type.
- Returns
- The codec type.
The documentation for this class was generated from the following file:
- /home/runner/work/Alchemy/Alchemy/lib/public/Alchemy/media/flags/codec.hxx