LibreOffice Module vcl (master)  1
Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
DriverBlocklist::Parser Class Reference

#include <driverblocklist.hxx>

Public Member Functions

 Parser (const OUString &rURL, std::vector< DriverInfo > &rDriverList)
 
bool parse ()
 

Private Types

enum  BlockType {
  BlockType::WHITELIST,
  BlockType::BLACKLIST,
  BlockType::UNKNOWN
}
 

Private Member Functions

void handleEntry (DriverInfo &rDriver, xmlreader::XmlReader &rReader)
 
void handleList (xmlreader::XmlReader &rReader)
 
void handleContent (xmlreader::XmlReader &rReader)
 

Static Private Member Functions

static void handleDevices (DriverInfo &rDriver, xmlreader::XmlReader &rReader)
 

Private Attributes

BlockType meBlockType
 
std::vector< DriverInfo > & mrDriverList
 
OUString maURL
 

Detailed Description

Definition at line 102 of file driverblocklist.hxx.

Member Enumeration Documentation

Enumerator
WHITELIST 
BLACKLIST 
UNKNOWN 

Definition at line 114 of file driverblocklist.hxx.

Constructor & Destructor Documentation

DriverBlocklist::Parser::Parser ( const OUString &  rURL,
std::vector< DriverInfo > &  rDriverList 
)

Definition at line 177 of file driverblocklist.cxx.

References UNKNOWN.

Member Function Documentation

void DriverBlocklist::Parser::handleContent ( xmlreader::XmlReader rReader)
private
void DriverBlocklist::Parser::handleDevices ( DriverInfo rDriver,
xmlreader::XmlReader rReader 
)
staticprivate
void DriverBlocklist::Parser::handleEntry ( DriverInfo rDriver,
xmlreader::XmlReader rReader 
)
private
void DriverBlocklist::Parser::handleList ( xmlreader::XmlReader rReader)
private
bool DriverBlocklist::Parser::parse ( )

Definition at line 184 of file driverblocklist.cxx.

References handleContent(), maURL, and mrDriverList.

Referenced by DriverBlocklist::IsDeviceBlocked().

Member Data Documentation

OUString DriverBlocklist::Parser::maURL
private

Definition at line 123 of file driverblocklist.hxx.

Referenced by parse().

BlockType DriverBlocklist::Parser::meBlockType
private

Definition at line 121 of file driverblocklist.hxx.

Referenced by handleContent(), and handleEntry().

std::vector<DriverInfo>& DriverBlocklist::Parser::mrDriverList
private

Definition at line 122 of file driverblocklist.hxx.

Referenced by handleList(), and parse().


The documentation for this class was generated from the following files: