mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-02 01:41:05 +02:00
fixed unused warnings
This commit is contained in:
parent
d70e01f07e
commit
c8af3f1c92
@ -49,7 +49,7 @@ public:
|
|||||||
|
|
||||||
AbstractExtraction(Poco::UInt32 limit = Limit::LIMIT_UNLIMITED,
|
AbstractExtraction(Poco::UInt32 limit = Limit::LIMIT_UNLIMITED,
|
||||||
Poco::UInt32 position = 0, bool bulk = false);
|
Poco::UInt32 position = 0, bool bulk = false);
|
||||||
/// Creates the AbstractExtraction. A limit value equal to EXTRACT_UNLIMITED (0xffffffffu)
|
/// Creates the AbstractExtraction. A limit value equal to EXTRACT_UNLIMITED (0xffffffffu)
|
||||||
/// means that we extract as much data as possible during one execute.
|
/// means that we extract as much data as possible during one execute.
|
||||||
/// Otherwise the limit value is used to partition data extracting to a limited amount of rows.
|
/// Otherwise the limit value is used to partition data extracting to a limited amount of rows.
|
||||||
|
|
||||||
@ -74,7 +74,7 @@ public:
|
|||||||
virtual std::size_t numOfRowsHandled() const = 0;
|
virtual std::size_t numOfRowsHandled() const = 0;
|
||||||
/// Returns the number of rows that the extraction handles.
|
/// Returns the number of rows that the extraction handles.
|
||||||
///
|
///
|
||||||
/// The trivial case will be one single row but
|
/// The trivial case will be one single row but
|
||||||
/// for collection data types (ie vector) it can be larger.
|
/// for collection data types (ie vector) it can be larger.
|
||||||
|
|
||||||
virtual std::size_t numOfRowsAllowed() const = 0;
|
virtual std::size_t numOfRowsAllowed() const = 0;
|
||||||
@ -102,8 +102,8 @@ public:
|
|||||||
/// Gets the limit.
|
/// Gets the limit.
|
||||||
|
|
||||||
virtual bool isNull(std::size_t row) const;
|
virtual bool isNull(std::size_t row) const;
|
||||||
/// In implementations, this function returns true if value at row is null,
|
/// In implementations, this function returns true if value at row is null,
|
||||||
/// false otherwise.
|
/// false otherwise.
|
||||||
/// Normal behavior is to replace nulls with default values.
|
/// Normal behavior is to replace nulls with default values.
|
||||||
/// However, extraction implementations may remember the underlying database
|
/// However, extraction implementations may remember the underlying database
|
||||||
/// null values and be able to later provide information about them.
|
/// null values and be able to later provide information about them.
|
||||||
@ -125,7 +125,7 @@ public:
|
|||||||
/// Returns the force empty string flag.
|
/// Returns the force empty string flag.
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
bool isValueNull(const T& str, bool deflt)
|
bool isValueNull(const T& /*str*/, bool deflt)
|
||||||
/// Utility function to determine the nullness of the value.
|
/// Utility function to determine the nullness of the value.
|
||||||
/// This generic version always returns default value
|
/// This generic version always returns default value
|
||||||
/// (i.e. does nothing). The std::string overload does
|
/// (i.e. does nothing). The std::string overload does
|
||||||
@ -140,7 +140,7 @@ public:
|
|||||||
///
|
///
|
||||||
/// Returns true when folowing conditions are met:
|
/// Returns true when folowing conditions are met:
|
||||||
///
|
///
|
||||||
/// - string is empty
|
/// - string is empty
|
||||||
/// - getEmptyStringIsNull() returns true
|
/// - getEmptyStringIsNull() returns true
|
||||||
|
|
||||||
bool isValueNull(const Poco::UTF16String& str, bool deflt);
|
bool isValueNull(const Poco::UTF16String& str, bool deflt);
|
||||||
@ -148,7 +148,7 @@ public:
|
|||||||
///
|
///
|
||||||
/// Returns true when folowing conditions are met:
|
/// Returns true when folowing conditions are met:
|
||||||
///
|
///
|
||||||
/// - string is empty
|
/// - string is empty
|
||||||
/// - getEmptyStringIsNull() returns true
|
/// - getEmptyStringIsNull() returns true
|
||||||
|
|
||||||
private:
|
private:
|
||||||
@ -207,7 +207,7 @@ inline Poco::UInt32 AbstractExtraction::getLimit() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
inline bool AbstractExtraction::isNull(std::size_t row) const
|
inline bool AbstractExtraction::isNull(std::size_t /*row*/) const
|
||||||
{
|
{
|
||||||
throw NotImplementedException("Check for null values not implemented.");
|
throw NotImplementedException("Check for null values not implemented.");
|
||||||
}
|
}
|
||||||
|
@ -49,8 +49,8 @@ public:
|
|||||||
|
|
||||||
Extraction(T& result, const Position& pos = Position(0)):
|
Extraction(T& result, const Position& pos = Position(0)):
|
||||||
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
||||||
_rResult(result),
|
_rResult(result),
|
||||||
_default(),
|
_default(),
|
||||||
_extracted(false),
|
_extracted(false),
|
||||||
_null(false)
|
_null(false)
|
||||||
/// Creates an Extraction object at specified position.
|
/// Creates an Extraction object at specified position.
|
||||||
@ -58,10 +58,10 @@ public:
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
Extraction(T& result, const T& def, const Position& pos = Position(0)):
|
Extraction(T& result, const T& def, const Position& pos = Position(0)):
|
||||||
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
||||||
_rResult(result),
|
_rResult(result),
|
||||||
_default(def),
|
_default(def),
|
||||||
_extracted(false),
|
_extracted(false),
|
||||||
_null(false)
|
_null(false)
|
||||||
/// Creates an Extraction object at specified position.
|
/// Creates an Extraction object at specified position.
|
||||||
@ -89,7 +89,7 @@ public:
|
|||||||
return 1u;
|
return 1u;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool isNull(std::size_t row = 0) const
|
bool isNull(std::size_t /*row*/ = 0) const
|
||||||
{
|
{
|
||||||
return _null;
|
return _null;
|
||||||
}
|
}
|
||||||
@ -101,7 +101,7 @@ public:
|
|||||||
AbstractExtractor::Ptr pExt = getExtractor();
|
AbstractExtractor::Ptr pExt = getExtractor();
|
||||||
TypeHandler<T>::extract(pos, _rResult, _default, pExt);
|
TypeHandler<T>::extract(pos, _rResult, _default, pExt);
|
||||||
_null = isValueNull<T>(_rResult, pExt->isNull(pos));
|
_null = isValueNull<T>(_rResult, pExt->isNull(pos));
|
||||||
|
|
||||||
return 1u;
|
return 1u;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -133,23 +133,23 @@ class Extraction<std::vector<T> >: public AbstractExtraction
|
|||||||
/// Vector Data Type specialization for extraction of values from a query result set.
|
/// Vector Data Type specialization for extraction of values from a query result set.
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
typedef std::vector<T> ValType;
|
typedef std::vector<T> ValType;
|
||||||
typedef SharedPtr<ValType> ValPtr;
|
typedef SharedPtr<ValType> ValPtr;
|
||||||
typedef Extraction<ValType> Type;
|
typedef Extraction<ValType> Type;
|
||||||
typedef SharedPtr<Type> Ptr;
|
typedef SharedPtr<Type> Ptr;
|
||||||
|
|
||||||
Extraction(std::vector<T>& result, const Position& pos = Position(0)):
|
Extraction(std::vector<T>& result, const Position& pos = Position(0)):
|
||||||
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
||||||
_rResult(result),
|
_rResult(result),
|
||||||
_default()
|
_default()
|
||||||
{
|
{
|
||||||
_rResult.clear();
|
_rResult.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
Extraction(std::vector<T>& result, const T& def, const Position& pos = Position(0)):
|
Extraction(std::vector<T>& result, const T& def, const Position& pos = Position(0)):
|
||||||
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
||||||
_rResult(result),
|
_rResult(result),
|
||||||
_default(def)
|
_default(def)
|
||||||
{
|
{
|
||||||
_rResult.clear();
|
_rResult.clear();
|
||||||
@ -181,8 +181,8 @@ public:
|
|||||||
return _nulls.at(row);
|
return _nulls.at(row);
|
||||||
}
|
}
|
||||||
catch (std::out_of_range& ex)
|
catch (std::out_of_range& ex)
|
||||||
{
|
{
|
||||||
throw RangeException(ex.what());
|
throw RangeException(ex.what());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -229,17 +229,17 @@ public:
|
|||||||
typedef Extraction<ValType> Type;
|
typedef Extraction<ValType> Type;
|
||||||
typedef SharedPtr<Type> Ptr;
|
typedef SharedPtr<Type> Ptr;
|
||||||
|
|
||||||
Extraction(std::vector<bool>& result, const Position& pos = Position(0)):
|
Extraction(std::vector<bool>& result, const Position& pos = Position(0)):
|
||||||
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
||||||
_rResult(result),
|
_rResult(result),
|
||||||
_default()
|
_default()
|
||||||
{
|
{
|
||||||
_rResult.clear();
|
_rResult.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
Extraction(std::vector<bool>& result, const bool& def, const Position& pos = Position(0)):
|
Extraction(std::vector<bool>& result, const bool& def, const Position& pos = Position(0)):
|
||||||
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
||||||
_rResult(result),
|
_rResult(result),
|
||||||
_default(def)
|
_default(def)
|
||||||
{
|
{
|
||||||
_rResult.clear();
|
_rResult.clear();
|
||||||
@ -271,8 +271,8 @@ public:
|
|||||||
return _nulls.at(row);
|
return _nulls.at(row);
|
||||||
}
|
}
|
||||||
catch (std::out_of_range& ex)
|
catch (std::out_of_range& ex)
|
||||||
{
|
{
|
||||||
throw RangeException(ex.what());
|
throw RangeException(ex.what());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -321,17 +321,17 @@ public:
|
|||||||
typedef Extraction<ValType> Type;
|
typedef Extraction<ValType> Type;
|
||||||
typedef SharedPtr<Type> Ptr;
|
typedef SharedPtr<Type> Ptr;
|
||||||
|
|
||||||
Extraction(std::list<T>& result, const Position& pos = Position(0)):
|
Extraction(std::list<T>& result, const Position& pos = Position(0)):
|
||||||
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
||||||
_rResult(result),
|
_rResult(result),
|
||||||
_default()
|
_default()
|
||||||
{
|
{
|
||||||
_rResult.clear();
|
_rResult.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
Extraction(std::list<T>& result, const T& def, const Position& pos = Position(0)):
|
Extraction(std::list<T>& result, const T& def, const Position& pos = Position(0)):
|
||||||
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
||||||
_rResult(result),
|
_rResult(result),
|
||||||
_default(def)
|
_default(def)
|
||||||
{
|
{
|
||||||
_rResult.clear();
|
_rResult.clear();
|
||||||
@ -363,8 +363,8 @@ public:
|
|||||||
return _nulls.at(row);
|
return _nulls.at(row);
|
||||||
}
|
}
|
||||||
catch (std::out_of_range& ex)
|
catch (std::out_of_range& ex)
|
||||||
{
|
{
|
||||||
throw RangeException(ex.what());
|
throw RangeException(ex.what());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -411,17 +411,17 @@ public:
|
|||||||
typedef Extraction<ValType> Type;
|
typedef Extraction<ValType> Type;
|
||||||
typedef SharedPtr<Type> Ptr;
|
typedef SharedPtr<Type> Ptr;
|
||||||
|
|
||||||
Extraction(std::deque<T>& result, const Position& pos = Position(0)):
|
Extraction(std::deque<T>& result, const Position& pos = Position(0)):
|
||||||
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
||||||
_rResult(result),
|
_rResult(result),
|
||||||
_default()
|
_default()
|
||||||
{
|
{
|
||||||
_rResult.clear();
|
_rResult.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
Extraction(std::deque<T>& result, const T& def, const Position& pos = Position(0)):
|
Extraction(std::deque<T>& result, const T& def, const Position& pos = Position(0)):
|
||||||
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
||||||
_rResult(result),
|
_rResult(result),
|
||||||
_default(def)
|
_default(def)
|
||||||
{
|
{
|
||||||
_rResult.clear();
|
_rResult.clear();
|
||||||
@ -453,8 +453,8 @@ public:
|
|||||||
return _nulls.at(row);
|
return _nulls.at(row);
|
||||||
}
|
}
|
||||||
catch (std::out_of_range& ex)
|
catch (std::out_of_range& ex)
|
||||||
{
|
{
|
||||||
throw RangeException(ex.what());
|
throw RangeException(ex.what());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -495,7 +495,7 @@ template <class C>
|
|||||||
class InternalExtraction: public Extraction<C>
|
class InternalExtraction: public Extraction<C>
|
||||||
/// Container Data Type specialization extension for extraction of values from a query result set.
|
/// Container Data Type specialization extension for extraction of values from a query result set.
|
||||||
///
|
///
|
||||||
/// This class is intended for PocoData internal use - it is used by StatementImpl
|
/// This class is intended for PocoData internal use - it is used by StatementImpl
|
||||||
/// to automaticaly create internal Extraction in cases when statement returns data and no external storage
|
/// to automaticaly create internal Extraction in cases when statement returns data and no external storage
|
||||||
/// was supplied. It is later used by RecordSet to retrieve the fetched data after statement execution.
|
/// was supplied. It is later used by RecordSet to retrieve the fetched data after statement execution.
|
||||||
/// It takes ownership of the Column pointer supplied as constructor argument. Column object, in turn
|
/// It takes ownership of the Column pointer supplied as constructor argument. Column object, in turn
|
||||||
@ -510,8 +510,8 @@ public:
|
|||||||
typedef SharedPtr<Type> Ptr;
|
typedef SharedPtr<Type> Ptr;
|
||||||
|
|
||||||
|
|
||||||
InternalExtraction(C& result, Column<C>* pColumn, const Position& pos = Position(0)):
|
InternalExtraction(C& result, Column<C>* pColumn, const Position& pos = Position(0)):
|
||||||
Extraction<C>(result, ValType(), pos),
|
Extraction<C>(result, ValType(), pos),
|
||||||
_pColumn(pColumn)
|
_pColumn(pColumn)
|
||||||
/// Creates InternalExtraction.
|
/// Creates InternalExtraction.
|
||||||
{
|
{
|
||||||
@ -527,17 +527,17 @@ public:
|
|||||||
{
|
{
|
||||||
Extraction<C>::reset();
|
Extraction<C>::reset();
|
||||||
_pColumn->reset();
|
_pColumn->reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
const ValType& value(int index) const
|
const ValType& value(int index) const
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
return Extraction<C>::result().at(index);
|
return Extraction<C>::result().at(index);
|
||||||
}
|
}
|
||||||
catch (std::out_of_range& ex)
|
catch (std::out_of_range& ex)
|
||||||
{
|
{
|
||||||
throw RangeException(ex.what());
|
throw RangeException(ex.what());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -571,17 +571,17 @@ public:
|
|||||||
typedef SharedPtr<Type> Ptr;
|
typedef SharedPtr<Type> Ptr;
|
||||||
typedef typename ValType::iterator Iterator;
|
typedef typename ValType::iterator Iterator;
|
||||||
|
|
||||||
Extraction(std::set<T>& result, const Position& pos = Position(0)):
|
Extraction(std::set<T>& result, const Position& pos = Position(0)):
|
||||||
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
||||||
_rResult(result),
|
_rResult(result),
|
||||||
_default()
|
_default()
|
||||||
{
|
{
|
||||||
_rResult.clear();
|
_rResult.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
Extraction(std::set<T>& result, const T& def, const Position& pos = Position(0)):
|
Extraction(std::set<T>& result, const T& def, const Position& pos = Position(0)):
|
||||||
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
||||||
_rResult(result),
|
_rResult(result),
|
||||||
_default(def)
|
_default(def)
|
||||||
{
|
{
|
||||||
_rResult.clear();
|
_rResult.clear();
|
||||||
@ -635,17 +635,17 @@ public:
|
|||||||
typedef Extraction<ValType> Type;
|
typedef Extraction<ValType> Type;
|
||||||
typedef SharedPtr<Type> Ptr;
|
typedef SharedPtr<Type> Ptr;
|
||||||
|
|
||||||
Extraction(std::multiset<T>& result, const Position& pos = Position(0)):
|
Extraction(std::multiset<T>& result, const Position& pos = Position(0)):
|
||||||
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
||||||
_rResult(result),
|
_rResult(result),
|
||||||
_default()
|
_default()
|
||||||
{
|
{
|
||||||
_rResult.clear();
|
_rResult.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
Extraction(std::multiset<T>& result, const T& def, const Position& pos = Position(0)):
|
Extraction(std::multiset<T>& result, const T& def, const Position& pos = Position(0)):
|
||||||
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
||||||
_rResult(result),
|
_rResult(result),
|
||||||
_default(def)
|
_default(def)
|
||||||
{
|
{
|
||||||
_rResult.clear();
|
_rResult.clear();
|
||||||
@ -699,17 +699,17 @@ public:
|
|||||||
typedef Extraction<ValType> Type;
|
typedef Extraction<ValType> Type;
|
||||||
typedef SharedPtr<Type> Ptr;
|
typedef SharedPtr<Type> Ptr;
|
||||||
|
|
||||||
Extraction(std::map<K, V>& result, const Position& pos = Position(0)):
|
Extraction(std::map<K, V>& result, const Position& pos = Position(0)):
|
||||||
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
||||||
_rResult(result),
|
_rResult(result),
|
||||||
_default()
|
_default()
|
||||||
{
|
{
|
||||||
_rResult.clear();
|
_rResult.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
Extraction(std::map<K, V>& result, const V& def, const Position& pos = Position(0)):
|
Extraction(std::map<K, V>& result, const V& def, const Position& pos = Position(0)):
|
||||||
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
||||||
_rResult(result),
|
_rResult(result),
|
||||||
_default(def)
|
_default(def)
|
||||||
{
|
{
|
||||||
_rResult.clear();
|
_rResult.clear();
|
||||||
@ -763,17 +763,17 @@ public:
|
|||||||
typedef Extraction<ValType> Type;
|
typedef Extraction<ValType> Type;
|
||||||
typedef SharedPtr<Type> Ptr;
|
typedef SharedPtr<Type> Ptr;
|
||||||
|
|
||||||
Extraction(std::multimap<K, V>& result, const Position& pos = Position(0)):
|
Extraction(std::multimap<K, V>& result, const Position& pos = Position(0)):
|
||||||
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
||||||
_rResult(result),
|
_rResult(result),
|
||||||
_default()
|
_default()
|
||||||
{
|
{
|
||||||
_rResult.clear();
|
_rResult.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
Extraction(std::multimap<K, V>& result, const V& def, const Position& pos = Position(0)):
|
Extraction(std::multimap<K, V>& result, const V& def, const Position& pos = Position(0)):
|
||||||
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
AbstractExtraction(Limit::LIMIT_UNLIMITED, pos.value()),
|
||||||
_rResult(result),
|
_rResult(result),
|
||||||
_default(def)
|
_default(def)
|
||||||
{
|
{
|
||||||
_rResult.clear();
|
_rResult.clear();
|
||||||
@ -820,7 +820,7 @@ private:
|
|||||||
namespace Keywords {
|
namespace Keywords {
|
||||||
|
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
inline AbstractExtraction::Ptr into(T& t)
|
inline AbstractExtraction::Ptr into(T& t)
|
||||||
/// Convenience function to allow for a more compact creation of an extraction object.
|
/// Convenience function to allow for a more compact creation of an extraction object.
|
||||||
{
|
{
|
||||||
@ -828,7 +828,7 @@ inline AbstractExtraction::Ptr into(T& t)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
inline AbstractExtraction::Ptr into(T& t, const Position& pos)
|
inline AbstractExtraction::Ptr into(T& t, const Position& pos)
|
||||||
/// Convenience function to allow for a more compact creation of an extraction object
|
/// Convenience function to allow for a more compact creation of an extraction object
|
||||||
/// with multiple recordset support.
|
/// with multiple recordset support.
|
||||||
@ -837,9 +837,9 @@ inline AbstractExtraction::Ptr into(T& t, const Position& pos)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
inline AbstractExtraction::Ptr into(T& t, const Position& pos, const T& def)
|
inline AbstractExtraction::Ptr into(T& t, const Position& pos, const T& def)
|
||||||
/// Convenience function to allow for a more compact creation of an extraction object
|
/// Convenience function to allow for a more compact creation of an extraction object
|
||||||
/// with multiple recordset support and the given default
|
/// with multiple recordset support and the given default
|
||||||
{
|
{
|
||||||
return new Extraction<T>(t, def, pos);
|
return new Extraction<T>(t, def, pos);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user