Audacity 3.2.0
|
EnvPoint, derived from XMLTagHandler, provides Envelope with a draggable point type. More...
#include <Envelope.h>
Public Member Functions | |
EnvPoint () noexcept | |
EnvPoint (double t, double val) noexcept | |
double | GetT () const noexcept |
void | SetT (double t) noexcept |
double | GetVal () const noexcept |
void | SetVal (Envelope *pEnvelope, double val) |
bool | HandleXMLTag (const std::string_view &tag, const AttributesList &attrs) override |
XMLTagHandler * | HandleXMLChild (const std::string_view &WXUNUSED(tag)) override |
Public Member Functions inherited from XMLTagHandler | |
XMLTagHandler () | |
virtual | ~XMLTagHandler () |
virtual bool | HandleXMLTag (const std::string_view &tag, const AttributesList &attrs)=0 |
virtual void | HandleXMLEndTag (const std::string_view &WXUNUSED(tag)) |
virtual void | HandleXMLContent (const std::string_view &WXUNUSED(content)) |
virtual XMLTagHandler * | HandleXMLChild (const std::string_view &tag)=0 |
void | ReadXMLEndTag (const char *tag) |
void | ReadXMLContent (const char *s, int len) |
XMLTagHandler * | ReadXMLChild (const char *tag) |
Private Attributes | |
double | mT {} |
double | mVal {} |
EnvPoint, derived from XMLTagHandler, provides Envelope with a draggable point type.
Definition at line 29 of file Envelope.h.
|
inlinenoexcept |
Definition at line 32 of file Envelope.h.
|
inlinenoexcept |
Definition at line 33 of file Envelope.h.
|
inlinenoexcept |
Definition at line 35 of file Envelope.h.
References mT.
Referenced by Envelope::CopyRange(), Envelope::EqualRange(), HandleXMLTag(), Envelope::RemoveUnneededPoints(), and Envelope::WriteXML().
|
inlinenoexcept |
Definition at line 37 of file Envelope.h.
References mVal.
Referenced by Envelope::CopyRange(), HandleXMLTag(), Envelope::RemoveUnneededPoints(), and Envelope::WriteXML().
|
inlineoverride |
Definition at line 58 of file Envelope.h.
|
inlineoverridevirtual |
Implements XMLTagHandler.
Definition at line 40 of file Envelope.h.
References GetT(), GetVal(), SetT(), and SetVal().
|
inlinenoexcept |
Definition at line 36 of file Envelope.h.
References mT.
Referenced by HandleXMLTag(), and Envelope::MoveDragPoint().
|
inline |
Definition at line 261 of file Envelope.h.
References Envelope::ClampValue(), and mVal.
Referenced by HandleXMLTag(), and Envelope::MoveDragPoint().
|
private |
Definition at line 64 of file Envelope.h.
|
private |
Definition at line 65 of file Envelope.h.