libmpd++
DASH MPD parsing and manipulation library
 
Loading...
Searching...
No Matches
com::bbc::libmpdpp::Label Class Reference

#include <libmpd++/Label.hh>

Inheritance diagram for com::bbc::libmpdpp::Label:
Collaboration diagram for com::bbc::libmpdpp::Label:

Public Member Functions

 Label ()
 
 Label (const std::string &val)
 
 Label (std::string &&val)
 
 Label (const Label &other)
 
 Label (Label &&other)
 
virtual ~Label ()
 
Labeloperator= (const std::string &val)
 
Labeloperator= (std::string &&val)
 
Labeloperator= (const Label &to_copy)
 
Labeloperator= (Label &&to_move)
 
bool operator== (const Label &to_compare) const
 
unsigned int id () const
 
Labelid (unsigned int val)
 
bool hasLang () const
 
const std::optional< std::string > & lang () const
 
Labellang (const std::nullopt_t &)
 
Labellang (const std::string &val)
 
Labellang (std::string &&val)
 
Labellang (const std::optional< std::string > &val)
 
Labellang (std::optional< std::string > &&val)
 

Detailed Description

Label class

Container for LabelType elements from an MPD (ISO 23009-1:2022 Clause 5.3.10.3).

Constructor & Destructor Documentation

◆ Label() [1/5]

com::bbc::libmpdpp::Label::Label ( )
inline

◆ Label() [2/5]

com::bbc::libmpdpp::Label::Label ( const std::string & val)
inline

◆ Label() [3/5]

com::bbc::libmpdpp::Label::Label ( std::string && val)
inline

◆ Label() [4/5]

com::bbc::libmpdpp::Label::Label ( const Label & other)
inline

◆ Label() [5/5]

com::bbc::libmpdpp::Label::Label ( Label && other)
inline

◆ ~Label()

virtual com::bbc::libmpdpp::Label::~Label ( )
inlinevirtual

Member Function Documentation

◆ hasLang()

bool com::bbc::libmpdpp::Label::hasLang ( ) const
inline

◆ id() [1/2]

unsigned int com::bbc::libmpdpp::Label::id ( ) const
inline

◆ id() [2/2]

Label & com::bbc::libmpdpp::Label::id ( unsigned int val)
inline

◆ lang() [1/6]

const std::optional< std::string > & com::bbc::libmpdpp::Label::lang ( ) const
inline

◆ lang() [2/6]

Label & com::bbc::libmpdpp::Label::lang ( const std::nullopt_t & )
inline

◆ lang() [3/6]

Label & com::bbc::libmpdpp::Label::lang ( const std::optional< std::string > & val)
inline

◆ lang() [4/6]

Label & com::bbc::libmpdpp::Label::lang ( const std::string & val)
inline

◆ lang() [5/6]

Label & com::bbc::libmpdpp::Label::lang ( std::optional< std::string > && val)
inline

◆ lang() [6/6]

Label & com::bbc::libmpdpp::Label::lang ( std::string && val)
inline

◆ operator=() [1/4]

Label & com::bbc::libmpdpp::Label::operator= ( const Label & to_copy)
inline

◆ operator=() [2/4]

Label & com::bbc::libmpdpp::Label::operator= ( const std::string & val)
inline

◆ operator=() [3/4]

Label & com::bbc::libmpdpp::Label::operator= ( Label && to_move)
inline

◆ operator=() [4/4]

Label & com::bbc::libmpdpp::Label::operator= ( std::string && val)
inline

◆ operator==()

bool com::bbc::libmpdpp::Label::operator== ( const Label & to_compare) const

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