LibreOffice Module configmgr (master) 1
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Private Types | Private Member Functions | Private Attributes | List of all members
configmgr::Data Struct Reference

#include <data.hxx>

Collaboration diagram for configmgr::Data:
[legend]

Classes

struct  ExtensionXcu
 

Public Types

enum  { NO_LAYER = INT_MAX }
 

Public Member Functions

 Data ()
 
rtl::Reference< NoderesolvePathRepresentation (OUString const &pathRepresentation, OUString *canonicRepresentation, std::vector< OUString > *path, int *finalizedLayer) const
 
rtl::Reference< NodegetTemplate (int layer, OUString const &fullName) const
 
NodeMapgetComponents () const
 
AdditionsaddExtensionXcuAdditions (OUString const &url, int layer)
 
rtl::Reference< ExtensionXcuremoveExtensionXcuAdditions (OUString const &url)
 

Static Public Member Functions

static OUString createSegment (std::u16string_view templateName, OUString const &name)
 
static sal_Int32 parseSegment (OUString const &path, sal_Int32 index, OUString *name, bool *setElement, OUString *templateName)
 
static OUString fullTemplateName (std::u16string_view component, std::u16string_view name)
 
static bool equalTemplateNames (OUString const &shortName, OUString const &longName)
 

Public Attributes

NodeMap templates
 
Modifications modifications
 

Private Types

typedef config_map< rtl::Reference< ExtensionXcu > > ExtensionXcuAdditions
 

Private Member Functions

 Data (const Data &)=delete
 
Dataoperator= (const Data &)=delete
 

Private Attributes

rtl::Reference< Noderoot_
 
ExtensionXcuAdditions extensionXcuAdditions_
 

Detailed Description

Definition at line 41 of file data.hxx.

Member Typedef Documentation

◆ ExtensionXcuAdditions

Definition at line 90 of file data.hxx.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NO_LAYER 

Definition at line 42 of file data.hxx.

Constructor & Destructor Documentation

◆ Data() [1/2]

configmgr::Data::Data ( )

Definition at line 179 of file data.cxx.

◆ Data() [2/2]

configmgr::Data::Data ( const Data )
privatedelete

Member Function Documentation

◆ addExtensionXcuAdditions()

Additions * configmgr::Data::addExtensionXcuAdditions ( OUString const &  url,
int  layer 
)

◆ createSegment()

OUString configmgr::Data::createSegment ( std::u16string_view  templateName,
OUString const &  name 
)
static

◆ equalTemplateNames()

bool configmgr::Data::equalTemplateNames ( OUString const &  shortName,
OUString const &  longName 
)
static

◆ fullTemplateName()

OUString configmgr::Data::fullTemplateName ( std::u16string_view  component,
std::u16string_view  name 
)
static

◆ getComponents()

NodeMap & configmgr::Data::getComponents ( ) const

◆ getTemplate()

rtl::Reference< Node > configmgr::Data::getTemplate ( int  layer,
OUString const &  fullName 
) const

◆ operator=()

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

◆ parseSegment()

sal_Int32 configmgr::Data::parseSegment ( OUString const &  path,
sal_Int32  index,
OUString *  name,
bool *  setElement,
OUString *  templateName 
)
static

Definition at line 112 of file data.cxx.

References i, index, and name.

Referenced by configmgr::Access::getSubChild(), and resolvePathRepresentation().

◆ removeExtensionXcuAdditions()

rtl::Reference< Data::ExtensionXcu > configmgr::Data::removeExtensionXcuAdditions ( OUString const &  url)

◆ resolvePathRepresentation()

rtl::Reference< Node > configmgr::Data::resolvePathRepresentation ( OUString const &  pathRepresentation,
OUString *  canonicRepresentation,
std::vector< OUString > *  path,
int finalizedLayer 
) const

Member Data Documentation

◆ extensionXcuAdditions_

ExtensionXcuAdditions configmgr::Data::extensionXcuAdditions_
private

Definition at line 94 of file data.hxx.

Referenced by addExtensionXcuAdditions(), and removeExtensionXcuAdditions().

◆ modifications

Modifications configmgr::Data::modifications

◆ root_

rtl::Reference< Node > configmgr::Data::root_
private

Definition at line 92 of file data.hxx.

Referenced by getComponents(), and resolvePathRepresentation().

◆ templates

NodeMap configmgr::Data::templates

Definition at line 49 of file data.hxx.

Referenced by configmgr::XcsParser::endElement(), and getTemplate().


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