Loading...
Searching...
No Matches
ql_type.dox.h
namespace Qore {
auto auto_cast(auto val);
binary binary();
binary binary(null x);
binary binary(softstring str);
binary binary(binary bin);
string binary_to_string(binary b, *string encoding);
bool boolean(any arg);
float float(softfloat f);
float float();
hash<auto> hash(object obj);
hash<auto> hash(list<auto> l);
hash<auto> hash(list<softstring> keys, list<auto> values);
hash hash(hash h);
hash<auto> hash();
int int(string str, int base = 10);
int int(softint i);
int int();
list<auto> list( ...);
number number(softnumber n);
number number();
string string(softstring str, *string enc);
string string();
string type(auto arg);
string typename(auto arg);
}
namespace Qore {
namespace Type {
const Binary = "binary";
const Boolean = "bool";
const CallReference = "call reference";
const Closure = "closure";
const Date = "date";
const Float = "float";
const Hash = "hash";
const Int = "integer";
const List = "list";
const NothingType = "nothing";
const NullType = "NULL";
const Number = "number";
const Object = "object";
const String = "string";
}
}
Qore::Type::NothingType
const NothingType
Gives the type when no value is available.
Definition: ql_type.dox.h:404
Qore::Type::Hash
const Hash
Gives the type for hash values.
Definition: ql_type.dox.h:398
Qore::Type::Number
const Number
Gives the type for number values.
Definition: ql_type.dox.h:408
Qore::Type::List
const List
Gives the type for list values.
Definition: ql_type.dox.h:402
Qore::Type::Float
const Float
Gives the type for float values.
Definition: ql_type.dox.h:396
Qore::Type::Object
const Object
Gives the type for object values.
Definition: ql_type.dox.h:410
Qore::Type::NullType
const NullType
Gives the type for SQL null values.
Definition: ql_type.dox.h:406
Qore::Type::Date
const Date
Gives the type for the date values.
Definition: ql_type.dox.h:394
Qore::Type::CallReference
const CallReference
Gives the type for call references.
Definition: ql_type.dox.h:390
Qore::Type::Binary
const Binary
Gives the type for binary values.
Definition: ql_type.dox.h:386
Qore::Type::String
const String
Gives the type for string values.
Definition: ql_type.dox.h:412
Qore::Type::Boolean
const Boolean
Gives the type for boolean values.
Definition: ql_type.dox.h:388
Qore::Type::Int
const Int
Gives the type for integer values.
Definition: ql_type.dox.h:400
Qore::Type::Closure
const Closure
Gives the type for closures.
Definition: ql_type.dox.h:392
Qore::int
int int()
Always returns 0.
Qore::type
string type(auto arg)
Returns a string giving the data type of the argument passed; see String Type Constants for the value...
Qore::float
float float()
Always returns 0.0.
Qore::boolean
bool boolean(any arg)
Converts the argument to a boolean value.
Qore::hash
hash< auto > hash()
Always returns the same hash passed.
Qore::number
number number()
Always returns 0.0.
Qore::auto_cast
auto auto_cast(auto val)
Returns complex types converted to the most specific types possible using internal type folding.
Qore::binary_to_string
string binary_to_string(binary b, *string encoding)
Returns a string created from the binary data passed, taking an optional second argument giving the s...
Qore::string
string string()
Always returns an empty string.
Qore::list
list< auto > list(...)
Returns a list of the arguments passed at the top level.
Qore::binary
binary binary()
Always returns an empty binary object (of zero length)
Qore
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3