19#ifndef __AUDACITY_XML_TAG_HANDLER__
20#define __AUDACITY_XML_TAG_HANDLER__
32 static bool IsGoodFileName(
const FilePath & strFileName,
const FilePath & strDirName = {});
34 static bool IsGoodSubdirName(
const FilePath & strSubdirName,
const FilePath & strDirName = {});
35 static bool IsGoodPathName(
const FilePath & strPathName);
39using Attribute = std::pair<std::string_view, XMLAttributeValueView>;
75 void ReadXMLEndTag(
const char *tag);
76 void ReadXMLContent(
const char *s,
int len);
std::pair< std::string_view, XMLAttributeValueView > Attribute
std::vector< Attribute > AttributesList
This class is an interface which should be implemented by classes which wish to be able to load and s...
virtual XMLTagHandler * HandleXMLChild(const std::string_view &tag)=0
virtual void HandleXMLEndTag(const std::string_view &WXUNUSED(tag))
virtual bool HandleXMLTag(const std::string_view &tag, const AttributesList &attrs)=0
virtual void HandleXMLContent(const std::string_view &WXUNUSED(content))
XMLValueChecker implements static bool methods for checking input values from XML files.