chore: hide some declarations from PocoDoc/C++ parser

This commit is contained in:
Günter Obiltschnig 2024-12-01 11:26:34 +01:00
parent 7d12dd8479
commit 8e023bbd45
4 changed files with 8 additions and 0 deletions

View File

@ -242,10 +242,12 @@ private:
// explicit instantiation definition
#ifndef POCO_DOC
template class Diagnostics<SQLHENV, SQL_HANDLE_ENV>;
template class Diagnostics<SQLHDBC, SQL_HANDLE_DBC>;
template class Diagnostics<SQLHSTMT, SQL_HANDLE_STMT>;
template class Diagnostics<SQLHDESC, SQL_HANDLE_DESC>;
#endif
using EnvironmentDiagnostics = Diagnostics<SQLHENV, SQL_HANDLE_ENV>;

View File

@ -125,10 +125,12 @@ private:
// explicit instantiation definition
#ifndef POCO_DOC
template class Error<SQLHENV, SQL_HANDLE_ENV>;
template class Error<SQLHDBC, SQL_HANDLE_DBC>;
template class Error<SQLHSTMT, SQL_HANDLE_STMT>;
template class Error<SQLHDESC, SQL_HANDLE_DESC>;
#endif
using EnvironmentError = Error<SQLHENV, SQL_HANDLE_ENV>;

View File

@ -139,10 +139,12 @@ private:
// explicit instantiation definition
#ifndef POCO_DOC
template class HandleException<SQLHENV, SQL_HANDLE_ENV>;
template class HandleException<SQLHDBC, SQL_HANDLE_DBC>;
template class HandleException<SQLHSTMT, SQL_HANDLE_STMT>;
template class HandleException<SQLHDESC, SQL_HANDLE_DESC>;
#endif
using EnvironmentException = HandleException<SQLHENV, SQL_HANDLE_ENV>;

View File

@ -107,6 +107,7 @@ inline std::streamsize SimpleRowFormatter::getSpacing() const
} } // namespace Poco::Data
#ifndef POCO_DOC
namespace std
{
template<>
@ -118,6 +119,7 @@ namespace std
s1.swap(s2);
}
}
#endif
#endif // Data_SimpleRowFormatter_INCLUDED