Immutable container identity owned by StormByte::Multimedia::Registry.
More...
#include <StormByte/multimedia/container.hxx>
Immutable container identity owned by StormByte::Multimedia::Registry.
Name() is the StormByte key. FFmpeg format ids live only in the registry map.
◆ Container() [1/2]
| StormByte::Multimedia::Container::Container |
( |
const Container & |
| ) |
|
|
deletenoexcept |
Copy is disabled; instances are unique in the registry.
◆ Container() [2/2]
| StormByte::Multimedia::Container::Container |
( |
Container && |
| ) |
|
|
defaultnoexcept |
◆ ~Container()
| StormByte::Multimedia::Container::~Container |
( |
| ) |
|
|
defaultnoexcept |
◆ Allows()
| bool StormByte::Multimedia::Container::Allows |
( |
const CodecRefs & |
codecs | ) |
const |
|
noexcept |
Whether every codec in codecs is allowed in this container.
- Parameters
-
- Returns
- true if
codecs is empty or all entries are in the compatibility set.
◆ Description()
| constexpr std::string_view StormByte::Multimedia::Container::Description |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Human description.
- Returns
- View to a process-lifetime literal.
◆ Extension()
| constexpr std::string_view StormByte::Multimedia::Container::Extension |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Default file extension without a leading dot.
- Returns
- View to a table literal, or empty if the row has none.
◆ HasAccess()
| bool StormByte::Multimedia::Container::HasAccess |
( |
Access |
access | ) |
const |
|
noexcept |
Tests Read/Write flags.
- Parameters
-
- Returns
- true if every bit in
access is set.
◆ Name()
| constexpr std::string_view StormByte::Multimedia::Container::Name |
( |
| ) |
const |
|
inlineconstexprnoexcept |
StormByte container name.
- Returns
- View to a process-lifetime literal.
◆ operator!=()
| bool StormByte::Multimedia::Container::operator!= |
( |
const Container & |
other | ) |
const |
|
noexcept |
Identity inequality.
- Parameters
-
- Returns
- true if they are different instances.
◆ operator=() [1/2]
Copy assignment is disabled.
- Returns
- *this.
◆ operator=() [2/2]
Move assignment.
- Returns
- *this.
◆ operator==()
| bool StormByte::Multimedia::Container::operator== |
( |
const Container & |
other | ) |
const |
|
noexcept |
Identity equality (same registry slot).
- Parameters
-
- Returns
- true if both refer to the same instance.
◆ Registry
The documentation for this class was generated from the following file: