File indexing completed on 2024-11-10 04:40:47

0001 /*
0002     SPDX-FileCopyrightText: 2017 Daniel Vrátil <dvratil@kde.og>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 class QString;
0010 
0011 namespace TypeHelper
0012 {
0013 bool isNumericType(const QString &name);
0014 bool isBoolType(const QString &name);
0015 
0016 /**
0017  * Returns true if @p node is of C++ or Qt type, C++ if it's a generated type
0018  */
0019 bool isBuiltInType(const QString &type);
0020 
0021 bool isContainer(const QString &type);
0022 
0023 QString containerType(const QString &type);
0024 QString containerName(const QString &type);
0025 bool isPointerType(const QString &type);
0026 
0027 }