LibreOffice Module svx (master) 1
svdobjuserdatalist.hxx
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#ifndef INCLUDED_SVX_SVDOBJUSERDATALIST_HXX
11#define INCLUDED_SVX_SVDOBJUSERDATALIST_HXX
12
13#include <svx/svdobj.hxx>
14
15#include <vector>
16#include <memory>
17
18class SdrObjUserData;
19
21{
22 typedef std::vector<std::unique_ptr<SdrObjUserData>> ListType;
24
25public:
28
29 size_t GetUserDataCount() const;
30 SdrObjUserData& GetUserData(size_t nNum);
31 void AppendUserData(std::unique_ptr<SdrObjUserData> pData);
32 void DeleteUserData(size_t nNum);
33};
34
35#endif
36
37/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
void AppendUserData(std::unique_ptr< SdrObjUserData > pData)
size_t GetUserDataCount() const
void DeleteUserData(size_t nNum)
std::vector< std::unique_ptr< SdrObjUserData > > ListType
SdrObjUserData & GetUserData(size_t nNum)
User data of a drawing object, e.g.
Definition: svdobj.hxx:152