LibreOffice Module configmgr (master) 1
|
#include <xcdparser.hxx>
Public Member Functions | |
XcdParser (int layer, std::set< OUString > const &processedDependencies, Data &data) | |
virtual xmlreader::XmlReader::Text | getTextMode ()=0 |
virtual bool | startElement (xmlreader::XmlReader &reader, int nsId, xmlreader::Span const &name, std::set< OUString > const *existingDependencies)=0 |
virtual void | endElement (xmlreader::XmlReader const &reader)=0 |
virtual void | characters (xmlreader::Span const &text)=0 |
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_ |
Data & | data_ |
State | state_ |
OUString | dependencyFile_ |
bool | dependencyOptional_ |
rtl::Reference< Parser > | nestedParser_ |
long | nesting_ |
Additional Inherited Members | |
Static Public Member Functions inherited from salhelper::SimpleReferenceObject | |
static void * | operator new (std::size_t nSize) |
static void * | operator 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 |
Definition at line 38 of file xcdparser.hxx.
|
private |
Enumerator | |
---|---|
STATE_START | |
STATE_DEPENDENCIES | |
STATE_DEPENDENCY | |
STATE_COMPONENTS |
Definition at line 57 of file xcdparser.hxx.
configmgr::XcdParser::XcdParser | ( | int | layer, |
std::set< OUString > const & | processedDependencies, | ||
Data & | data | ||
) |
Definition at line 39 of file xcdparser.cxx.
|
overrideprivatevirtual |
Definition at line 45 of file xcdparser.cxx.
|
overrideprivatevirtual |
Implements configmgr::Parser.
Definition at line 166 of file xcdparser.cxx.
References nestedParser_, and text().
|
overrideprivatevirtual |
Implements configmgr::Parser.
Definition at line 145 of file xcdparser.cxx.
References nestedParser_, nesting_, state_, STATE_COMPONENTS, STATE_DEPENDENCIES, and STATE_DEPENDENCY.
|
overrideprivatevirtual |
Implements configmgr::Parser.
Definition at line 47 of file xcdparser.cxx.
References nestedParser_.
|
overrideprivatevirtual |
Implements configmgr::Parser.
Definition at line 52 of file xcdparser.cxx.
References xmlreader::Span::convertFromUtf8(), data_, dependencyFile_, dependencyOptional_, xmlreader::XmlReader::getAttributeValue(), xmlreader::XmlReader::getUrl(), xmlreader::Span::is(), layer_, LONG_MAX, name, xmlreader::XmlReader::NAMESPACE_NONE, configmgr::ParseManager::NAMESPACE_OOR, nestedParser_, nesting_, xmlreader::XmlReader::nextAttribute(), configmgr::xmldata::parseBoolean(), processedDependencies_, state_, STATE_COMPONENTS, STATE_DEPENDENCIES, STATE_DEPENDENCY, and STATE_START.
|
private |
Definition at line 62 of file xcdparser.hxx.
Referenced by startElement().
|
private |
Definition at line 64 of file xcdparser.hxx.
Referenced by startElement().
|
private |
Definition at line 65 of file xcdparser.hxx.
Referenced by startElement().
|
private |
Definition at line 60 of file xcdparser.hxx.
Referenced by startElement().
|
private |
Definition at line 66 of file xcdparser.hxx.
Referenced by characters(), endElement(), getTextMode(), and startElement().
|
private |
Definition at line 67 of file xcdparser.hxx.
Referenced by endElement(), and startElement().
|
private |
Definition at line 61 of file xcdparser.hxx.
Referenced by startElement().
|
private |
Definition at line 63 of file xcdparser.hxx.
Referenced by endElement(), and startElement().