LibreOffice Module svx (master) 1
svdobjuserdatalist.cxx
Go to the documentation of this file.
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
10#include <memory>
12
15
17{
18 return maList.size();
19}
20
22{
23 return *maList.at(nNum);
24}
25
26void SdrObjUserDataList::AppendUserData(std::unique_ptr<SdrObjUserData> pData)
27{
28 maList.push_back(std::move(pData));
29}
30
32{
33 maList.erase(maList.begin()+nNum);
34}
35
36/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
void AppendUserData(std::unique_ptr< SdrObjUserData > pData)
size_t GetUserDataCount() const
void DeleteUserData(size_t nNum)
SdrObjUserData & GetUserData(size_t nNum)
User data of a drawing object, e.g.
Definition: svdobj.hxx:153
std::unique_ptr< sal_Int32[]> pData