Branch libreoffice-5-0-4
[LibreOffice.git] / sfx2 / source / appl / childwinimpl.cxx
blob9b64734ad9d59a294d7f85be104c25c906706309
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 #include "childwinimpl.hxx"
22 size_t SfxChildWinContextArr_Impl::size() const
24 return maData.size();
27 const SfxChildWinContextFactory& SfxChildWinContextArr_Impl::operator []( size_t i ) const
29 return maData[i];
32 SfxChildWinContextFactory& SfxChildWinContextArr_Impl::operator []( size_t i )
34 return maData[i];
37 void SfxChildWinContextArr_Impl::push_back( SfxChildWinContextFactory* p )
39 maData.push_back(p);
42 size_t SfxChildWinFactArr_Impl::size() const
44 return maData.size();
47 const SfxChildWinFactory& SfxChildWinFactArr_Impl::operator []( size_t i ) const
49 return maData[i];
52 SfxChildWinFactory& SfxChildWinFactArr_Impl::operator []( size_t i )
54 return maData[i];
57 void SfxChildWinFactArr_Impl::push_back( SfxChildWinFactory* p )
59 maData.push_back(p);
62 void SfxChildWinFactArr_Impl::erase( iterator it )
64 maData.erase(it);
67 SfxChildWinFactArr_Impl::iterator SfxChildWinFactArr_Impl::begin()
69 return maData.begin();
72 SfxChildWinFactArr_Impl::const_iterator SfxChildWinFactArr_Impl::begin() const
74 return maData.begin();
77 SfxFrameArr_Impl::iterator SfxFrameArr_Impl::begin()
79 return maData.begin();
82 SfxFrameArr_Impl::iterator SfxFrameArr_Impl::end()
84 return maData.end();
87 SfxFrame* SfxFrameArr_Impl::front()
89 return maData.front();
92 void SfxFrameArr_Impl::erase( iterator it )
94 maData.erase(it);
97 SfxFrame* SfxFrameArr_Impl::operator[] ( size_t i )
99 return maData[i];
102 void SfxFrameArr_Impl::push_back( SfxFrame* p )
104 maData.push_back(p);
107 size_t SfxFrameArr_Impl::size() const
109 return maData.size();
112 bool SfxFrameArr_Impl::empty() const
114 return maData.empty();
117 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */