StormByte C++ Library: Multimedia module 0.0.9999
StormByte-Multimedia is a StormByte library module for parsing configuration files
Loading...
Searching...
No Matches
Public Member Functions | List of all members
StormByte::Multimedia::Pipeline::Config::Subtitle Class Reference

#include <StormByte/multimedia/pipeline/config/subtitle.hxx>

Inheritance diagram for StormByte::Multimedia::Pipeline::Config::Subtitle:
Inheritance graph
[legend]
Collaboration diagram for StormByte::Multimedia::Pipeline::Config::Subtitle:
Collaboration graph
[legend]

Public Member Functions

PointerType Clone () const override
 Deep copy.
 
PointerType Move () override
 Move into a new pointer.
 
Lifecycle
constexpr Subtitle () noexcept
 Empty subtitle config (Remux until Codec is set).
 
 Subtitle (const Subtitle &other) noexcept=default
 Copy constructor.
 
 Subtitle (Subtitle &&other) noexcept=default
 Move constructor.
 
virtual ~Subtitle () noexcept override=default
 Destructor.
 
Subtitleoperator= (const Subtitle &other) noexcept=default
 Copy assignment.
 
Subtitleoperator= (Subtitle &&other) noexcept=default
 Move assignment.
 
Encode
const StormByte::Multimedia::CodecCodec () const noexcept
 Destination codec.
 
void Codec (const StormByte::Multimedia::Codec &codec) noexcept
 Sets the destination codec (Encode).
 
const std::map< std::string, std::string > & FineTune () const noexcept
 Vendor leftovers.
 
void FineTune (std::map< std::string, std::string > options) noexcept
 Replaces the vendor dict.
 
- Public Member Functions inherited from StormByte::Multimedia::Pipeline::Config::Base
 Base (const Base &other) noexcept=default
 Copy constructor.
 
 Base (Base &&other) noexcept=default
 Move constructor.
 
virtual ~Base () noexcept override=default
 Destructor.
 
Baseoperator= (const Base &other) noexcept=default
 Copy assignment.
 
Baseoperator= (Base &&other) noexcept=default
 Move assignment.
 
constexpr enum StormByte::Multimedia::Type Type () const noexcept
 Media stamped by the leaf constructor.
 
const std::optional< std::string > & Language () const noexcept
 Language override.
 
void Language (std::string language) noexcept
 Sets the language override.
 
const std::optional< std::string > & Title () const noexcept
 Title override.
 
void Title (std::string title) noexcept
 Sets the title override.
 
const std::optional< bool > & Default () const noexcept
 Default-disposition override.
 
void Default (std::optional< bool > value) noexcept
 Sets or clears the default-disposition override.
 
const std::optional< bool > & Forced () const noexcept
 Forced-disposition override.
 
void Forced (std::optional< bool > value) noexcept
 Sets or clears the forced-disposition override.
 
const struct ImplementationImplementation () const noexcept
 Decoder / encoder pins.
 
void Implementation (struct Implementation implementation) noexcept
 Replaces both pins.
 

Additional Inherited Members

- Protected Member Functions inherited from StormByte::Multimedia::Pipeline::Config::Base
constexpr Base (enum StormByte::Multimedia::Type type) noexcept
 Empty overrides; media fixed for the leaf lifetime.
 

Constructor & Destructor Documentation

◆ Subtitle() [1/3]

constexpr StormByte::Multimedia::Pipeline::Config::Subtitle::Subtitle ( )
inlineconstexprnoexcept

Empty subtitle config (Remux until Codec is set).

◆ Subtitle() [2/3]

StormByte::Multimedia::Pipeline::Config::Subtitle::Subtitle ( const Subtitle other)
defaultnoexcept

Copy constructor.

Parameters
otherSource config.

◆ Subtitle() [3/3]

StormByte::Multimedia::Pipeline::Config::Subtitle::Subtitle ( Subtitle &&  other)
defaultnoexcept

Move constructor.

Parameters
otherConfig to take.

◆ ~Subtitle()

virtual StormByte::Multimedia::Pipeline::Config::Subtitle::~Subtitle ( )
overridevirtualdefaultnoexcept

Destructor.

Member Function Documentation

◆ Clone()

PointerType StormByte::Multimedia::Pipeline::Config::Subtitle::Clone ( ) const
inlineoverride

Deep copy.

Returns
Owning pointer to a new Subtitle.

◆ Codec() [1/2]

const StormByte::Multimedia::Codec * StormByte::Multimedia::Pipeline::Config::Subtitle::Codec ( ) const
inlinenoexcept

Destination codec.

Returns
Registry codec, or nullptr if this track is Remux.

◆ Codec() [2/2]

void StormByte::Multimedia::Pipeline::Config::Subtitle::Codec ( const StormByte::Multimedia::Codec codec)
inlinenoexcept

Sets the destination codec (Encode).

Parameters
codecRegistry codec. Must be subtitle at Plan validation.

◆ FineTune() [1/2]

const std::map< std::string, std::string > & StormByte::Multimedia::Pipeline::Config::Subtitle::FineTune ( ) const
inlinenoexcept

Vendor leftovers.

Returns
Key/value map.

◆ FineTune() [2/2]

void StormByte::Multimedia::Pipeline::Config::Subtitle::FineTune ( std::map< std::string, std::string >  options)
inlinenoexcept

Replaces the vendor dict.

Parameters
optionsKey/value pairs.

◆ Move()

PointerType StormByte::Multimedia::Pipeline::Config::Subtitle::Move ( )
inlineoverride

Move into a new pointer.

Returns
Owning pointer to the moved Subtitle.

◆ operator=() [1/2]

Subtitle & StormByte::Multimedia::Pipeline::Config::Subtitle::operator= ( const Subtitle other)
defaultnoexcept

Copy assignment.

Parameters
otherSource config.
Returns
*this.

◆ operator=() [2/2]

Subtitle & StormByte::Multimedia::Pipeline::Config::Subtitle::operator= ( Subtitle &&  other)
defaultnoexcept

Move assignment.

Parameters
otherConfig to take.
Returns
*this.

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