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 class  State {
  Text ,
  TextUnicode ,
  IT ,
  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

◆ State

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

Definition at line 73 of file valueparser.hxx.

Constructor & Destructor Documentation

◆ ValueParser() [1/2]

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

Definition at line 250 of file valueparser.cxx.

◆ ~ValueParser()

configmgr::ValueParser::~ValueParser ( )

Definition at line 252 of file valueparser.cxx.

◆ ValueParser() [2/2]

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

Member Function Documentation

◆ characters()

void configmgr::ValueParser::characters ( xmlreader::Span const &  text)

◆ convertItems()

template<typename T >
css::uno::Any configmgr::ValueParser::convertItems
private

Definition at line 440 of file valueparser.cxx.

References i, and items_.

◆ endElement()

bool configmgr::ValueParser::endElement ( )

◆ getLayer()

int configmgr::ValueParser::getLayer ( ) const
inline

◆ getTextMode()

xmlreader::XmlReader::Text configmgr::ValueParser::getTextMode ( ) const

◆ operator=()

ValueParser & configmgr::ValueParser::operator= ( const ValueParser )
privatedelete

◆ start()

void configmgr::ValueParser::start ( rtl::Reference< Node > const &  property,
OUString const &  localizedName = OUString() 
)

◆ startElement()

bool configmgr::ValueParser::startElement ( xmlreader::XmlReader reader,
int  nsId,
xmlreader::Span const &  name 
)

Member Data Documentation

◆ items_

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

Definition at line 80 of file valueparser.hxx.

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

◆ layer_

int configmgr::ValueParser::layer_
private

Definition at line 75 of file valueparser.hxx.

Referenced by endElement(), and getLayer().

◆ localizedName_

OUString configmgr::ValueParser::localizedName_
private

Definition at line 77 of file valueparser.hxx.

Referenced by endElement(), and start().

◆ node_

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

Definition at line 76 of file valueparser.hxx.

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

◆ pad_

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

Definition at line 79 of file valueparser.hxx.

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

◆ separator_

OString configmgr::ValueParser::separator_

◆ state_

State configmgr::ValueParser::state_
private

Definition at line 78 of file valueparser.hxx.

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

◆ type_

Type configmgr::ValueParser::type_

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