Qorus Integration Engine® Enterprise Edition 6.0.19_prod
Loading...
Searching...
No Matches
misc.ql File Reference

defines functions used in the client library More...

Classes

class  OMQ::AbstractConnectionFileHelper
 this class is used to parse the connection files in the server and client More...
 
class  OMQ::CryptoKeyHelper
 manages Qorus encryption keys More...
 

Namespaces

namespace  OMQ
 main Qorus namespace
 
namespace  OMQ::UserApi
 user API namespace root
 

Functions

list< auto > OMQ::UserApi::remove_from_list (list< auto > list, auto val)
 uses the select operator to remove all occurences of a value from a list More...
 
list< auto > OMQ::UserApi::remove_from_list (reference list, auto val)
 uses the select operator to remove all occurences of a value from a list More...
 
string OMQ::UserApi::xml_change_encoding (string xml, string enc)
 returns a string with the XML encoding name changed to that given as an argument More...
 
string OMQ::UserApi::xml_get_encoding (string xml)
 returns the XML encoding name given in the string (not the actual string encoding, which may be different) More...
 
string OMQ::UserApi::serialize_qorus_data (auto d)
 returns a string giving the default serialization of the given data structure for storage in Qorus More...
 
auto OMQ::UserApi::deserialize_qorus_data (string data)
 parses serialized data in either XML-RPC or YAML format and returns the corresponding qore data More...
 
string OMQ::UserApi::get_salted_string (string str, binary salt)
 returns a string that has been x-ored with binary "salt" data
 
softint OMQ::UserApi::next_sequence_value (AbstractDatasource ds, string name)
 returns the next sequence value for the given sequence
 
string OMQ::UserApi::get_ds_desc (hash< auto > h, *int dd_opts)
 returns a datasource description string from a datasource configuration hash More...
 
list< hash< CallStackInfo > > OMQ::UserApi::get_thread_call_stack ()
 allows Qore::get_thread_call_stack() to be called from Qorus interfaces More...
 
deprecated auto OMQ::UserApi::getOracleNumber (auto v)
 returns a string suitable for dynamic SQL More...
 
deprecated auto OMQ::UserApi::getSQLNumber (auto v)
 returns a string suitable for dynamic SQL More...
 
deprecated auto OMQ::UserApi::get_sql_number (auto v)
 returns either the value returned or the string "NULL" if the type cannot be converted to a number More...
 
deprecated string OMQ::UserApi::getOracleString (auto v, int size=0)
 returns a string suitable for dynamic SQL More...
 
deprecated string OMQ::UserApi::getSQLString (auto v, int size=0)
 returns a string suitable for dynamic SQL More...
 
deprecated string OMQ::UserApi::get_sql_string (auto v, int size=0)
 returns a singly-quoted string aimed to be directly usable in dynamic SQL queries with single quote (\') characters escaped or returns the string "NULL" if the argument type is not int, float, bool, or string More...
 
deprecated string OMQ::UserApi::fix_quotes (string str)
 doubles single quotes (\') in strings and returns the new string More...
 
deprecated string OMQ::UserApi::fix_quotes (reference str)
 doubles single quotes (\') in strings and returns the new string More...
 
deprecated string OMQ::UserApi::make_select_list (auto list)
 returns a string based on a list, processed for the values in the list to be used in an SQL string with an Oracle DB More...
 
deprecated string OMQ::UserApi::make_select_list2 (auto driver, auto list)
 returns a string based on a list, processed for the values in the list to be used in a dynamic SQL string More...
 
deprecated list< auto > OMQ::UserApi::remove_from_list_index (list< auto > list, int index)
 remove an element from a list More...
 
deprecated string OMQ::UserApi::oracle_date (date date)
 returns a string from a date suitable for use in a dynamic oracle SQL string More...
 
deprecated string OMQ::UserApi::db_date (string driver, date date)
 returns a string from a date suitable for use in a dynamic SQL string depending on the driver More...
 
deprecated string OMQ::UserApi::create_sql_string ()
 returns a string suitable for use in a dyanamic Oracle SQL query string based on the arguments passed More...
 
deprecated string OMQ::UserApi::create_sql_string2 (auto driver)
 returns a string suitable for use in a dynamic SQL query string (driver-dependent) based on the arguments passed More...
 
deprecated bool OMQ::UserApi::parseBoolean (auto v)
 
deprecated string OMQ::UserApi::get_exception_string (hash< auto > ex)
 
deprecated int OMQ::UserApi::compareVersion (string lv, string rv)
 

Variables

const Priv::OLD_QORUS_LEVEL_TO_LEVEL
 Old qorus loging levels to currenct logger level.
 
public const OMQ::UserApi::DD_WITH_PASSWORD = 1 << 0
 includes the password in the return value More...
 
public const OMQ::UserApi::DD_SHORT = 1 << 1
 does not include character encoding and options in the return value
 

Detailed Description

defines functions used in the client library