#include <item_cmpfunc.h>
◆ In_vector_datetime()
| In_vector_datetime::In_vector_datetime |
( |
MEM_ROOT * |
mem_root, |
|
|
Item * |
warn_item_arg, |
|
|
uint |
elements |
|
) |
| |
|
inline |
◆ create_item()
| Item * In_vector_datetime::create_item |
( |
MEM_ROOT * |
mem_root | ) |
const |
|
inlineoverridevirtual |
Create an instance of Item_{type} (e.g.
Item_decimal) constant object which type allows it to hold an element of this vector without any conversions. The purpose of this function is to be able to get elements of this vector in form of Item_xxx constants without creating Item_xxx object for every array element you get (i.e. this implements "FlyWeight" pattern)
- Parameters
-
| mem_root | Where to allocate the Item. |
Reimplemented from In_vector_int.
◆ set()
| bool In_vector_datetime::set |
( |
uint |
pos, |
|
|
Item * |
item |
|
) |
| |
|
overrideprivatevirtual |
Evaluate item and set value into element "pos" of the vector.
- Parameters
-
| pos | element number in vector |
| item | item to evaluate |
- Returns
- false if successful evaluation and not null value, true otherwise
Reimplemented from In_vector_int.
◆ val_item()
◆ warn_item
| Item* In_vector_datetime::warn_item |
|
private |
An item used to issue warnings.
The documentation for this class was generated from the following files: