20 #ifndef MPD_MIX_RAMP_INFO_HXX
21 #define MPD_MIX_RAMP_INFO_HXX
29 std::string start, end;
41 return !start.empty() || !end.empty();
46 return start.empty() ?
nullptr : start.c_str();
50 const char *
GetEnd() const noexcept {
51 return end.empty() ?
nullptr : end.c_str();
54 void SetStart(
const char *new_value) noexcept {
55 if (new_value ==
nullptr)
61 void SetStart(std::string &&new_value) noexcept {
62 start = std::move(new_value);
65 void SetEnd(
const char *new_value) noexcept {
66 if (new_value ==
nullptr)
72 void SetEnd(std::string &&new_value) noexcept {
73 end = std::move(new_value);
void SetStart(const char *new_value) noexcept
void SetStart(std::string &&new_value) noexcept
void SetEnd(std::string &&new_value) noexcept
gcc_pure const char * GetEnd() const noexcept
gcc_pure bool IsDefined() const noexcept
gcc_pure const char * GetStart() const noexcept
void SetEnd(const char *new_value) noexcept