// Copyright (c) 2024 Codemongous LLC. All Rights Reserved.

#pragma once
#include "ISCW_FProperty.h"

#include <memory>
#include <string>

using std::shared_ptr;
using std::wstring;

namespace Sourcify
{	
	class ISCW_FMapProperty : public virtual ISCW_FProperty
	{
	public:
		virtual ~ISCW_FMapProperty() = default;

		virtual wstring GetCPPTypeCustom(wstring* ExtendedTypeText, SCW_EPropertyExportCPPFlags CPPExportFlags, const wstring& KeyTypeText, const wstring& InKeyExtendedTypeText, const wstring& ValueTypeText, const wstring& InValueExtendedTypeText) const = 0;

		virtual ISCW_FPropertyPtr GetKeyProperty() const = 0;

		virtual ISCW_FPropertyPtr GetValueProperty() const = 0;
	};

	using ISCW_FMapPropertyConstPtr = shared_ptr<const ISCW_FMapProperty>;
	using ISCW_FMapPropertyPtr = shared_ptr<ISCW_FMapProperty>;
} // namespace Sourcify