#include <libmpd++/Codecs.hh>
Codecs encoding values
This models the character set and language encodings for extended @codecs attribute values.
◆ Encoding() [1/4]
com::bbc::libmpdpp::Codecs::Encoding::Encoding |
( |
| ) |
|
|
inline |
Default constructor
Creates an empty Encoding instance.
◆ Encoding() [2/4]
com::bbc::libmpdpp::Codecs::Encoding::Encoding |
( |
const Encoding & | other | ) |
|
|
inline |
Copy constructor
Creates a new Encoding object which is a copy of other
.
- Parameters
-
◆ Encoding() [3/4]
com::bbc::libmpdpp::Codecs::Encoding::Encoding |
( |
Encoding & | other | ) |
|
|
inline |
Move constructor
Creates a new Encoding object which transfers the resources from other
.
- Parameters
-
◆ Encoding() [4/4]
com::bbc::libmpdpp::Codecs::Encoding::Encoding |
( |
const std::string & | encoding | ) |
|
Construct with encoding string
Make a new Encoding with encoding
as the encoding string.
- Parameters
-
encoding | The encoding to set this Encoding value to. |
◆ ~Encoding()
virtual com::bbc::libmpdpp::Codecs::Encoding::~Encoding |
( |
| ) |
|
|
inlinevirtual |
◆ operator std::string()
com::bbc::libmpdpp::Codecs::Encoding::operator std::string |
( |
| ) |
const |
|
inline |
String cast operator.
@pnchor Codecs_Encoding_operator_std_string
Return a string representation of the encodings values (as would appear in the @codecs attribute).
- Returns
- The character set and language encoding string.
◆ operator!=()
bool com::bbc::libmpdpp::Codecs::Encoding::operator!= |
( |
const Encoding & | other | ) |
const |
|
inline |
In-equality operator
Compares this Encoding with another for in-equality. This operator overload allows checking if two Encoding instances are not equal.
- Parameters
-
other | A constant reference to the Encoding instance to compare against. |
- Returns
true
if the Encoding are considered not equal, false
otherwise.
◆ operator=() [1/2]
Encoding & com::bbc::libmpdpp::Codecs::Encoding::operator= |
( |
const Encoding & | other | ) |
|
|
inline |
Copy operator
Copies the values from other
into this Encoding object.
- Parameters
-
- Returns
- This Encoding object.
◆ operator=() [2/2]
Move operator
Transfers the resources from other
into this Encoding object.
- Parameters
-
- Returns
- This Encoding object.
◆ operator==()
bool com::bbc::libmpdpp::Codecs::Encoding::operator== |
( |
const Encoding & | other | ) |
const |
|
inline |
Equality operator
Compares this Encoding with another for equality. This operator overload allows checking if two Encoding instances are equal.
- Parameters
-
other | A constant reference to the Encoding instance to compare against. |
- Returns
true
if the Encoding instances are considered equal, false
otherwise.
The documentation for this class was generated from the following file: