![]() |
Qore Programming Language Reference Manual
1.10.0
|
Protected Member Functions | |
AbstractDataField | getNewFieldType (AbstractDataProviderType new_type) |
returns a field with the new type More... | |
Protected Attributes | |
*string | desc |
description of the field | |
string | name |
name of the field | |
AbstractDataProviderType | type |
field type | |
![]() | |
list< auto > | allowed_values |
for enum fields; raw allowed values | |
hash< string, bool > | allowed_values_map |
for enum fields; allowed values More... | |
auto | default_value |
the default value for the field, if any | |
describes a data type based on a hashdecl
adds a string to the description
separator | string to add first if there is already a description |
new_desc | the new string to add to the description |
|
protected |
returns a field with the new type
AbstractDataField DataProvider::QoreDataField::getOrNothingType | ( | ) |
returns a field with an "or nothing" type equivalent to the current type
AbstractDataField DataProvider::QoreDataField::getSoftType | ( | ) |
returns a field with a "soft" type equivalent to the current type