A ResultModifier.
More...
#include <duckdb.hpp>
|
| | BoundResultModifier (ResultModifierType type) |
| template<class TARGET> |
| TARGET & | Cast () |
| template<class TARGET> |
| const TARGET & | Cast () const |
◆ BoundResultModifier()
| duckdb::BoundResultModifier::BoundResultModifier |
( |
ResultModifierType | type | ) |
|
|
explicit |
374984 : type(type) {
374985}
◆ ~BoundResultModifier()
| duckdb::BoundResultModifier::~BoundResultModifier |
( |
| ) |
|
|
virtual |
◆ Cast() [1/2]
template<class TARGET>
| TARGET & duckdb::BoundResultModifier::Cast |
( |
| ) |
|
|
inline |
17807 {
17808 if (type != TARGET::TYPE) {
17809 throw InternalException("Failed to cast result modifier to type - result modifier type mismatch");
17810 }
17811 return reinterpret_cast<TARGET &>(*this);
17812 }
◆ Cast() [2/2]
template<class TARGET>
| const TARGET & duckdb::BoundResultModifier::Cast |
( |
| ) |
const |
|
inline |
17815 {
17816 if (type != TARGET::TYPE) {
17817 throw InternalException("Failed to cast result modifier to type - result modifier type mismatch");
17818 }
17819 return reinterpret_cast<const TARGET &>(*this);
17820 }
The documentation for this class was generated from the following files: