LibreOffice Module vcl (master) 1
|
#include <driverblocklist.hxx>
Public Member Functions | |
Parser (OUString aURL, std::vector< DriverInfo > &rDriverList, VersionType versionType) | |
bool | parse () |
Private Types | |
enum class | BlockType { ALLOWLIST , DENYLIST , UNKNOWN } |
Private Member Functions | |
void | handleEntry (DriverInfo &rDriver, xmlreader::XmlReader &rReader) |
void | handleList (xmlreader::XmlReader &rReader) |
void | handleContent (xmlreader::XmlReader &rReader) |
uint64_t | getVersion (std::string_view rString) |
Static Private Member Functions | |
static void | handleDevices (DriverInfo &rDriver, xmlreader::XmlReader &rReader) |
Private Attributes | |
BlockType | meBlockType |
std::vector< DriverInfo > & | mrDriverList |
OUString | maURL |
const VersionType | mVersionType |
Definition at line 116 of file driverblocklist.hxx.
|
strongprivate |
Enumerator | |
---|---|
ALLOWLIST | |
DENYLIST | |
UNKNOWN |
Definition at line 129 of file driverblocklist.hxx.
DriverBlocklist::Parser::Parser | ( | OUString | aURL, |
std::vector< DriverInfo > & | rDriverList, | ||
VersionType | versionType | ||
) |
Definition at line 183 of file driverblocklist.cxx.
|
private |
Definition at line 315 of file driverblocklist.cxx.
References mVersionType, nVersion, and DriverBlocklist::ParseDriverVersion().
Referenced by handleEntry().
|
private |
Definition at line 489 of file driverblocklist.cxx.
References ALLOWLIST, DENYLIST, handleList(), meBlockType, name, xmlreader::XmlReader::nextItem(), and UNKNOWN.
Referenced by parse().
|
staticprivate |
Definition at line 329 of file driverblocklist.cxx.
References xmlreader::XmlReader::getAttributeValue(), DriverBlocklist::DriverInfo::maDevices, DriverBlocklist::DriverInfo::maMsg, name, xmlreader::XmlReader::nextAttribute(), and xmlreader::XmlReader::nextItem().
Referenced by handleEntry().
|
private |
Definition at line 387 of file driverblocklist.cxx.
References ALLOWLIST, DENYLIST, xmlreader::XmlReader::getAttributeValue(), DriverBlocklist::getComparison(), DriverBlocklist::getOperatingSystem(), DriverBlocklist::GetVendorId(), getVersion(), handleDevices(), DriverBlocklist::DriverInfo::maAdapterVendor, DriverBlocklist::DriverInfo::mbAllowlisted, meBlockType, DriverBlocklist::DriverInfo::meComparisonOp, DriverBlocklist::DriverInfo::meOperatingSystem, DriverBlocklist::DriverInfo::mnDriverVersion, DriverBlocklist::DriverInfo::mnDriverVersionMax, name, xmlreader::XmlReader::nextAttribute(), SAL_WARN, and UNKNOWN.
Referenced by handleList().
|
private |
Definition at line 453 of file driverblocklist.cxx.
References handleEntry(), mrDriverList, name, and xmlreader::XmlReader::nextItem().
Referenced by handleContent().
bool DriverBlocklist::Parser::parse | ( | ) |
Definition at line 191 of file driverblocklist.cxx.
References handleContent(), maURL, and mrDriverList.
|
private |
Definition at line 138 of file driverblocklist.hxx.
Referenced by parse().
|
private |
Definition at line 136 of file driverblocklist.hxx.
Referenced by handleContent(), and handleEntry().
|
private |
Definition at line 137 of file driverblocklist.hxx.
Referenced by handleList(), and parse().
|
private |
Definition at line 139 of file driverblocklist.hxx.
Referenced by getVersion().