Classdesc 3.44
|
Contains definitions related to classdesc functionality. More...
Namespaces | |
namespace | functional |
contains code generated by functiondb.sh that defines functional attributes. |
Typedefs | |
typedef std::map< std::string, int > | SVMap |
typedef std::map< int, std::string > | VSMap |
typedef pack_t | MPIbuf_base |
typedef std::set< const std::type_info * > | isa_t |
data structure for storing inheritance relationships | |
typedef unsigned char | u1 |
typedef poly< Functional_base > | Functional_ptr |
typedef std::map< json5_parser::Value_type, RESTProcessType::Type > | RESTProcessTypeJSONMap_t |
typedef json_pack_t | json_unpack_t |
typedef std::vector< shared_ptr< object > > | ObjectFactory |
typedef bool(* | xdr_filter) (XDR *,...) |
typedef pack_t | unpack_t |
typedef unsigned long long | uint64 |
typedef random_init_t | random_init_onbase_t |
using | RPPtr = std::shared_ptr<RESTProcessBase> |
Enumerations | |
enum | { JVM_ACC_PUBLIC = 0x0001 , JVM_ACC_PRIVATE = 0x0002 , JVM_ACC_PROTECTED = 0x0004 , JVM_ACC_STATIC = 0x0008 , JVM_ACC_FINAL = 0x0010 , JVM_ACC_SYNCHRONIZED = 0x0020 , JVM_ACC_SUPER = 0x0020 , JVM_ACC_VOLATILE = 0x0040 , JVM_ACC_BRIDGE = 0x0040 , JVM_ACC_TRANSIENT = 0x0080 , JVM_ACC_VARARGS = 0x0080 , JVM_ACC_NATIVE = 0x0100 , JVM_ACC_INTERFACE = 0x0200 , JVM_ACC_ABSTRACT = 0x0400 , JVM_ACC_STRICT = 0x0800 , JVM_ACC_SYNTHETIC = 0x1000 , JVM_ACC_ANNOTATION = 0x2000 , JVM_ACC_ENUM = 0x4000 } |
enum | { JVM_T_BOOLEAN = 4 , JVM_T_CHAR = 5 , JVM_T_FLOAT = 6 , JVM_T_DOUBLE = 7 , JVM_T_BYTE = 8 , JVM_T_SHORT = 9 , JVM_T_INT = 10 , JVM_T_LONG = 11 } |
enum | { JVM_CONSTANT_Utf8 = 1 , JVM_CONSTANT_Unicode = 2 , JVM_CONSTANT_Integer = 3 , JVM_CONSTANT_Float = 4 , JVM_CONSTANT_Long = 5 , JVM_CONSTANT_Double = 6 , JVM_CONSTANT_Class = 7 , JVM_CONSTANT_String = 8 , JVM_CONSTANT_Fieldref = 9 , JVM_CONSTANT_Methodref = 10 , JVM_CONSTANT_InterfaceMethodref = 11 , JVM_CONSTANT_NameAndType = 12 } |
enum | { JVM_ITEM_Top = 0 , JVM_ITEM_Integer = 1 , JVM_ITEM_Float = 2 , JVM_ITEM_Double = 3 , JVM_ITEM_Long = 4 , JVM_ITEM_Null = 5 , JVM_ITEM_UninitializedThis = 6 , JVM_ITEM_Object = 7 , JVM_ITEM_Uninitialized = 8 } |
enum | { JVM_SIGNATURE_ARRAY = '[' , JVM_SIGNATURE_BYTE = 'B' , JVM_SIGNATURE_CHAR = 'C' , JVM_SIGNATURE_CLASS = 'L' , JVM_SIGNATURE_ENDCLASS = ';' , JVM_SIGNATURE_ENUM = 'E' , JVM_SIGNATURE_FLOAT = 'F' , JVM_SIGNATURE_DOUBLE = 'D' , JVM_SIGNATURE_FUNC = '(' , JVM_SIGNATURE_ENDFUNC = ')' , JVM_SIGNATURE_INT = 'I' , JVM_SIGNATURE_LONG = 'J' , JVM_SIGNATURE_SHORT = 'S' , JVM_SIGNATURE_VOID = 'V' , JVM_SIGNATURE_BOOLEAN = 'Z' } |
enum | { JVM_OPC_nop = 0 , JVM_OPC_aconst_null = 1 , JVM_OPC_iconst_m1 = 2 , JVM_OPC_iconst_0 = 3 , JVM_OPC_iconst_1 = 4 , JVM_OPC_iconst_2 = 5 , JVM_OPC_iconst_3 = 6 , JVM_OPC_iconst_4 = 7 , JVM_OPC_iconst_5 = 8 , JVM_OPC_lconst_0 = 9 , JVM_OPC_lconst_1 = 10 , JVM_OPC_fconst_0 = 11 , JVM_OPC_fconst_1 = 12 , JVM_OPC_fconst_2 = 13 , JVM_OPC_dconst_0 = 14 , JVM_OPC_dconst_1 = 15 , JVM_OPC_bipush = 16 , JVM_OPC_sipush = 17 , JVM_OPC_ldc = 18 , JVM_OPC_ldc_w = 19 , JVM_OPC_ldc2_w = 20 , JVM_OPC_iload = 21 , JVM_OPC_lload = 22 , JVM_OPC_fload = 23 , JVM_OPC_dload = 24 , JVM_OPC_aload = 25 , JVM_OPC_iload_0 = 26 , JVM_OPC_iload_1 = 27 , JVM_OPC_iload_2 = 28 , JVM_OPC_iload_3 = 29 , JVM_OPC_lload_0 = 30 , JVM_OPC_lload_1 = 31 , JVM_OPC_lload_2 = 32 , JVM_OPC_lload_3 = 33 , JVM_OPC_fload_0 = 34 , JVM_OPC_fload_1 = 35 , JVM_OPC_fload_2 = 36 , JVM_OPC_fload_3 = 37 , JVM_OPC_dload_0 = 38 , JVM_OPC_dload_1 = 39 , JVM_OPC_dload_2 = 40 , JVM_OPC_dload_3 = 41 , JVM_OPC_aload_0 = 42 , JVM_OPC_aload_1 = 43 , JVM_OPC_aload_2 = 44 , JVM_OPC_aload_3 = 45 , JVM_OPC_iaload = 46 , JVM_OPC_laload = 47 , JVM_OPC_faload = 48 , JVM_OPC_daload = 49 , JVM_OPC_aaload = 50 , JVM_OPC_baload = 51 , JVM_OPC_caload = 52 , JVM_OPC_saload = 53 , JVM_OPC_istore = 54 , JVM_OPC_lstore = 55 , JVM_OPC_fstore = 56 , JVM_OPC_dstore = 57 , JVM_OPC_astore = 58 , JVM_OPC_istore_0 = 59 , JVM_OPC_istore_1 = 60 , JVM_OPC_istore_2 = 61 , JVM_OPC_istore_3 = 62 , JVM_OPC_lstore_0 = 63 , JVM_OPC_lstore_1 = 64 , JVM_OPC_lstore_2 = 65 , JVM_OPC_lstore_3 = 66 , JVM_OPC_fstore_0 = 67 , JVM_OPC_fstore_1 = 68 , JVM_OPC_fstore_2 = 69 , JVM_OPC_fstore_3 = 70 , JVM_OPC_dstore_0 = 71 , JVM_OPC_dstore_1 = 72 , JVM_OPC_dstore_2 = 73 , JVM_OPC_dstore_3 = 74 , JVM_OPC_astore_0 = 75 , JVM_OPC_astore_1 = 76 , JVM_OPC_astore_2 = 77 , JVM_OPC_astore_3 = 78 , JVM_OPC_iastore = 79 , JVM_OPC_lastore = 80 , JVM_OPC_fastore = 81 , JVM_OPC_dastore = 82 , JVM_OPC_aastore = 83 , JVM_OPC_bastore = 84 , JVM_OPC_castore = 85 , JVM_OPC_sastore = 86 , JVM_OPC_pop = 87 , JVM_OPC_pop2 = 88 , JVM_OPC_dup = 89 , JVM_OPC_dup_x1 = 90 , JVM_OPC_dup_x2 = 91 , JVM_OPC_dup2 = 92 , JVM_OPC_dup2_x1 = 93 , JVM_OPC_dup2_x2 = 94 , JVM_OPC_swap = 95 , JVM_OPC_iadd = 96 , JVM_OPC_ladd = 97 , JVM_OPC_fadd = 98 , JVM_OPC_dadd = 99 , JVM_OPC_isub = 100 , JVM_OPC_lsub = 101 , JVM_OPC_fsub = 102 , JVM_OPC_dsub = 103 , JVM_OPC_imul = 104 , JVM_OPC_lmul = 105 , JVM_OPC_fmul = 106 , JVM_OPC_dmul = 107 , JVM_OPC_idiv = 108 , JVM_OPC_ldiv = 109 , JVM_OPC_fdiv = 110 , JVM_OPC_ddiv = 111 , JVM_OPC_irem = 112 , JVM_OPC_lrem = 113 , JVM_OPC_frem = 114 , JVM_OPC_drem = 115 , JVM_OPC_ineg = 116 , JVM_OPC_lneg = 117 , JVM_OPC_fneg = 118 , JVM_OPC_dneg = 119 , JVM_OPC_ishl = 120 , JVM_OPC_lshl = 121 , JVM_OPC_ishr = 122 , JVM_OPC_lshr = 123 , JVM_OPC_iushr = 124 , JVM_OPC_lushr = 125 , JVM_OPC_iand = 126 , JVM_OPC_land = 127 , JVM_OPC_ior = 128 , JVM_OPC_lor = 129 , JVM_OPC_ixor = 130 , JVM_OPC_lxor = 131 , JVM_OPC_iinc = 132 , JVM_OPC_i2l = 133 , JVM_OPC_i2f = 134 , JVM_OPC_i2d = 135 , JVM_OPC_l2i = 136 , JVM_OPC_l2f = 137 , JVM_OPC_l2d = 138 , JVM_OPC_f2i = 139 , JVM_OPC_f2l = 140 , JVM_OPC_f2d = 141 , JVM_OPC_d2i = 142 , JVM_OPC_d2l = 143 , JVM_OPC_d2f = 144 , JVM_OPC_i2b = 145 , JVM_OPC_i2c = 146 , JVM_OPC_i2s = 147 , JVM_OPC_lcmp = 148 , JVM_OPC_fcmpl = 149 , JVM_OPC_fcmpg = 150 , JVM_OPC_dcmpl = 151 , JVM_OPC_dcmpg = 152 , JVM_OPC_ifeq = 153 , JVM_OPC_ifne = 154 , JVM_OPC_iflt = 155 , JVM_OPC_ifge = 156 , JVM_OPC_ifgt = 157 , JVM_OPC_ifle = 158 , JVM_OPC_if_icmpeq = 159 , JVM_OPC_if_icmpne = 160 , JVM_OPC_if_icmplt = 161 , JVM_OPC_if_icmpge = 162 , JVM_OPC_if_icmpgt = 163 , JVM_OPC_if_icmple = 164 , JVM_OPC_if_acmpeq = 165 , JVM_OPC_if_acmpne = 166 , JVM_OPC_goto = 167 , JVM_OPC_jsr = 168 , JVM_OPC_ret = 169 , JVM_OPC_tableswitch = 170 , JVM_OPC_lookupswitch = 171 , JVM_OPC_ireturn = 172 , JVM_OPC_lreturn = 173 , JVM_OPC_freturn = 174 , JVM_OPC_dreturn = 175 , JVM_OPC_areturn = 176 , JVM_OPC_return = 177 , JVM_OPC_getstatic = 178 , JVM_OPC_putstatic = 179 , JVM_OPC_getfield = 180 , JVM_OPC_putfield = 181 , JVM_OPC_invokevirtual = 182 , JVM_OPC_invokespecial = 183 , JVM_OPC_invokestatic = 184 , JVM_OPC_invokeinterface = 185 , JVM_OPC_xxxunusedxxx = 186 , JVM_OPC_new = 187 , JVM_OPC_newarray = 188 , JVM_OPC_anewarray = 189 , JVM_OPC_arraylength = 190 , JVM_OPC_athrow = 191 , JVM_OPC_checkcast = 192 , JVM_OPC_instanceof = 193 , JVM_OPC_monitorenter = 194 , JVM_OPC_monitorexit = 195 , JVM_OPC_wide = 196 , JVM_OPC_multianewarray = 197 , JVM_OPC_ifnull = 198 , JVM_OPC_ifnonnull = 199 , JVM_OPC_goto_w = 200 , JVM_OPC_jsr_w = 201 , JVM_OPC_MAX = 201 } |
enum | Ptr_flag { DEFAULT , GRAPH , TREE , DEFAULT , GRAPH , TREE } |
enum | Ptr_flag { DEFAULT , GRAPH , TREE , DEFAULT , GRAPH , TREE } |
Functions | |
CLASSDESC_HAS_MEMBER (resize) | |
template<class T> | |
enable_if< has_resize< T >, void >::T | resize (T &x, size_t n) |
template<class T> | |
enable_if< Not< has_resize< T > >, void >::T | resize (T &x, size_t n) |
CLASSDESC_HAS_MEMBER (push_back) | |
CLASSDESC_HAS_MEMBER (erase) | |
template<class T> | |
enable_if< And< has_push_back< T >, Not< is_const< T > > >, void >::T | push_back (T &x, const typename T::value_type &v) |
template<class T> | |
enable_if< Or< Not< has_push_back< T > >, is_const< T > >, void >::T | push_back (T &x, const typename T::value_type &v) |
CLASSDESC_HAS_MEMBER (size) | |
CLASSDESC_HAS_MEMBER (value_type) | |
template<class T> | |
const T & | keyOf (const T &x) |
utility key extraction function for associative containers | |
template<class F, class S> | |
const F & | keyOf (const std::pair< F, S > &x) |
template<class T> | |
enable_if< And< Not< is_function< T > >, Not< is_member_function_pointer< T > > >, std::string >::T | typeName () |
template<class F> | |
enable_if< is_function< F >, string >::T | typeName () |
template<class F> | |
enable_if< is_member_function_pointer< F >, string >::T | typeName () |
template<class T> | |
const EnumKeys< typename remove_const< T >::type > & | enum_keys () |
template<class E> | |
enable_if< is_enum< E >, std::string >::T | to_string (E e) |
template<class T> | |
enable_if< is_enum< T >, std::ostream & >::T | operator<< (std::ostream &o, T x) |
template<class T> | |
std::istream & | operator>> (std::istream &i, Enum_handle< T > &x) |
template<class T> | |
std::ostream & | operator<< (std::ostream &o, Enum_handle< T > x) |
template<class T> | |
Enum_handle< T > | enum_handle (T &x) |
std::string | tail (const string &x) |
std::string | head (const string &x) |
template<class T> | |
string | basename () |
returns a valid identifier to append to the descriptor of a base class | |
template<> | |
std::string | typeName< RESTProcessType::Type > () |
void | log (const std::string &msg) |
allow logging to console in an emscripten environment. | |
template<class T> | |
void | dump (dump_t &o, const string &d, const T &a) |
forward declare generic dump operation | |
template<class T> | |
void | dump (std::ostream &o, const string &d, const T &a) |
utility for using existing ostreams directly | |
int | format (std::ostream &o, const string &d) |
template<class T> | |
void | dump_basic (dump_t &o, const string &d, T &a) |
template<class B> | |
enable_if< is_fundamental< B >, void >::T | dumpp (dump_t &o, const string &d, B &a) |
void | dumpp (dump_t &o, const string &d, const char *&a) |
template<class W> | |
void | dumpp (dump_t &o, const string &d, std::basic_string< W > &a) |
template<class A, class B> | |
enable_if< And< is_fundamental< A >, is_fundamental< B > >, void >::T | dump (dump_t &o, const string &d, std::pair< A, B > &a, dummy< 0 > dum=0) |
handle maps, whose value_type is a pair | |
template<class A, class B> | |
enable_if< And< is_fundamental< A >, Not< is_fundamental< B > > >, void >::T | dump (dump_t &o, const string &d, std::pair< A, B > &a, dummy< 1 > dum=0) |
template<class A, class B> | |
enable_if< Not< is_fundamental< A > >, void >::T | dump (dump_t &o, const string &d, std::pair< A, B > &a, dummy< 2 > dum=0) |
template<class I> | |
enable_if< is_fundamental< typenamestd::iterator_traits< I >::value_type >, void >::T | dump_container (dump_t &o, const string &d, I begin, const I &end, dummy< 0 > dum=0) |
template<class I> | |
enable_if< Not< is_fundamental< typenamestd::iterator_traits< I >::value_type > >, void >::T | dump_container (dump_t &o, const string &d, I begin, const I &end, dummy< 1 > dum=0) |
template<class C> | |
enable_if< is_container< C >, void >::T | dump (dump_t &o, const string &d, C &a, dummy< 0 > dum=0) |
template<class C, class M> | |
void | dump (dump_t &o, const string &d, C &a, M m) |
ignore member functions | |
template<class T> | |
void | dump (dump_t &o, const string &d, Enum_handle< T > arg) |
handle enums | |
template<class T> | |
void | dump (dump_t &o, const string &d, is_array ia, T &arg, int dims, size_t ncopies,...) |
handle arrays | |
template<class T> | |
void | dump (dump_t &o, const string &d, is_const_static i, T arg) |
const static support | |
template<class T> | |
void | dump (dump_t &o, const string &d, Exclude< T > &) |
template<class T> | |
void | dump (dump_t &o, const string &d, shared_ptr< T > &a) |
template<class T> | |
void | dump_onbase (dump_t &x, const string &d, T &a) |
template<class B> | |
enable_if< Not< is_fundamental< B > >, void >::T | dumpp (dump_t &t, const string &d, B &a) |
template<class T> | |
enable_if< is_container< T >, bool >::T | is_basic_container () |
template<class T> | |
enable_if< Not< is_container< T > >, bool >::T | is_basic_container () |
template<class T> | |
void | isa (classdesc::isa_t &t, const classdesc::string &d, T &x) |
template<class T> | |
void | isa (classdesc::isa_t &t, const classdesc::string &d, const T &x) |
template<class T, class U> | |
void | isa (classdesc::isa_t &t, const classdesc::string &d, const T &x, const U &y) |
template<class T, class U, class V> | |
void | isa (classdesc::isa_t &t, classdesc::string d, const T &x, const U &y, const V &z,...) |
template<class T> | |
void | isa_onbase (isa_t &t, const string &d, T &a) |
template<class T> | |
const char * | javaClassName () |
template<> | |
const char * | javaClassName< int > () |
template<> | |
const char * | javaClassName< float > () |
template<class T> | |
T | getJavaVal (JNIEnv *env, jobject o) |
template<> | |
int | getJavaVal< int > (JNIEnv *env, jobject o) |
template<> | |
float | getJavaVal< float > (JNIEnv *env, jobject o) |
template<> | |
std::string | getJavaVal< std::string > (JNIEnv *env, jobject o) |
template<class T> | |
T | getJavaVal (jvalue v) |
template<> | |
bool | getJavaVal< bool > (jvalue v) |
template<> | |
char | getJavaVal< char > (jvalue v) |
template<> | |
unsigned short | getJavaVal< unsigned short > (jvalue v) |
template<> | |
short | getJavaVal< short > (jvalue v) |
template<> | |
int | getJavaVal< int > (jvalue v) |
template<> | |
long | getJavaVal< long > (jvalue v) |
template<> | |
float | getJavaVal< float > (jvalue v) |
template<> | |
double | getJavaVal< double > (jvalue v) |
template<class C, class M> | |
enable_if< is_member_function_pointer< M >, void >::T | javaClass (javaClass_t &cl, const string &desc, C &obj, M mem) |
template<class T, class B> | |
void | javaClass (javaClass_t &cl, const string &desc, Object< T, B > &obj) |
template<class T> | |
enable_if< is_fundamental< T >, void >::T | javaClass (javaClass_t &cl, const string &desc, T &obj, dummy< 1 > d=0) |
template<class T> | |
enable_if< is_leftOver< T >, void >::T | javaClass (javaClass_t &cl, const string &desc, T &arg, dummy< 0 > d=0) |
template<class T> | |
void | javaClass (javaClass_t &cl, const string &d, const T &a) |
template<class T> | |
void | javaClass (javaClass_t &cl, const string &d, is_const_static i, T a) |
template<class T> | |
void | javaClass_type (javaClass_t &cl, const string &d, is_const_static i, T a) |
template<class T> | |
void | javaClass_onbase (javaClass_t &cl, const string &d, T a) |
template<> | |
void | dump (dump_t &buf, const string &d, const u8 &a) |
template<> | |
void | dump (dump_t &buf, const string &d, const u4 &a) |
template<> | |
void | dump (dump_t &buf, const string &d, const u2 &a) |
template<> | |
void | dump (dump_t &buf, const string &d, const u1 &a) |
void | dumpp (dump_t &buf, const string &d, cp_info &a) |
void | dumpp (dump_t &targ, const string &desc, struct attribute_info &arg) |
template<class F> | |
std::string | arg_description (F f) |
Return a concatenated string of argument descriptors. | |
template<class M> | |
enable_if< functional::is_function< M >, std::string >::T | descriptor (dummy< 0 > d=0) |
template<class S> | |
enable_if< is_fundamental< S >, std::string >::T | descriptor (dummy< 2 > d=0) |
const RESTProcessTypeJSONMap_t & | RESTProcessTypeJSONMap () |
RESTProcessType::Type | Json5ParserTypeToRESTProcessType (json5_parser::Value_type type) |
convert a json5_parser::Value_type to a RESTProcessType::Type | |
json5_parser::Value_type | RESTProcessTypeToJson5ParserType (RESTProcessType::Type type) |
convert a RESTProcessType::Type to a json5_parser::Value_type | |
bool | read (const std::string &s, json_pack_t &value) |
bool | read (std::istream &is, json_pack_t &value) |
void | write (const json_pack_t &value, std::ostream &os, unsigned options=0) |
std::string | write (const json_pack_t &value, unsigned options=0) |
void | write_formatted (const json_pack_t &value, std::ostream &os) |
std::string | write_formatted (const json_pack_t &value) |
template<class T> | |
void | json_pack (json_pack_t &o, const string &d, T &a) |
forward declare generic json operations | |
template<class T> | |
void | json_pack (json_pack_t &o, const string &d, const T &a) |
template<class T> | |
void | json_unpack (json_unpack_t &o, const string &d, T &a) |
template<class T> | |
json_pack_t & | operator<< (json_pack_t &j, const T &a) |
template<class T> | |
const json_unpack_t & | operator>> (const json_unpack_t &j, T &a) |
const json_unpack_t & | operator>> (const json_unpack_t &j, const char *&a) |
json5_parser::mValue & | json_find (json5_parser::mValue &x, std::string name) |
find an object named by name within the json object x | |
template<class T> | |
json5_parser::mValue | valueof (T a) |
template<class T> | |
T | getValue (const json5_parser::mValue &x) |
json5_parser::mValue | valueof (unsigned char a) |
template<> | |
unsigned char | getValue (const json5_parser::mValue &x) |
json5_parser::mValue | valueof (signed char a) |
template<> | |
signed char | getValue (const json5_parser::mValue &x) |
json5_parser::mValue | valueof (char a) |
template<> | |
char | getValue (const json5_parser::mValue &x) |
json5_parser::mValue | valueof (unsigned short a) |
template<> | |
unsigned short | getValue (const json5_parser::mValue &x) |
json5_parser::mValue | valueof (signed short a) |
template<> | |
signed short | getValue (const json5_parser::mValue &x) |
json5_parser::mValue | valueof (unsigned int a) |
template<> | |
unsigned | getValue (const json5_parser::mValue &x) |
json5_parser::mValue | valueof (unsigned long a) |
template<> | |
unsigned long | getValue (const json5_parser::mValue &x) |
json5_parser::mValue | valueof (long a) |
template<> | |
long | getValue (const json5_parser::mValue &x) |
json5_parser::mValue | valueof (float a) |
template<> | |
float | getValue (const json5_parser::mValue &x) |
template<> | |
double | getValue (const json5_parser::mValue &x) |
template<class T> | |
enable_if< Or< is_fundamental< T >, is_string< T > >, void >::T | json_packp (json_unpack_t &o, const string &d, const T &a, dummy< 0 > dum=0) |
template<class T> | |
enable_if< Or< is_fundamental< T >, is_string< T > >, void >::T | json_unpackp (json_unpack_t &o, string d, T &a, dummy< 0 > dum=0) |
template<class T> | |
void | json_pack_isarray (json5_parser::mValue &jval, const T &val, std::vector< size_t > dims) |
template<class T> | |
void | json_pack (json_pack_t &o, const string &d, is_array ia, const T &a, int ndims, size_t ncopies,...) |
template<class T> | |
void | json_unpack_isarray (const json5_parser::mValue &jval, T &val, std::vector< size_t > dims) |
template<class T> | |
void | json_unpack (json_unpack_t &o, const string &d, is_array ia, T &a, int ndims, size_t ncopies,...) |
template<class T> | |
void | json_pack (json_pack_t &x, const string &d, Enum_handle< T > arg) |
template<class T> | |
void | json_unpack (json_unpack_t &x, const string &d, Enum_handle< T > arg) |
template<class T> | |
enable_if< is_sequence< T >, void >::T | json_unpackp (json_unpack_t &o, const string &d, T &a, dummy< 1 > dum=0) |
template<class T1, class T2> | |
void | json_pack (json_pack_t &o, const string &d, std::pair< T1, T2 > &a) |
template<class T1, class T2> | |
void | json_unpackp (json_unpack_t &o, const string &d, std::pair< T1, T2 > &a) |
template<class T> | |
enable_if< Or< is_sequence< T >, is_associative_container< T > >, void >::T | json_packp (json_pack_t &o, const string &d, const T &a, dummy< 1 > dum=0) |
template<class T> | |
enable_if< And< is_associative_container< T >, Not< is_stringKeyMap< T > > >, void >::T | json_unpackp (json_unpack_t &o, const string &d, T &a, dummy< 2 > dum=0) |
template<class T> | |
void | json_pack (json_pack_t &targ, const string &desc, is_const_static, T) |
template<class T> | |
void | json_unpack (json_unpack_t &targ, const string &desc, is_const_static, T) |
template<class T> | |
enable_if< is_object< T >, void >::T | json_unpack (json_unpack_t &targ, const string &desc, T *) |
template<class T> | |
void | json_unpack (json_unpack_t &targ, const string &desc, const T &arg) |
template<class T> | |
void | json_pack (json_pack_t &targ, const string &desc, Exclude< T > &arg) |
template<class T> | |
void | json_unpack (json_unpack_t &targ, const string &desc, Exclude< T > &arg) |
template<class T, class U> | |
void | json_pack (json_pack_t &targ, const string &desc, T &, is_constructor, U &) |
template<class T, class U> | |
void | json_unpack (json_unpack_t &targ, const string &desc, T &, is_constructor, U &) |
template<class T> | |
string | json (const T &x) |
produce json string equivalent of object x | |
template<class T> | |
void | json (T &x, const string &s) |
template<class T> | |
void | json_pack_onbase (json_pack_t &x, const string &d, T &a) |
template<class T> | |
void | json_unpack_onbase (json_unpack_t &x, const string &d, T &a) |
template<class T> | |
enable_if< AllOtherJsonPackpTypes< T >, void >::T | json_packp (json_pack_t &o, const string &d, T &a) |
template<class T> | |
enable_if< AllOtherJsonPackpTypes< T >, void >::T | json_unpackp (json_pack_t &o, const string &d, T &a, dummy< 3 > dum=0) |
template<class T> | |
void | json_packp (json_pack_t &o, const string &d, T *a) |
template<class T> | |
void | json_packp (json_pack_t &o, const string &d, const char *a) |
template<> | |
unsigned char | getValue (const json5_parser::mValue &x) |
template<> | |
signed char | getValue (const json5_parser::mValue &x) |
template<> | |
char | getValue (const json5_parser::mValue &x) |
template<> | |
unsigned short | getValue (const json5_parser::mValue &x) |
template<> | |
signed short | getValue (const json5_parser::mValue &x) |
template<> | |
unsigned | getValue (const json5_parser::mValue &x) |
template<> | |
unsigned long | getValue (const json5_parser::mValue &x) |
template<> | |
long | getValue (const json5_parser::mValue &x) |
template<> | |
float | getValue (const json5_parser::mValue &x) |
template<> | |
double | getValue (const json5_parser::mValue &x) |
template<class T, int R> | |
void | advance (MultiArray< T, R > &a, std::ptrdiff_t n) |
friended advance function for use in iterators | |
ObjectFactory & | factory () |
void | register_with_factory (shared_ptr< object > o) |
template<class T> | |
xdr_filter | XDR_filter (const T &) |
template<class T> | |
int | deepCmp (const T &x, const T &y) |
deep comparison of two serialisable items | |
template<class T> | |
bool | deepEq (const T &x, const T &y) |
deep equality of two serialisable items | |
template<> | |
string | typeName< pack_t > () |
template<> | |
string | typeName< xdr_pack > () |
template<class T> | |
pack_t & | operator<< (pack_t &y, const T &x) |
template<class T> | |
pack_t & | operator>> (pack_t &y, T &x) |
template<class T> | |
void | pack (pack_t &targ, const string &desc, is_treenode dum, const T *const &arg) |
serialise a tree (or DAG) | |
template<class T> | |
void | unpack (unpack_t &targ, const string &desc, is_treenode dum, T *&arg) |
unserialise a tree. | |
template<class T> | |
void | pack (pack_t &targ, const string &desc, is_graphnode dum, const T &arg) |
serialise a graph structure | |
template<class T> | |
void | unpack (pack_t &targ, const string &desc, is_graphnode dum, T &arg) |
unserialise a graph structure | |
template<class T> | |
void | pack_onbase (pack_t &x, const string &d, T &a) |
template<class T> | |
void | unpack_onbase (unpack_t &x, const string &d, T &a) |
template<class T> | |
enable_if< Not< pack_supported< T > >, void >::T | pack (pack_t &buf, const string &desc, T &arg) |
template<class T> | |
enable_if< Not< pack_supported< T > >, void >::T | unpack (unpack_t &buf, const string &desc, T &arg) |
template<class T> | |
enable_if< is_fundamental< T >, void >::T | pack (pack_t &targ, const string &, T &arg) |
template<class T> | |
enable_if< is_fundamental< T >, void >::T | pack (pack_t &targ, const string &, const T &arg) |
template<class T> | |
enable_if< is_fundamental< T >, void >::T | unpack (unpack_t &targ, const string &, T &arg) |
template<class T> | |
enable_if< is_fundamental< T >, void >::T | unpack (unpack_t &targ, const string &, const T &) |
template<class T> | |
void | pack (pack_t &targ, const string &desc, is_array, T &arg, int dims, size_t ncopies,...) |
template<class T> | |
void | unpack (unpack_t &targ, const string &desc, is_array, T &arg, int dims, size_t ncopies,...) |
void | pack (pack_t &targ, const string &, is_array, char &arg, int dims, size_t ncopies,...) |
void | unpack (unpack_t &targ, const string &, is_array, char &arg, int dims, size_t ncopies,...) |
template<class C, class R, class A1> | |
void | pack (pack_t &targ, const string &desc, R(C::*&arg)(A1)) |
template<class C, class R, class A1> | |
void | unpack (pack_t &targ, const string &desc, R(C::*&arg)(A1)) |
template<class C, class T> | |
enable_if< And< is_member_object_pointer< T >, Not< functional::is_nonmember_function_ptr< T > > >, void >::T | pack (pack_t &b, const string &d, C &o, T y) |
template<class C, class T> | |
enable_if< And< is_member_object_pointer< T >, Not< functional::is_nonmember_function_ptr< T > > >, void >::T | unpack (unpack_t &b, const string &d, C &o, T y) |
template<class C, class T> | |
enable_if< And< Not< is_base_of< is_const_static, C > >, is_object< T > >, void >::T | pack (pack_t &b, const string &d, C &, T *y) |
template<class C, class T> | |
enable_if< And< Not< is_base_of< is_const_static, C > >, is_object< T > >, void >::T | unpack (unpack_t &b, const string &d, C &, T *y) |
template<class T> | |
void | pack (pack_t &targ, const string &desc, is_const_static i, T t) |
const static support. No need to stream | |
template<class T> | |
void | unpack (pack_t &targ, const string &desc, is_const_static i, T t) |
template<class T, class U> | |
void | pack (pack_t &, const string &, is_const_static, const T &, U) |
template<class T, class U> | |
void | unpack (pack_t &targ, const string &desc, is_const_static i, const T &, U) |
template<class E> | |
void | pack (pack_t &targ, const string &desc, Enum_handle< E > a) |
template<class E> | |
void | unpack (pack_t &targ, const string &desc, Enum_handle< E > a) |
template<class T> | |
void | pack (pack_t &, const string &, const Exclude< T > &) |
template<class T> | |
void | unpack (pack_t &, const string &, const Exclude< T > &) |
template<class T> | |
void | pack_graph (pack_t &buf, T &arg) |
template<class T> | |
void | unpack_graph (pack_t &buf, T &arg) |
template<class T> | |
enable_if< is_container< T >, void >::T | pack (classdesc::pack_t &b, const classdesc::string &, const T &a) |
template<class T> | |
void | unpackSequence (classdesc::pack_t &b, const classdesc::string &d, T &a) |
template<class T> | |
enable_if< is_sequence< T >, void >::T | unpack (classdesc::pack_t &b, const classdesc::string &d, T &a) |
template<class T> | |
enable_if< is_sequence< T >, void >::T | unpack (classdesc::pack_t &b, const classdesc::string &, const T &a) |
template<class T> | |
enable_if< is_associative_container< T >, void >::T | unpack (classdesc::pack_t &b, const classdesc::string &, T &a) |
template<class T> | |
enable_if< is_associative_container< T >, void >::T | unpack (classdesc::pack_t &b, const classdesc::string &, const T &a) |
template<class T, class TT> | |
void | dump (dump_t &t, const string &d, const poly< T, TT > &a) |
template<class T> | |
void | json_pack_smart_ptr (json_pack_t &x, const string &d, T &a, dummy< 1 > dum=0) |
template<class T> | |
enable_if< is_poly_constructible< T >, void >::T | json_unpack_smart_ptr (json_unpack_t &x, const string &d, T &a, dummy< 0 > dum=0) |
template<class T> | |
enable_if< And< Not< is_poly_constructible< T > >, is_default_constructible< typenameT::element_type > >, void >::T | json_unpack_smart_ptr (json_pack_t &x, const string &d, T &a, dummy< 1 > dum=0) |
template<class T> | |
enable_if< And< Not< is_poly_constructible< T > >, Not< is_default_constructible< typenameT::element_type > > >, void >::T | json_unpack_smart_ptr (json_pack_t &x, const string &d, T &a, dummy< 2 > dum=0) |
template<class T> | |
void | pack_smart_ptr (pack_t &x, const string &d, const T &a, dummy< 1 > dum=0) |
template<class T> | |
void | unpack_smart_ptr (pack_t &x, const string &d, T &a, dummy< 1 > dum=0) |
template<class T> | |
enable_if< is_base_of< PolyRESTProcessBase, T >, RPPtr >::T | rProcess (T &a, const string &remainder, const REST_PROCESS_BUFFER &arguments) |
template<class T> | |
enable_if< Not< is_base_of< PolyRESTProcessBase, T > >, RPPtr >::T | rProcess (T &a, const string &remainder, const REST_PROCESS_BUFFER &arguments) |
template<class T, class Base = T> | |
enable_if< ClassdescEnabledPythonType< Base >, void >::T | python (python_t &p, const string &d) |
template<class T> | |
enable_if< And< Not< is_class< T > >, Not< is_enum< T > > >, void >::T | python (python_t &, const string &) |
template<class T> | |
enable_if< Not< PythonBasicType< T > >, boost::python::return_internal_reference<> >::T | return_policy () |
template<class T> | |
enable_if< PythonBasicType< T >, boost::python::default_call_policies >::T | return_policy () |
template<class T> | |
T | convertListTo (const boost::python::list &y) |
convert a python list to a sequence type T | |
template<class T> | |
void | assignList (T &x, const boost::python::list &y) |
template<class T> | |
boost::shared_ptr< T > | constructFromList (const boost::python::list &y) |
template<class C, class T = C> | |
enable_if< is_sequence< T >, void >::T | python (python_t &p, const string &) |
template<class C, class T = C> | |
enable_if< is_associative_container< T >, void >::T | python (python_t &p, const string &) |
template<class T> | |
T & | sharedPtrTargetRefGetter (const shared_ptr< T > &self) |
template<class T> | |
T | sharedPtrTargetGetter (const shared_ptr< T > &self) |
template<class T> | |
enable_if< std::is_copy_assignable< T >, void >::T | sharedPtrTargetSetter (const shared_ptr< T > &self, const T &v) |
template<class T> | |
enable_if< Not< std::is_copy_assignable< T > >, void >::T | sharedPtrTargetSetter (const shared_ptr< T > &self, const T &) |
template<class T> | |
enable_if< And< Not< PythonBasicType< T > >, Not< is_enum< T > > >, void >::T | pythonSharedPtr (python_t &p, const string &d) |
template<class T> | |
enable_if< Or< PythonBasicType< T >, is_enum< T > >, void >::T | pythonSharedPtr (python_t &p, const string &d) |
template<class F> | |
enable_if< functional::is_nonmember_function_ptr< F >, void >::T | python (python_t &p, const string &d, F f) |
template<class T> | |
void | python (python_t &p, const string &d, is_const_static, T *a) |
template<class C, class T, class M> | |
void | python_type (python_t &p, const string &d, is_const_static, M m) |
template<class C, class T, class M> | |
enable_if< Not< is_function< M > >, void >::T | python_type (python_t &p, const string &d, M *m) |
template<class T> | |
void | python (python_t &p, const string &d, is_constructor, T *a) |
template<class C, class T, class M> | |
enable_if< Not< is_abstract< T > >, void >::T | python_type (python_t &p, const string &, is_constructor, M m) |
template<class C, class T, class M> | |
enable_if< is_abstract< T >, void >::T | python_type (python_t &, const string &, is_constructor, M) |
template<class C, class B, class M> | |
void | python_type (python_t &p, const string &d, M m) |
template<class C, class T> | |
void | python_type (python_t &p, const string &d, Exclude< T >(C::*m)) |
template<class T> | |
void | python_onbase (python_t &p, const string &d, T &a) |
template<class T> | |
void | addPythonObject (const std::string &path, T &object) |
template<> | |
void | python< boost::python::object > (python_t &, const string &) |
template<> | |
void | python< boost::python::tuple > (python_t &, const string &) |
template<> | |
void | python< boost::python::list > (python_t &, const string &) |
template<> | |
void | python< boost::python::dict > (python_t &, const string &) |
template<> | |
void | python< boost::python::slice > (python_t &, const string &) |
template<> | |
void | python< boost::python::str > (python_t &, const string &) |
template<class E> | |
enable_if< is_enum< E >, void >::T | python (python_t &p, const string &) |
template<class Derived, class Base> | |
enable_if< And< Not< is_same< Base, Derived > >, is_base_of< Base, Derived > >, void >::T | registerBase () |
template<class Derived, class Base> | |
enable_if< Or< is_same< Base, Derived >, Not< is_base_of< Base, Derived > > >, void >::T | registerBase () |
std::map< std::string, RESTProcess_t * > & | registries () |
const PythonBuffer & | operator>> (const PythonBuffer &b, char &x) |
PythonBuffer & | operator<< (PythonBuffer &b, const char &x) |
template<class T> | |
enable_if< And< is_arithmetic< T >, Not< is_const< T > > >, constPythonBuffer & >::T | operator>> (const PythonBuffer &b, T &x) |
template<class T> | |
enable_if< is_arithmetic< T >, PythonBuffer & >::T | operator<< (PythonBuffer &b, const T &x) |
template<class T> | |
enable_if< And< is_string< T >, Not< is_const< T > > >, constPythonBuffer & >::T | operator>> (const PythonBuffer &b, T &x) |
template<class T> | |
enable_if< And< is_string< T > >, PythonBuffer & >::T | operator<< (PythonBuffer &b, const T &x) |
template<class T> | |
enable_if< And< is_enum< T >, Not< is_const< T > > >, constPythonBuffer & >::T | operator>> (const PythonBuffer &b, T &x) |
template<class T> | |
enable_if< And< is_enum< T > >, PythonBuffer & >::T | operator<< (PythonBuffer &b, const T &x) |
template<class T> | |
enable_if< And< is_sequence< T >, Not< is_const< T > > >, constPythonBuffer & >::T | operator>> (const PythonBuffer &b, T &x) |
template<class T> | |
enable_if< is_sequence< T >, PythonBuffer & >::T | operator<< (PythonBuffer &b, const T &x) |
template<class T> | |
enable_if< is_const< T >, constPythonBuffer & >::T | operator>> (const PythonBuffer &b, T &x) |
const PythonBuffer & | operator>> (const PythonBuffer &b, const char *x) |
template<class T> | |
enable_if< And< Not< is_arithmetic< T > >, Not< is_string< T > >, Not< is_sequence< T > >, Not< is_enum< T > >, Not< is_const< T > > >, constPythonBuffer & >::T | operator>> (const PythonBuffer &b, T &x) |
template<class T> | |
enable_if< And< Not< is_arithmetic< T > >, Not< is_string< T > >, Not< is_sequence< T > >, Not< is_enum< T > > >, PythonBuffer & >::T | operator<< (PythonBuffer &b, const T &x) |
void | attachRegistryObjects (const RESTProcess_t ®istry, CppWrapper &object, const std::string &prefix) |
CppWrapperType & | CppWrapperTypeSingleton () |
void | initModule (PyObject *pythonModule, RESTProcess_t ®istry) |
PyObject * | registerObject (PyObject *self, PyObject *args) |
template<class T> | |
void | random_init (random_init_t &, const string &, T &) |
template<class T> | |
void | random_initp (random_init_t &, const string &, const T &) |
template<class T> | |
void | random_init_normalise (T &) |
template<class T> | |
enable_if< And< is_arithmetic< T >, Not< is_floating_point< T > > >, void >::T | random_initp (random_init_t &r, const string &, T &a, dummy< 0 > dum=0) |
void | random_initp (random_init_t &r, const string &, char &a) |
void | random_initp (random_init_t &r, const string &, wchar_t &a) |
template<class T> | |
enable_if< is_floating_point< T >, void >::T | random_initp (random_init_t &r, const string &, T &a, dummy< 0 > dum=0) |
template<> | |
void | random_init (random_init_t &r, const string &, bool &a) |
template<class T> | |
void | random_init (random_init_t &r, const string &d, std::basic_string< T > &a) |
template<class T> | |
void | random_init (random_init_t &r, const string &d, is_array ia, const T &a, int ndims, size_t ncopies,...) |
template<class T> | |
void | random_init (random_init_t &r, const string &d, Enum_handle< T > arg) |
template<class T> | |
enable_if< is_sequence< T >, void >::T | random_initp (random_init_t &r, const string &d, T &a, dummy< 1 > dum=0) |
template<class T1, class T2> | |
void | random_init (random_init_t &r, const string &d, std::pair< T1, T2 > &a) |
template<class T> | |
enable_if< is_associative_container< T >, void >::T | random_initp (random_init_t &r, const string &d, T &a, dummy< 1 > dum=0) |
template<class T> | |
void | random_initp (random_init_t &, const string &, T *) |
template<class T> | |
void | random_init (random_init_t &targ, const string &desc, Exclude< T > &arg) |
template<class T> | |
void | random_init_onbase (random_init_t &targ, const string &desc, T &arg) |
template<class T> | |
void | random_init (random_init_t &, const string &, is_const_static, T) |
template<class T> | |
enable_if< AllOtherRandomInitTypes< T >, void >::T | random_initp (random_init_t &r, const string &d, T &a, dummy< 3 > dum=0) |
void * | realloc (void *x, std::size_t s) |
template<class T> | |
enable_if< Not< functional::is_nonmember_function_ptr< T > >, void >::T | RESTProcess (RESTProcess_t &r, const string &d, T &a) |
descriptor for generating building REST processing registry | |
void | convert (char &y, const string &x) |
void | convert (const char *y, const string &x) |
template<class X, class Y> | |
enable_if< And< is_assignable< Y, X >, Not< is_const< Y > > >, void >::T | convert (Y &y, const X &x) |
template<class X, class Y> | |
enable_if< And< Not< is_assignable< Y, X > >, is_convertible< X, Y >, std::is_move_assignable< Y >, Not< is_const< Y > > >, void >::T | convert (Y &y, const X &x) |
template<class X, class Y> | |
enable_if< And< Not< is_assignable< Y, X > >, Not< And< is_convertible< X, Y >, std::is_move_assignable< Y > > >, Not< is_const< Y > >, Not< is_enum< Y > > >, void >::T | convert (Y &y, const X &x) |
template<class X, class Y> | |
void | convert (const Y &, const X &) |
template<class X> | |
enable_if< And< Not< is_sequence< X > >, Not< is_associative_container< X > >, Not< is_const< X > >, Not< is_enum< X > > >, void >::T | convert (X &x, const REST_PROCESS_BUFFER &j) |
template<class X> | |
enable_if< And< Not< is_base_of< MultiArrayBase, X > >, is_sequence< X >, Not< is_const< X > > >, void >::T | convert (X &x, const REST_PROCESS_BUFFER &j) |
template<class T, int R> | |
void | convert (MultiArray< T, R > &x, const REST_PROCESS_BUFFER &j) |
template<class T> | |
void | convert (MultiArray< T, 1 > &x, const REST_PROCESS_BUFFER &j) |
template<class X> | |
enable_if< And< is_associative_container< X >, Not< is_const< X > > >, void >::T | convert (X &x, const REST_PROCESS_BUFFER &j) |
template<class X> | |
void | convert (std::shared_ptr< X > &x, const REST_PROCESS_BUFFER &j) |
template<class X> | |
void | convert (std::weak_ptr< X > &x, const REST_PROCESS_BUFFER &j) |
template<class E> | |
enable_if< And< is_enum< E >, Not< is_const< E > > >, void >::T | convert (E &x, const REST_PROCESS_BUFFER &j) |
template<class X> | |
void | convert (const X *x, const REST_PROCESS_BUFFER &j) |
template<class T> | |
RPPtr | mapAndProcess (const string &query, const REST_PROCESS_BUFFER &arguments, T &a) |
template<class T> | |
enable_if< is_default_constructible< T >, RPPtr >::T | mapAndProcessDummy (const string &query, const REST_PROCESS_BUFFER &arguments) |
template<class T> | |
enable_if< Not< is_default_constructible< T > >, RPPtr >::T | mapAndProcessDummy (const string &query, const REST_PROCESS_BUFFER &arguments) |
template<class T> | |
enable_if< is_copy_constructible< T >, RPPtr >::T | toObjectValueImpl (const RESTProcessObject< T > &) |
template<class T> | |
enable_if< Not< is_copy_constructible< T > >, RPPtr >::T | toObjectValueImpl (const RESTProcessObject< T > &) |
template<class T> | |
RPPtr | makeRESTProcessValueObject (T &&obj) |
RPPtr | makeRESTProcessValueObject (const char *s) |
RPPtr | makeRESTProcessValueObject (const std::initializer_list< std::string > &init) |
template<class T> | |
enable_if< is_excluded< T >, void >::T | RESTProcessp (RESTProcess_t &repo, const string &d, T &a) |
template<class T> | |
enable_if< Or< is_fundamental< T >, is_string< T > >, void >::T | RESTProcessp (RESTProcess_t &repo, const string &d, T &a) |
template<class T> | |
void | RESTProcessp (RESTProcess_t &repo, const string &d, T *a) |
template<class T> | |
void | RESTProcess (RESTProcess_t &repo, const string &d, is_const_static, T &a) |
template<class T> | |
void | RESTProcess (RESTProcess_t &r, const string &d, is_const_static, T *a) |
bool | startsWith (const std::string &x, const std::string &prefix) |
template<class U> | |
enable_if< is_default_constructible< U >, U & >::T | dummyRef () |
template<class U> | |
enable_if< Not< is_default_constructible< U > >, U & >::T | dummyRef () |
template<class T, int R> | |
RPPtr | copyMultiArrayIterator (MultiArray< T, R > &x) |
template<class T, int R> | |
RPPtr | copyMultiArrayIterator (const MultiArray< T, R > &x) |
template<class T> | |
RPPtr | copyMultiArrayIterator (T &x) |
template<class T> | |
enable_if< And< is_sequence< T >, Not< is_base_of< MultiArrayBase, T > > >, void >::T | RESTProcessp (RESTProcess_t &repo, const string &d, T &a) |
template<class T> | |
enable_if< is_base_of< MultiArrayBase, T >, void >::T | RESTProcessp (RESTProcess_t &repo, const string &d, T &a) |
template<class T> | |
void | RPAC_insert (T &obj, const REST_PROCESS_BUFFER &arguments) |
insert element into an associative container | |
template<class T> | |
void | RPAC_insert (const T &, const REST_PROCESS_BUFFER &argument) |
insert element into map | |
template<class T> | |
void | RPAC_erase (T &obj, const REST_PROCESS_BUFFER &arguments) |
template<class T> | |
void | RPAC_erase (const T &, const REST_PROCESS_BUFFER &argument) |
insert element into map | |
template<class U> | |
enable_if< is_fundamental< U >, void >::T | assignRawStringToKey (U &key, const std::string &x) |
template<class U> | |
enable_if< Not< is_fundamental< U > >, void >::T | assignRawStringToKey (U &key, const std::string &x) |
template<> | |
void | assignRawStringToKey (std::string &key, const std::string &x) |
template<class T, class K> | |
enable_if< And< Not< is_const< T > >, is_pair< typenameT::value_type > >, void >::T | assignElem (T &obj, const K &k, const REST_PROCESS_BUFFER &x) |
assign x if T is a map | |
template<class T, class K> | |
enable_if< And< Not< is_const< T > >, Not< is_pair< typenameT::value_type > > >, void >::T | assignElem (T &obj, const K &k, const REST_PROCESS_BUFFER &x) |
assign x if T is a set | |
template<class T, class K> | |
enable_if< is_const< T >, void >::T | assignElem (T &obj, const K &k, const REST_PROCESS_BUFFER &x) |
template<class T> | |
enable_if< is_pair< typenameT::value_type >, typenameT::value_type >::T | makeElement (const typename T::key_type &k) |
template<class T> | |
enable_if< Not< is_pair< typenameT::value_type > >, typenameT::value_type >::T | makeElement (const typename T::key_type &k) |
template<class T> | |
enable_if< is_associative_container< T >, void >::T | RESTProcessp (RESTProcess_t &repo, const string &d, T &a) |
template<class T> | |
enable_if< is_base_of< PolyRESTProcessBase, T >, RESTProcess_t >::T | rMap (T &x) |
template<class T> | |
enable_if< Not< is_base_of< PolyRESTProcessBase, T > >, RESTProcess_t >::T | rMap (T &x) |
template<class F> | |
enable_if< And< functional::AllArgs< F, functional::ArgAcceptable >, is_reference< typenamefunctional::Return< F >::T > >, RPPtr >::T | callFunction (const string &remainder, const REST_PROCESS_BUFFER &arguments, F f) |
template<class F> | |
enable_if< And< functional::AllArgs< F, functional::ArgAcceptable >, And< Not< is_void< typenamefunctional::Return< F >::T > >, Not< is_reference< typenamefunctional::Return< F >::T > > > >, RPPtr >::T | callFunction (const string &remainder, const REST_PROCESS_BUFFER &arguments, F f) |
template<class F> | |
enable_if< And< functional::AllArgs< F, functional::ArgAcceptable >, is_void< typenamefunctional::Return< F >::T > >, RPPtr >::T | callFunction (const string &remainder, const REST_PROCESS_BUFFER &arguments, F f) |
template<class F> | |
enable_if< Not< functional::AllArgs< F, functional::ArgAcceptable > >, RPPtr >::T | callFunction (const string &remainder, const REST_PROCESS_BUFFER &arguments, F f) |
template<class E> | |
enable_if< is_enum< E >, void >::T | RESTProcessp (RESTProcess_t &repo, const string &d, E &e) |
template<class T> | |
void | RESTProcess_onbase (RESTProcess_t &r, const string &d, T &a) |
template<class T, class F> | |
void | RESTProcess (RESTProcess_t &, const string &, T &, is_constructor, F) |
template<class T, class... Args> | |
void | RESTProcess (RESTProcess_t &r, const string &d, is_array, T &a, int dims, Args... args) |
template<class T> | |
void | RESTProcess (RESTProcess_t &r, const string &d, is_constructor, T &a) |
template<class T> | |
enable_if< is_smart_ptr< T >, void >::T | RESTProcessp (RESTProcess_t &repo, const std::string &d, T &a) |
template<class T> | |
std::shared_ptr< RESTProcessHeapObject< T > > | makeRESTProcessHeapObject (std::unique_ptr< T > &&obj) |
template<class T> | |
enable_if< is_base_of< PolyRESTProcessBase, T >, RESTProcess_t >::T | rlist (T &obj) |
template<class T> | |
enable_if< Not< is_base_of< PolyRESTProcessBase, T > >, RESTProcess_t >::T | rlist (T &obj) |
template<class T> | |
enable_if< is_classdescGenerated< T >, void >::T | RESTProcessp (RESTProcess_t &repo, string d, T &obj) |
template<class T> | |
RPPtr | sequenceProcess (T &obj, const string &remainder, const REST_PROCESS_BUFFER &arguments) |
template<class T> | |
std::tuple< typename IteratorSelector< T, is_const< T >::value >::iterator, string::size_type > | elemImpl (T &obj, const string &remainder, const REST_PROCESS_BUFFER &arguments) |
template<class T> | |
enable_if< And< is_class< T >, Not< is_container< T > > >, void >::T | populateFromObj (RESTProcess_t &r, T &obj) |
template<class T> | |
enable_if< Or< Not< is_class< T > >, is_container< T > >, void >::T | populateFromObj (RESTProcess_t &r, T &obj) |
template<class T> | |
void | convert (StringKeyMap< T > &map, const json_pack_t &j) |
template<class T> | |
void | json_pack_stringKeyMap (json_pack_t &j, const string &d, const StringKeyMap< T > &a) |
template<class T> | |
void | json_unpack_stringKeyMap (json_pack_t &j, const string &d, StringKeyMap< T > &a) |
template<class T> | |
void | xsd_generate (xsd_generate_t &g, const string &d, const StringKeyMap< T > &a) |
template<class T> | |
enable_if< Not< is_const< T > >, std::string >::T | integralTypeName () |
template<class T> | |
enable_if< And< Not< is_const< T > >, is_integral< T > >, std::string >::T | typeNamep () |
template<class T> | |
enable_if< And< And< Not< is_const< T > >, Not< is_integral< T > > >, Not< is_function< T > > >, std::string >::T | typeNamep () |
template<class T> | |
enable_if< is_const< T >, std::string >::T | typeNamep () |
template<> | |
string | typeName< pack_t > () |
template<> | |
string | typeName< xdr_pack > () |
template<> | |
xdr_filter | XDR_filter (const bool &x) |
template<> | |
xdr_filter | XDR_filter (const char &x) |
template<> | |
xdr_filter | XDR_filter (const signed char &x) |
template<> | |
xdr_filter | XDR_filter (const unsigned char &x) |
template<> | |
xdr_filter | XDR_filter (const wchar_t &x) |
template<> | |
xdr_filter | XDR_filter (const int &x) |
template<> | |
xdr_filter | XDR_filter (const unsigned int &x) |
template<> | |
xdr_filter | XDR_filter (const short int &x) |
template<> | |
xdr_filter | XDR_filter (const unsigned short int &x) |
template<> | |
xdr_filter | XDR_filter (const long int &x) |
template<> | |
xdr_filter | XDR_filter (const unsigned long int &x) |
template<> | |
xdr_filter | XDR_filter (const float &x) |
template<> | |
xdr_filter | XDR_filter (const double &x) |
template<> | |
xdr_filter | XDR_filter (const long double &x) |
std::string | idx (const std::string &prefix, size_t i) |
utility for generating index keys (for use with arrays) | |
std::string | xml_quote (char c) |
std::ostream & | operator<< (std::ostream &o, const CDATA &x) |
template<class T> | |
enable_if< is_fundamental< T >, void >::T | xml_packp (xml_pack_t &x, const string &d, T &a) |
template<> | |
void | xml_packp (xml_pack_t &x, const string &d, bool &a) |
template<> | |
void | xml_packp (xml_pack_t &x, const string &d, char &a) |
template<class T> | |
enable_if< is_enum< T >, void >::T | xml_packp (xml_pack_t &x, const string &d, T &arg) |
template<class T> | |
void | xml_pack (xml_pack_t &, const string &, const T &) |
template<class T> | |
void | xml_pack (xml_pack_t &, const string &, T &) |
template<class T> | |
xml_pack_t & | operator<< (xml_pack_t &t, const T &a) |
void | xml_pack (xml_pack_t &x, const string &d, std::string &a) |
void | xml_pack (xml_pack_t &x, const string &d, const std::string &a) |
template<class T> | |
void | xml_pack (xml_pack_t &x, const string &d, is_array ia, T &a, int dims, size_t ncopies,...) |
template<class T1, class T2> | |
void | xml_pack (xml_pack_t &x, const string &d, const std::pair< T1, T2 > &arg) |
template<class T> | |
enable_if< Or< is_sequence< T >, is_associative_container< T > >, void >::T | xml_packp (xml_pack_t &x, const string &d, T &arg, dummy< 1 > dum=0) |
template<class T> | |
void | xml_pack_onbase (xml_pack_t &x, const string &d, T &a) |
template<class T> | |
void | xml_pack (xml_pack_t &targ, const string &desc, is_const_static i, T arg) |
template<class T> | |
void | xml_pack (xml_pack_t &targ, const string &desc, Exclude< T > &) |
template<class T> | |
void | xml_pack (xml_pack_t &x, const string &d, shared_ptr< T > &a) |
template<class T> | |
void | xml_pack (xml_pack_t &targ, const string &desc, is_graphnode, T &) |
bool | Isspace (char c) |
bool | get (std::istream &i, char &c) |
bool | get (FILE *&i, char &c) |
void | unget (std::istream &i, char c) |
void | unget (FILE *&i, char c) |
template<class T> | |
void | xml_unpack (xml_unpack_t &, const string &, T &) |
template<class T> | |
xml_unpack_t & | operator>> (xml_unpack_t &t, T &a) |
template<class T> | |
void | xml_unpack_onbase (xml_unpack_t &x, const string &d, T &a) |
template<class T> | |
enable_if< is_fundamental< T >, void >::T | xml_unpackp (xml_unpack_t &x, const string &d, T &a) |
template<class T> | |
void | xml_unpack (xml_unpack_t &x, const string &d, is_array ia, T &a, int dims, size_t ncopies,...) |
template<class T> | |
void | xml_unpack (xml_unpack_t &x, const string &d, Enum_handle< T > arg) |
template<class T1, class T2> | |
void | xml_unpack (xml_unpack_t &x, const string &d, std::pair< T1, T2 > &arg) |
template<class T> | |
enable_if< is_sequence< T >, void >::T | xml_unpackp (xml_unpack_t &x, const string &d, T &arg, dummy< 1 > dum=0) |
template<class T> | |
enable_if< is_associative_container< T >, void >::T | xml_unpackp (xml_unpack_t &x, const string &d, T &arg, dummy< 2 > dum=0) |
template<class T> | |
void | xml_unpack (xml_unpack_t &targ, const string &desc, is_const_static i, T arg) |
template<class T> | |
void | xml_unpack (xml_unpack_t &targ, const string &desc, Exclude< T > &) |
template<class T> | |
void | xml_unpack (xml_unpack_t &targ, const string &desc, CDATA &a) |
template<class T> | |
void | xml_unpack (xml_unpack_t &targ, const string &desc, is_graphnode, T &) |
string | transformTypeName (string x) |
template<class T> | |
string | xsd_typeName () |
template<class T> | |
enable_if< EverythingElse< T >, void >::T | xsd_generate (xsd_generate_t &g, const string &d, const T &a) |
template<class T> | |
enable_if< EverythingElse< T >, void >::T | processExtraClass (xsd_generate_t &g, const string &d, const T &a) |
template<class T> | |
enable_if< Not< EverythingElse< T > >, void >::T | processExtraClass (xsd_generate_t &g, const string &d, const T &a) |
template<> | |
void | processExtraClass (xsd_generate_t &g, const string &d, const std::string &a) |
template<class T, class U> | |
void | processExtraClass (xsd_generate_t &g, const string &d, const std::pair< T, U > &a) |
template<> | |
string | xsd_typeName< bool > () |
template<> | |
string | xsd_typeName< char > () |
template<> | |
string | xsd_typeName< signed char > () |
template<> | |
string | xsd_typeName< short > () |
template<> | |
string | xsd_typeName< int > () |
template<> | |
string | xsd_typeName< long > () |
template<> | |
string | xsd_typeName< unsigned char > () |
template<> | |
string | xsd_typeName< unsigned short > () |
template<> | |
string | xsd_typeName< unsigned int > () |
template<> | |
string | xsd_typeName< unsigned long > () |
template<> | |
string | xsd_typeName< float > () |
template<> | |
string | xsd_typeName< double > () |
template<> | |
string | xsd_typeName< long double > () |
template<> | |
string | xsd_typeName< string > () |
template<> | |
string | xsd_typeName< std::wstring > () |
template<class T> | |
enable_if< is_fundamental< T >, void >::T | xsd_generate (xsd_generate_t &g, const string &d, const T &a) |
template<class T> | |
void | xsd_generate (xsd_generate_t &g, const string &d, const std::basic_string< T > &a) |
template<class T> | |
void | xsd_generate (xsd_generate_t &g, const string &d, is_array ia, T &a, int dims, size_t ncopies,...) |
array handling | |
template<class E> | |
enable_if< is_enum< E >, void >::T | xsd_generate (xsd_generate_t &g, const string &d, const E &arg) |
enum handling | |
template<class E> | |
void | xsd_generate (xsd_generate_t &g, const string &d, const Enum_handle< E > &e) |
template<class T> | |
enable_if< is_container< T >, void >::T | xsd_generate (xsd_generate_t &g, const string &d, const T &e) |
template<class T, class U> | |
void | xsd_generate (xsd_generate_t &g, const string &d, const std::pair< T, U > &a) |
template<class T> | |
void | xsd_generate (xsd_generate_t &g, const string &d, const Exclude< T > &a) |
template<class T> | |
void | xsd_generate (xsd_generate_t &g, const string &d, is_const_static, T a) |
template<class T> | |
void | xsd_generate (xsd_generate_t &g, const string &d, const shared_ptr< T > &a) |
template<class T> | |
void | xsd_generate_onbase (xsd_generate_t &g, const string &d, T a) |
template<> | |
std::string | typeName< void > () |
a string representation of the type | |
template<> | |
std::string | typeName< bool > () |
template<> | |
std::string | typeName< char > () |
template<> | |
std::string | typeName< short > () |
template<> | |
std::string | typeName< int > () |
template<> | |
std::string | typeName< long > () |
template<> | |
std::string | typeName< signed char > () |
template<> | |
std::string | typeName< unsigned char > () |
template<> | |
std::string | typeName< unsigned short > () |
template<> | |
std::string | typeName< unsigned int > () |
template<> | |
std::string | typeName< unsigned long > () |
template<> | |
std::string | typeName< float > () |
template<> | |
std::string | typeName< double > () |
template<> | |
std::string | typeName< long double > () |
template<> | |
std::string | typeName< std::string > () |
template<> | |
std::string | typeName< std::wstring > () |
template<class T, class U> | |
enable_if< is_integral< U >, T * >::T | operator+ (U x, Exclude< T * > y) |
template<class T> | |
std::ptrdiff_t | operator- (const T *x, const Exclude< T * > y) |
template<class T> | |
std::ptrdiff_t | operator- (T *x, const Exclude< T * > y) |
template<class T, class U> | |
T | mod (T x, U y) |
template<class U> | |
float | mod (float x, U y) |
template<class U> | |
double | mod (double x, U y) |
PyObject * | newPyObject (const bool &x) |
utility python object constructors | |
template<class T> | |
enable_if< And< is_integral< T >, Not< is_same< T, bool > > >, PyObject * >::T | newPyObject (const T &x) |
template<class T> | |
enable_if< is_floating_point< T >, PyObject * >::T | newPyObject (const T &x) |
PyObject * | newPyObject (const string &x) |
PyObject * | newPyObject (const char *x) |
PyObject * | newPyObjectJson (const json5_parser::mValue &j) |
PyObject * | newPyObject (const json_pack_t &j) |
template<class T> | |
enable_if< is_sequence< T >, PyObject * >::T | newPyObject (const T &x) |
sequences | |
PyObject * | newPyObject (const PythonBuffer &x) |
template<class T> | |
enable_if< And< Not< is_arithmetic< T > >, Not< is_sequence< T > > >, PyObject * >::T | newPyObject (const T &x) |
template<class T> | |
enable_if< And< Not< is_container< T > >, Not< is_smart_ptr< T > > >, RPPtr >::T | makeRESTProcessRef (T &obj) |
create an appropriate RESTProcess object referring to the argument. | |
template<class T> | |
enable_if< And< is_sequence< T >, Not< is_base_of< MultiArrayBase, T > > >, RPPtr >::T | makeRESTProcessRef (T &obj) |
template<class T> | |
enable_if< is_base_of< MultiArrayBase, T >, RPPtr >::T | makeRESTProcessRef (T &obj) |
template<class T> | |
enable_if< is_smart_ptr< T >, RPPtr >::T | makeRESTProcessRef (T &obj) |
template<class T, class V> | |
enable_if< And< is_pointer< T >, Not< is_same< T, constchar * > > >, bool >::T | matches (const V &x) |
template<class T, class V> | |
enable_if< is_same< T, bool >, bool >::T | matches (const V &x) |
template<class T> | |
enable_if< is_same< T, string >, bool >::T | matches (const REST_PROCESS_BUFFER &x) |
template<class T> | |
enable_if< is_same< T, constchar * >, bool >::T | matches (const REST_PROCESS_BUFFER &x) |
template<class T> | |
enable_if< And< is_integral< T >, Not< is_same< T, bool > > >, bool >::T | matches (const REST_PROCESS_BUFFER &x) |
template<class T> | |
enable_if< is_floating_point< T >, bool >::T | matches (const REST_PROCESS_BUFFER &x) |
template<class T> | |
enable_if< is_enum< T >, bool >::T | matches (const REST_PROCESS_BUFFER &x) |
template<class T> | |
enable_if< And< And< And< is_class< T >, is_default_constructible< T > >, Not< is_same< T, string > > >, Not< is_container< T > > >, bool >::T | matches (const REST_PROCESS_BUFFER &x) |
template<class T> | |
enable_if< is_container< T >, bool >::T | matches (const REST_PROCESS_BUFFER &x) |
template<class T> | |
enable_if< is_abstract< T >, bool >::T | matches (const REST_PROCESS_BUFFER &) |
template<class T> | |
enable_if< And< is_const< typenameremove_reference< T >::type >, is_reference< T > >, bool >::T | matches (const REST_PROCESS_BUFFER &x) |
template<class T> | |
enable_if< And< is_object< T >, Not< is_abstract< T > >, Not< is_default_constructible< typenameremove_reference< T >::type > >, Not< is_container< T > > >, bool >::T | matches (const REST_PROCESS_BUFFER &x) |
template<class T> | |
enable_if< And< Not< is_reference< T > >, isNoMatch< typenameremove_const< T >::type > >, bool >::T | matches (const REST_PROCESS_BUFFER &) |
template<class T> | |
enable_if< And< is_reference< T >, Not< is_const< typenameremove_reference< T >::type > > >, bool >::T | matches (const REST_PROCESS_BUFFER &) |
template<class T> | |
enable_if< is_floating_point< T >, bool >::T | partiallyMatchable (const REST_PROCESS_BUFFER &x) |
testing for not quite so good matches between json type and C++ type | |
template<class T> | |
enable_if< And< is_const< typenameremove_reference< T >::type >, is_reference< T > >, bool >::T | partiallyMatchable (const REST_PROCESS_BUFFER &x) |
template<class T> | |
enable_if< And< Not< is_floating_point< T > >, Not< is_container< T > >, Not< And< is_reference< T >, is_const< typenameremove_reference< T >::type > > > >, bool >::T | partiallyMatchable (const REST_PROCESS_BUFFER &x) |
template<class T> | |
enable_if< is_container< T >, bool >::T | partiallyMatchable (const REST_PROCESS_BUFFER &x) |
template<class T> | |
unsigned | argMatchScore (const REST_PROCESS_BUFFER &x) |
template<class F, int N = functional::Arity<F>::value> | |
unsigned | matchScore (const REST_PROCESS_BUFFER &x) |
template<class T, class F> | |
enable_if< functional::is_member_function_ptr< F >, void >::T | RESTProcess (RESTProcess_t &repo, const string &d, T &obj, F f) |
template<class F> | |
enable_if< functional::is_nonmember_function_ptr< F >, void >::T | RESTProcess (RESTProcess_t &repo, const string &d, F f) |
template<class F> | |
std::shared_ptr< RESTProcessFunction< F > > | makeRESTProcessFunction (F f) |
void | RESTProcess (RESTProcess_t &repo, const string &d, const char *&a) |
template<class E> | |
enable_if< is_enum< E >, void >::T | defineType (RESTProcess_t &r) |
define type dependent information in repository | |
template<class T> | |
enable_if< Not< is_enum< T > >, void >::T | defineType (RESTProcess_t &) |
Variables | |
const int | BUFCHUNK =1024 |
template<class T> | |
std::vector< T * > | SimpleTypeTable< T >::data |
Contains definitions related to classdesc functionality.
enum Ptr_flag |
What to do with pointers: throw an exception, use graphnode or treenode algorithm)
enum Ptr_flag |
What to do with pointers: throw an exception, use graphnode or treenode algorithm)
add a python reference to a C++ static object path is a '.' delimited name qualified by namespaces if no '.' present, object is inserted into global namespace Lifetime of object should exceed that of any reference to it in Python, so best used for logn lived objects. You can programmatically delete the python reference by call "del objectname" using boost::python::exec NB: this function has to be run after the requested module is created. That means in particular, it cannot be run in the initialiser of static variable, nor within the initialiser of the module in question. Please use python_t::addObject() instead. It can be used to insert an object into the global module, however within a module initialiser.
void json_pack | ( | json_pack_t & | x, |
const string & | d, | ||
Enum_handle< T > | arg ) |
handle enums
References json_pack().
enable_if< is_sequence< T >, void >::T json_unpackp | ( | json_unpack_t & | o, |
const string & | d, | ||
T & | a, | ||
dummy< 1 > | dum = 0 ) |
standard container handling
References json_find(), and json_pack_t::throw_on_error.
enable_if< And< is_pointer< T >, Not< is_same< T, constchar * > > >, bool >::T matches | ( | const V & | x | ) |
return whether arg matches a C++ type T for a function call argument
|
inline |
serialise a graph structure
can contain cycles
void random_init | ( | random_init_t & | r, |
const string & | d, | ||
Enum_handle< T > | arg ) |
handle enums
References idx(), and random_init_t::rand().
a post processing hook, allowing specialised postprocessing of the randomly initialised object to nromalised to a valid state
enable_if< is_sequence< T >, void >::T random_initp | ( | random_init_t & | r, |
const string & | d, | ||
T & | a, | ||
dummy< 1 > | dum = 0 ) |
standard container handling
References random_init_t::rand().
|
inline |
unserialise a graph structure
can contain cycles
|
inline |
enable_if< is_enum< T >, void >::T xml_packp | ( | xml_pack_t & | x, |
const string & | d, | ||
T & | arg ) |
handle enums
References xml_pack_t::pack().