Qore DataProvider Module Reference 3.0
Loading...
Searching...
No Matches
UnixTimestampMsOrNothingType.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
2
3/* UnixTimestampMsOrNothingType.qc Copyright (C) 2025 Qore Technologies s.r.o.
4
5 Permission is hereby granted, free of charge, to any person obtaining a
6 copy of this software and associated documentation files (the "Software"),
7 to deal in the Software without restriction, including without limitation
8 the rights to use, copy, modify, merge, publish, distribute, sublicense,
9 and/or sell copies of the Software, and to permit persons to whom the
10 Software is furnished to do so, subject to the following conditions:
11
12 The above copyright notice and this permission notice shall be included in
13 all copies or substantial portions of the Software.
14
15 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21 DEALINGS IN THE SOFTWARE.
22*/
23
25namespace DataProvider {
28
31
32public:
34 constructor(*hash<auto> options, *hash<auto> tags) ;
35
36
38 string getName();
39
40
42
47
48
50
55
56
58 string getDesc();
59
60
62 *Type getValueType();
63
64
66
72 auto acceptsValue(auto value);
73
74
76
84
85};
86};
describes a data type
Definition AbstractDataProviderType.qc.dox.h:139
*hash< auto > tags
type tags
Definition AbstractDataProviderType.qc.dox.h:155
A type that converts dates to UNIX timestamps in milliseconds.
Definition UnixTimestampMsOrNothingType.qc.dox.h:30
string getDisplayName()
Returns the type's display name.
string getShortDescription()
Returns the type's short description.
constructor(*hash< auto > options, *hash< auto > tags)
creates the field from the argument
string getName()
Returns the type name.
auto acceptsValue(auto value)
returns the value if the value can be assigned to the type
*Type getValueType()
Returns the base type for the type, if any.
AbstractDataProviderType getMandatoryType()
Returns a mandatory (i.e. not "or nothing") type equivalent to the current type.
string getDesc()
Returns the description.
A type that converts dates to UNIX timestamps in seconds.
Definition UnixTimestampOrNothingType.qc.dox.h:30
Qore AbstractDataField class definition.
Definition AbstractDataField.qc.dox.h:27
const UnixTimestampMsOrNothingType
A type that converts dates to UNIX timestamps in milliseconds.
Definition UnixTimestampMsOrNothingType.qc.dox.h:27