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 
begin()22 SfxObjectShellArr_Impl::iterator SfxObjectShellArr_Impl::begin()
23 {
24     return maData.begin();
25 }
26 
end()27 SfxObjectShellArr_Impl::iterator SfxObjectShellArr_Impl::end()
28 {
29     return maData.end();
30 }
31 
operator [](size_t i) const32 const SfxObjectShell* SfxObjectShellArr_Impl::operator[] ( size_t i ) const
33 {
34     return maData[i];
35 }
36 
operator [](size_t i)37 SfxObjectShell* SfxObjectShellArr_Impl::operator[] ( size_t i )
38 {
39     return maData[i];
40 }
41 
erase(const iterator & it)42 void SfxObjectShellArr_Impl::erase( const iterator& it )
43 {
44     maData.erase(it);
45 }
46 
push_back(SfxObjectShell * p)47 void SfxObjectShellArr_Impl::push_back( SfxObjectShell* p )
48 {
49     maData.push_back(p);
50 }
51 
size() const52 size_t SfxObjectShellArr_Impl::size() const
53 {
54     return maData.size();
55 }
56 
begin()57 SfxViewFrameArr_Impl::iterator SfxViewFrameArr_Impl::begin()
58 {
59     return maData.begin();
60 }
61 
end()62 SfxViewFrameArr_Impl::iterator SfxViewFrameArr_Impl::end()
63 {
64     return maData.end();
65 }
66 
operator [](size_t i) const67 const SfxViewFrame* SfxViewFrameArr_Impl::operator[] ( size_t i ) const
68 {
69     return maData[i];
70 }
71 
operator [](size_t i)72 SfxViewFrame* SfxViewFrameArr_Impl::operator[] ( size_t i )
73 {
74     return maData[i];
75 }
76 
erase(const iterator & it)77 void SfxViewFrameArr_Impl::erase( const iterator& it )
78 {
79     maData.erase(it);
80 }
81 
push_back(SfxViewFrame * p)82 void SfxViewFrameArr_Impl::push_back( SfxViewFrame* p )
83 {
84     maData.push_back(p);
85 }
86 
size() const87 size_t SfxViewFrameArr_Impl::size() const
88 {
89     return maData.size();
90 }
91 
begin()92 SfxViewShellArr_Impl::iterator SfxViewShellArr_Impl::begin()
93 {
94     return maData.begin();
95 }
96 
end()97 SfxViewShellArr_Impl::iterator SfxViewShellArr_Impl::end()
98 {
99     return maData.end();
100 }
101 
operator [](size_t i) const102 const SfxViewShell* SfxViewShellArr_Impl::operator[] ( size_t i ) const
103 {
104     return maData[i];
105 }
106 
operator [](size_t i)107 SfxViewShell* SfxViewShellArr_Impl::operator[] ( size_t i )
108 {
109     return maData[i];
110 }
111 
erase(const iterator & it)112 void SfxViewShellArr_Impl::erase( const iterator& it )
113 {
114     maData.erase(it);
115 }
116 
push_back(SfxViewShell * p)117 void SfxViewShellArr_Impl::push_back( SfxViewShell* p )
118 {
119     maData.push_back(p);
120 }
121 
size() const122 size_t SfxViewShellArr_Impl::size() const
123 {
124     return maData.size();
125 }
126 
127 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
128