// 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 #include #include #include #include "complex.h" #include "bytearray.h" #include "libsamplemacros.h" class LIBSAMPLE_API MapUser { public: MapUser() {} virtual ~MapUser() {} 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