Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
5 : * This Source Code Form is subject to the terms of the Mozilla Public
6 : * License, v. 2.0. If a copy of the MPL was not distributed with this
7 : * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 : *
9 : * This file incorporates work covered by the following license notice:
10 : *
11 : * Licensed to the Apache Software Foundation (ASF) under one or more
12 : * contributor license agreements. See the NOTICE file distributed
13 : * with this work for additional information regarding copyright
14 : * ownership. The ASF licenses this file to you under the Apache
15 : * License, Version 2.0 (the "License"); you may not use this file
16 : * except in compliance with the License. You may obtain a copy of
17 : * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 : */
19 :
20 : #include <shellimpl.hxx>
21 :
22 4881 : SfxObjectShellArr_Impl::iterator SfxObjectShellArr_Impl::begin()
23 : {
24 4881 : return maData.begin();
25 : }
26 :
27 9762 : SfxObjectShellArr_Impl::iterator SfxObjectShellArr_Impl::end()
28 : {
29 9762 : return maData.end();
30 : }
31 :
32 0 : const SfxObjectShell* SfxObjectShellArr_Impl::operator[] ( size_t i ) const
33 : {
34 0 : return maData[i];
35 : }
36 :
37 24682 : SfxObjectShell* SfxObjectShellArr_Impl::operator[] ( size_t i )
38 : {
39 24682 : return maData[i];
40 : }
41 :
42 4881 : void SfxObjectShellArr_Impl::erase( iterator it )
43 : {
44 4881 : maData.erase(it);
45 4881 : }
46 :
47 4941 : void SfxObjectShellArr_Impl::push_back( SfxObjectShell* p )
48 : {
49 4941 : maData.push_back(p);
50 4941 : }
51 :
52 28705 : size_t SfxObjectShellArr_Impl::size() const
53 : {
54 28705 : return maData.size();
55 : }
56 :
57 3243 : SfxViewFrameArr_Impl::iterator SfxViewFrameArr_Impl::begin()
58 : {
59 3243 : return maData.begin();
60 : }
61 :
62 3243 : SfxViewFrameArr_Impl::iterator SfxViewFrameArr_Impl::end()
63 : {
64 3243 : return maData.end();
65 : }
66 :
67 0 : const SfxViewFrame* SfxViewFrameArr_Impl::operator[] ( size_t i ) const
68 : {
69 0 : return maData[i];
70 : }
71 :
72 60874856 : SfxViewFrame* SfxViewFrameArr_Impl::operator[] ( size_t i )
73 : {
74 60874856 : return maData[i];
75 : }
76 :
77 3243 : void SfxViewFrameArr_Impl::erase( iterator it )
78 : {
79 3243 : maData.erase(it);
80 3243 : }
81 :
82 3250 : void SfxViewFrameArr_Impl::push_back( SfxViewFrame* p )
83 : {
84 3250 : maData.push_back(p);
85 3250 : }
86 :
87 87765604 : size_t SfxViewFrameArr_Impl::size() const
88 : {
89 87765604 : return maData.size();
90 : }
91 :
92 3258 : SfxViewShellArr_Impl::iterator SfxViewShellArr_Impl::begin()
93 : {
94 3258 : return maData.begin();
95 : }
96 :
97 3258 : SfxViewShellArr_Impl::iterator SfxViewShellArr_Impl::end()
98 : {
99 3258 : return maData.end();
100 : }
101 :
102 0 : const SfxViewShell* SfxViewShellArr_Impl::operator[] ( size_t i ) const
103 : {
104 0 : return maData[i];
105 : }
106 :
107 5021 : SfxViewShell* SfxViewShellArr_Impl::operator[] ( size_t i )
108 : {
109 5021 : return maData[i];
110 : }
111 :
112 3258 : void SfxViewShellArr_Impl::erase( iterator it )
113 : {
114 3258 : maData.erase(it);
115 3258 : }
116 :
117 3265 : void SfxViewShellArr_Impl::push_back( SfxViewShell* p )
118 : {
119 3265 : maData.push_back(p);
120 3265 : }
121 :
122 5588 : size_t SfxViewShellArr_Impl::size() const
123 : {
124 5588 : return maData.size();
125 : }
126 :
127 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|