modifications.hxx (a2faadff) modifications.hxx (e9832dfc)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 12 unchanged lines hidden (view full) ---

21
22
23
24#ifndef INCLUDED_CONFIGMGR_SOURCE_MODIFICATIONS_HXX
25#define INCLUDED_CONFIGMGR_SOURCE_MODIFICATIONS_HXX
26
27#include "sal/config.h"
28
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 12 unchanged lines hidden (view full) ---

21
22
23
24#ifndef INCLUDED_CONFIGMGR_SOURCE_MODIFICATIONS_HXX
25#define INCLUDED_CONFIGMGR_SOURCE_MODIFICATIONS_HXX
26
27#include "sal/config.h"
28
29#include <map>
29#include <boost/unordered_map.hpp> // using the boost container because it explicitly allows recursive types
30
31#include "boost/noncopyable.hpp"
32
33#include "path.hxx"
30
31#include "boost/noncopyable.hpp"
32
33#include "path.hxx"
34#include "rtl/ustring.hxx"
34
35
35namespace rtl { class OUString; }
36
37namespace configmgr {
38
39class Modifications: private boost::noncopyable {
40public:
41 struct Node {
36namespace configmgr {
37
38class Modifications: private boost::noncopyable {
39public:
40 struct Node {
42 typedef std::map< rtl::OUString, Node > Children;
41 typedef boost::unordered_map< rtl::OUString, Node, rtl::OUStringHash > Children;
43
44 Children children;
45 };
46
47 Modifications();
48
49 ~Modifications();
50

--- 13 unchanged lines hidden ---
42
43 Children children;
44 };
45
46 Modifications();
47
48 ~Modifications();
49

--- 13 unchanged lines hidden ---