LibreOffice Module configmgr (master) 1
|
#include <data.hxx>
Classes | |
struct | ExtensionXcu |
Public Types | |
enum | { NO_LAYER = INT_MAX } |
Public Member Functions | |
Data () | |
rtl::Reference< Node > | resolvePathRepresentation (OUString const &pathRepresentation, OUString *canonicRepresentation, std::vector< OUString > *path, int *finalizedLayer) const |
rtl::Reference< Node > | getTemplate (int layer, OUString const &fullName) const |
NodeMap & | getComponents () const |
Additions * | addExtensionXcuAdditions (OUString const &url, int layer) |
rtl::Reference< ExtensionXcu > | removeExtensionXcuAdditions (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 | |
Data & | operator= (const Data &)=delete |
Private Attributes | |
rtl::Reference< Node > | root_ |
ExtensionXcuAdditions | extensionXcuAdditions_ |
|
private |
|
privatedelete |
Definition at line 298 of file data.cxx.
References extensionXcuAdditions_, and i.
Referenced by configmgr::Components::insertExtensionXcuFile(), and configmgr::Components::parseFileList().
|
static |
Definition at line 81 of file data.cxx.
Referenced by configmgr::ChildAccess::getRelativePathRepresentation(), configmgr::Access::initBroadcasterAndChanges(), and resolvePathRepresentation().
|
static |
Definition at line 165 of file data.cxx.
References i.
Referenced by configmgr::Access::getSubChild(), configmgr::SetNode::isValidTemplate(), and resolvePathRepresentation().
|
static |
Definition at line 154 of file data.cxx.
References name.
Referenced by configmgr::XcsParser::handleGroup(), configmgr::XcsParser::handleSet(), and configmgr::xmldata::parseTemplateReference().
NodeMap & configmgr::Data::getComponents | ( | ) | const |
Definition at line 294 of file data.cxx.
References root_.
Referenced by configmgr::XcsParser::endElement(), configmgr::XcuParser::handleComponentData(), configmgr::dconf::readLayer(), configmgr::Components::removeExtensionXcuFile(), resolvePathRepresentation(), configmgr::writeModFile(), and configmgr::dconf::writeModifications().
rtl::Reference< Node > configmgr::Data::getTemplate | ( | int | layer, |
OUString const & | fullName | ||
) | const |
Definition at line 288 of file data.cxx.
References configmgr::NodeMap::findNode(), and templates.
Referenced by configmgr::Components::getTemplate(), configmgr::XcsParser::handleNodeRef(), and configmgr::XcuParser::handleSetNode().
|
static |
Definition at line 111 of file data.cxx.
References i, index, and name.
Referenced by configmgr::Access::getSubChild(), and resolvePathRepresentation().
rtl::Reference< Data::ExtensionXcu > configmgr::Data::removeExtensionXcuAdditions | ( | OUString const & | url | ) |
Definition at line 314 of file data.cxx.
References extensionXcuAdditions_, i, and SAL_INFO.
Referenced by configmgr::Components::insertExtensionXcuFile(), configmgr::Components::parseFileList(), and configmgr::Components::removeExtensionXcuFile().
rtl::Reference< Node > configmgr::Data::resolvePathRepresentation | ( | OUString const & | pathRepresentation, |
OUString * | canonicRepresentation, | ||
std::vector< OUString > * | path, | ||
int * | finalizedLayer | ||
) | const |
Definition at line 183 of file data.cxx.
References createSegment(), configmgr::NodeMap::end(), equalTemplateNames(), configmgr::NodeMap::find(), getComponents(), i, configmgr::SetNode::isValidTemplate(), configmgr::Node::KIND_LOCALIZED_PROPERTY, configmgr::Node::KIND_SET, n, NO_LAYER, p, parseSegment(), and root_.
Referenced by configmgr::XcuParser::handleItem(), and configmgr::Components::resolvePathRepresentation().
|
private |
Definition at line 94 of file data.hxx.
Referenced by addExtensionXcuAdditions(), and removeExtensionXcuAdditions().
Modifications configmgr::Data::modifications |
Definition at line 51 of file data.hxx.
Referenced by configmgr::Components::addModification(), configmgr::XcuParser::recordModification(), configmgr::Components::removeExtensionXcuFile(), configmgr::writeModFile(), configmgr::Components::writeModifications(), and configmgr::dconf::writeModifications().
|
private |
Definition at line 92 of file data.hxx.
Referenced by getComponents(), and resolvePathRepresentation().
NodeMap configmgr::Data::templates |
Definition at line 49 of file data.hxx.
Referenced by configmgr::XcsParser::endElement(), and getTemplate().