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

#include <valueparser.hxx>

Collaboration diagram for configmgr::ValueParser:
[legend]

Public Member Functions

 ValueParser (int layer)
 
 ~ValueParser ()
 
xmlreader::XmlReader::Text getTextMode () const
 
bool startElement (xmlreader::XmlReader &reader, int nsId, xmlreader::Span const &name)
 
bool endElement ()
 
void characters (xmlreader::Span const &text)
 
void start (rtl::Reference< Node > const &property, OUString const &localizedName=OUString())
 
int getLayer () const
 

Public Attributes

Type type_
 
OString separator_
 

Private Types

enum  State {
  State::Text,
  State::TextUnicode,
  State::IT,
  State::ITUnicode
}
 

Private Member Functions

 ValueParser (const ValueParser &)=delete
 
ValueParseroperator= (const ValueParser &)=delete
 
template<typename T >
css::uno::Any convertItems ()
 

Private Attributes

int layer_
 
rtl::Reference< Nodenode_
 
OUString localizedName_
 
State state_
 
xmlreader::Pad pad_
 
std::vector< css::uno::Any > items_
 

Detailed Description

Definition at line 43 of file valueparser.hxx.

Member Enumeration Documentation

enum configmgr::ValueParser::State
strongprivate
Enumerator
Text 
TextUnicode 
IT 
ITUnicode 

Definition at line 73 of file valueparser.hxx.

Constructor & Destructor Documentation

configmgr::ValueParser::ValueParser ( int  layer)
explicit

Definition at line 248 of file valueparser.cxx.

configmgr::ValueParser::~ValueParser ( )

Definition at line 250 of file valueparser.cxx.

configmgr::ValueParser::ValueParser ( const ValueParser )
privatedelete

Member Function Documentation

void configmgr::ValueParser::characters ( xmlreader::Span const &  text)
template<typename T >
css::uno::Any configmgr::ValueParser::convertItems ( )
private

Definition at line 438 of file valueparser.cxx.

References assert(), items_, and void().

bool configmgr::ValueParser::endElement ( )
int configmgr::ValueParser::getLayer ( ) const
inline
xmlreader::XmlReader::Text configmgr::ValueParser::getTextMode ( ) const
ValueParser& configmgr::ValueParser::operator= ( const ValueParser )
privatedelete
void configmgr::ValueParser::start ( rtl::Reference< Node > const &  property,
OUString const &  localizedName = OUString() 
)
bool configmgr::ValueParser::startElement ( xmlreader::XmlReader reader,
int  nsId,
xmlreader::Span const &  name 
)

Member Data Documentation

std::vector< css::uno::Any > configmgr::ValueParser::items_
private

Definition at line 80 of file valueparser.hxx.

Referenced by convertItems(), endElement(), and getTextMode().

int configmgr::ValueParser::layer_
private

Definition at line 75 of file valueparser.hxx.

Referenced by endElement(), and getLayer().

OUString configmgr::ValueParser::localizedName_
private

Definition at line 77 of file valueparser.hxx.

Referenced by endElement(), and start().

rtl::Reference< Node > configmgr::ValueParser::node_
private

Definition at line 76 of file valueparser.hxx.

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

xmlreader::Pad configmgr::ValueParser::pad_
private

Definition at line 79 of file valueparser.hxx.

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

OString configmgr::ValueParser::separator_
State configmgr::ValueParser::state_
private

Definition at line 78 of file valueparser.hxx.

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

Type configmgr::ValueParser::type_

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