LibreOffice Module configmgr (master)  1
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
configmgr::XcdParser Class Reference

#include <xcdparser.hxx>

Inheritance diagram for configmgr::XcdParser:
[legend]
Collaboration diagram for configmgr::XcdParser:
[legend]

Public Member Functions

 XcdParser (int layer, std::set< OUString > const &processedDependencies, Data &data)
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Private Types

enum  State {
  STATE_START,
  STATE_DEPENDENCIES,
  STATE_DEPENDENCY,
  STATE_COMPONENTS
}
 

Private Member Functions

virtual ~XcdParser () override
 
virtual xmlreader::XmlReader::Text getTextMode () override
 
virtual bool startElement (xmlreader::XmlReader &reader, int nsId, xmlreader::Span const &name, std::set< OUString > const *existingDependencies) override
 
virtual void endElement (xmlreader::XmlReader const &reader) override
 
virtual void characters (xmlreader::Span const &text) override
 

Private Attributes

int layer_
 
std::set< OUString > const & processedDependencies_
 
Datadata_
 
State state_
 
OUString dependencyFile_
 
bool dependencyOptional_
 
rtl::Reference< ParsernestedParser_
 
long nesting_
 

Additional Inherited Members

- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static voidoperator new (std::size_t nSize)
 
static voidoperator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 
- Protected Member Functions inherited from configmgr::Parser
 Parser ()
 
virtual ~Parser () override
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 38 of file xcdparser.hxx.

Member Enumeration Documentation

Enumerator
STATE_START 
STATE_DEPENDENCIES 
STATE_DEPENDENCY 
STATE_COMPONENTS 

Definition at line 57 of file xcdparser.hxx.

Constructor & Destructor Documentation

configmgr::XcdParser::XcdParser ( int  layer,
std::set< OUString > const &  processedDependencies,
Data data 
)

Definition at line 39 of file xcdparser.cxx.

configmgr::XcdParser::~XcdParser ( )
overrideprivatevirtual

Definition at line 45 of file xcdparser.cxx.

Member Function Documentation

void configmgr::XcdParser::characters ( xmlreader::Span const &  text)
overrideprivatevirtual

Implements configmgr::Parser.

Definition at line 166 of file xcdparser.cxx.

References nestedParser_.

void configmgr::XcdParser::endElement ( xmlreader::XmlReader const &  reader)
overrideprivatevirtual
xmlreader::XmlReader::Text configmgr::XcdParser::getTextMode ( )
overrideprivatevirtual

Implements configmgr::Parser.

Definition at line 47 of file xcdparser.cxx.

References nestedParser_, and xmlreader::XmlReader::NONE.

bool configmgr::XcdParser::startElement ( xmlreader::XmlReader reader,
int  nsId,
xmlreader::Span const &  name,
std::set< OUString > const *  existingDependencies 
)
overrideprivatevirtual

Member Data Documentation

Data& configmgr::XcdParser::data_
private

Definition at line 62 of file xcdparser.hxx.

Referenced by startElement().

OUString configmgr::XcdParser::dependencyFile_
private

Definition at line 64 of file xcdparser.hxx.

Referenced by startElement().

bool configmgr::XcdParser::dependencyOptional_
private

Definition at line 65 of file xcdparser.hxx.

Referenced by startElement().

int configmgr::XcdParser::layer_
private

Definition at line 60 of file xcdparser.hxx.

Referenced by startElement().

rtl::Reference< Parser > configmgr::XcdParser::nestedParser_
private

Definition at line 66 of file xcdparser.hxx.

Referenced by characters(), endElement(), getTextMode(), and startElement().

long configmgr::XcdParser::nesting_
private

Definition at line 67 of file xcdparser.hxx.

Referenced by endElement(), and startElement().

std::set< OUString > const& configmgr::XcdParser::processedDependencies_
private

Definition at line 61 of file xcdparser.hxx.

Referenced by startElement().

State configmgr::XcdParser::state_
private

Definition at line 63 of file xcdparser.hxx.

Referenced by endElement(), and startElement().


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