All Classes Namespaces Functions Variables Groups Pages
ql_type.dox.h
namespace Qore {
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 hash(object obj);
hash hash(list l);
hash hash(list keys, list values);
hash hash(hash h);
hash hash();
int int(string str, softint base);
int int(softint i);
int int();
list list( ...);
number number(softnumber n);
number number();
string string(softstring str, *string enc);
string string();
string type(any arg);
string typename(any arg);
};
namespace Qore::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::Date
const Date
Gives the type for the date values.
Definition: ql_type.dox.h:355
Qore::Type::Hash
const Hash
Gives the type for hash values.
Definition: ql_type.dox.h:359
Qore::Type::String
const String
Gives the type for string values.
Definition: ql_type.dox.h:373
Qore::Type::NullType
const NullType
Gives the type for SQL null values.
Definition: ql_type.dox.h:367
Qore::number
number number(softnumber n)
Converts the argument to a number value.
Qore::binary
binary binary()
Always returns an empty binary object (of zero length)
Qore::Type::List
const List
Gives the type for list values.
Definition: ql_type.dox.h:363
Qore::Type::NothingType
const NothingType
Gives the type when no value is available.
Definition: ql_type.dox.h:365
Qore::list
list list(...)
Returns a list of the arguments passed at the top level.
Qore::Type::Float
const Float
Gives the type for float values.
Definition: ql_type.dox.h:357
Qore::Type::Boolean
const Boolean
Gives the type for boolean values.
Definition: ql_type.dox.h:349
Qore::Type::Binary
const Binary
Gives the type for binary values.
Definition: ql_type.dox.h:347
Qore::float
float float(softfloat f)
Converts the argument to a floating-point (float) value.
Qore::Type::CallReference
const CallReference
Gives the type for call references.
Definition: ql_type.dox.h:351
Qore::type
string type(any arg)
Returns a string giving the data type of the argument passed; see String Type Constants for the value...
Qore::Type::Int
const Int
Gives the type for integer values.
Definition: ql_type.dox.h:361
Qore::string
string string(softstring str, *string enc)
Converts the argument to a string.
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::Type::Closure
const Closure
Gives the type for closures.
Definition: ql_type.dox.h:353
Qore::int
int int(string str, softint base)
Converts the argument to an integer value.
Qore::Type::Object
const Object
Gives the type for object values.
Definition: ql_type.dox.h:371
Qore::hash
hash hash(object obj)
Returns a hash of an object&#39;s members.
Qore::Type::Number
const Number
Gives the type for number values.
Definition: ql_type.dox.h:369
Qore::boolean
bool boolean(any arg)
Converts the argument to a boolean value.