mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-poco.git
synced 2025-11-04 20:47:56 +00:00
* remove leftover progen files * remove Data sources and turn headers into forwards * add SQL files #2059 * Data2sql: adjust Travis, AppVeyor & Makefiles (#2069) * Replace Data by SQL * Replace Data by SQL * Replace Data by SQL * Replace Data by SQL * fix header forwarding * Data2sql: Fixes for complete Travis CI success (#2071) * Replace Data by SQL * Replace Data by SQL * Replace Data by SQL * Replace Data by SQL * Replace Data by SQL * Restore DataFormatException * Replace Data by SQL * Replace Data by SQL * Replace Data by SQL * Replace Data by SQL * construct RowFilter from RecordSet reference instead of pointer * pass Container ref instead of ptr to Column * elimitate g++ warnings * SQL: remove raw pointers from interfaces #2094; add constness and move ops where appropriate * tidy up Postgres * ODBC fixes
48 lines
828 B
C++
48 lines
828 B
C++
//
|
|
// DynamicDateTime.h
|
|
//
|
|
// Library: Data
|
|
// Package: DataCore
|
|
// Module: DynamicDateTime
|
|
//
|
|
// Definition of the Date and Time cast operators for Poco::Dynamic::Var.
|
|
//
|
|
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
|
|
#ifndef SQL_DynamicDateTime_INCLUDED
|
|
#define SQL_DynamicDateTime_INCLUDED
|
|
|
|
|
|
#include "Poco/SQL/SQL.h"
|
|
#include "Poco/SQL/Date.h"
|
|
#include "Poco/SQL/Time.h"
|
|
#include "Poco/Dynamic/Var.h"
|
|
|
|
|
|
namespace Poco {
|
|
namespace SQL {
|
|
|
|
class Date;
|
|
class Time;
|
|
|
|
} } // namespace Poco::SQL
|
|
|
|
|
|
namespace Poco {
|
|
namespace Dynamic {
|
|
|
|
|
|
template <> Poco_SQL_API Var::operator Poco::SQL::Date () const;
|
|
template <> Poco_SQL_API Var::operator Poco::SQL::Time () const;
|
|
|
|
|
|
} } // namespace Poco::Dynamic
|
|
|
|
|
|
#endif // Data_DynamicDateTime_INCLUDED
|