// Copyright (C) 2016 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #ifndef MAPUSER_H #define MAPUSER_H #include "libsamplemacros.h" #include "complex.h" #include "bytearray.h" #include #include #include #include class LIBSAMPLE_API MapUser { public: LIBMINIMAL_DEFAULT_COPY_MOVE(MapUser) MapUser() noexcept = default; virtual ~MapUser() = default; virtual std::map > createMap(); std::map > callCreateMap(); void showMap(std::map mapping); inline void setMap(std::map > map) { m_map = map; } inline std::map > getMap() { return m_map; } // Compile test static void pointerToMap(std::map *arg); static void referenceToMap(std::map &arg); inline const std::map &passMapIntValueType(const std::map& arg) { return arg; } std::map > > foo() const; private: std::map > m_map; }; #endif // MAPUSER_H