#include <config.h>#include <util/vml/vml_config.h>#include <util/vml/types.h>#include <stdio.h>#include <stdlib.h>Go to the source code of this file.
Namespaces | |
| namespace | cps |
Classes | |
| struct | cps::vml_enum_map |
| struct | cps::vml_discrim |
| struct | cps::VML |
Defines | |
| #define | _VML_H 1 |
| #define | NULL_vmlproc_t ((vmlproc_t)0) |
Typedefs | |
| typedef VML | VML |
| typedef bool_t(* | vmlproc_t )(VML *, char *name, void *,...) |
Enumerations | |
| enum | vml_op { VML_ENCODE = 0, VML_DECODE = 1, VML_FREE = 2 } |
| enum | vml_type { VML_MEM, VML_DESCRIPTOR, VML_STDIO } |
| enum | vml_markup { VML_TEXT, VML_XML, VML_XDR } |
Functions | |
| char * | vml_enum_string (enum_t *val, struct vml_enum_map *) |
| enum_t * | vml_enum_val (char *string, struct vml_enum_map *) |
| bool_t | vml_void (void) |
| bool_t | vml_short (VML *__vmls, char *name, short *__sp) |
| bool_t | vml_u_short (VML *__vmls, char *name, u_short *__usp) |
| bool_t | vml_int (VML *__vmls, char *name, int *__ip) |
| bool_t | vml_u_int (VML *__vmls, char *name, u_int *__up) |
| bool_t | vml_long (VML *__vmls, char *name, long *__lp) |
| bool_t | vml_u_long (VML *__vmls, char *name, u_long *__ulp) |
| bool_t | vml_hyper (VML *__vmls, char *name, quad_t *__llp) |
| bool_t | vml_u_hyper (VML *__vmls, char *name, u_quad_t *__ullp) |
| bool_t | vml_longlong_t (VML *__vmls, char *name, quad_t *__llp) |
| bool_t | vml_u_longlong_t (VML *__vmls, char *name, u_quad_t *__ullp) |
| bool_t | vml_int8_t (VML *__vmls, char *name, int8_t *__ip) |
| bool_t | vml_uint8_t (VML *__vmls, char *name, uint8_t *__up) |
| bool_t | vml_int16_t (VML *__vmls, char *name, int16_t *__ip) |
| bool_t | vml_uint16_t (VML *__vmls, char *name, uint16_t *__up) |
| bool_t | vml_int32_t (VML *__vmls, char *name, int32_t *__ip) |
| bool_t | vml_uint32_t (VML *__vmls, char *name, uint32_t *__up) |
| bool_t | vml_int64_t (VML *__vmls, char *name, int64_t *__ip) |
| bool_t | vml_uint64_t (VML *__vmls, char *name, uint64_t *__up) |
| bool_t | vml_bool (VML *__vmls, char *name, bool_t *__bp) |
| bool_t | vml_enum (VML *__vmls, char *name, enum_t *__ep, struct vml_enum_map *list) |
| bool_t | vml_array (VML *_vmls, char *name, caddr_t *__addrp, u_int *__sizep, u_int __maxsize, u_int __elsize, vmlproc_t __elproc) |
| bool_t | vml_bytes (VML *__vmls, char *name, char **__cpp, u_int *__sizep, u_int __maxsize) |
| bool_t | vml_opaque (VML *__vmls, char *name, caddr_t __cp, u_int __cnt) |
| bool_t | vml_string (VML *__vmls, char *name, char **__cpp, u_int __maxsize) |
| bool_t | vml_union (VML *__vmls, char *name, enum_t *__dscmp, char *__unp, const struct vml_discrim *__choices, vmlproc_t dfault) |
| bool_t | vml_char (VML *__vmls, char *name, char *__cp) |
| bool_t | vml_u_char (VML *__vmls, char *name, u_char *__cp) |
| bool_t | vml_vector (VML *__vmls, char *name, char *__basep, u_int __nelem, u_int __elemsize, vmlproc_t __vml_elem) |
| bool_t | vml_float (VML *__vmls, char *name, float *__fp) |
| bool_t | vml_double (VML *__vmls, char *name, double *__dp) |
| bool_t | vml_reference (VML *__vmls, char *name, caddr_t *__xpp, u_int __size, vmlproc_t __proc) |
| bool_t | vml_pointer (VML *__vmls, char *name, char **__objpp, u_int __obj_size, vmlproc_t __vml_obj) |
| bool_t | vml_wrapstring (VML *__vmls, char *name, char **__cpp) |
| u_long | vml_sizeof (vmlproc_t, void *) |
| bool_t | vml_netobj (VML *__vmls, char *name, struct netobj *__np) |
| bool_t | vmlmem_create (VML *__vmls, char *__addr, int __size, enum vml_op __xop) |
| bool_t | vmlstdio_create (VML *__vmls, FILE *fp, enum vml_op __xop) |
| bool_t | vmlfd_create (VML *__vmls, int fd, enum vml_op __xop) |
| bool_t | vmlfile_create (VML *__vmls, char *file, enum vml_op __xop) |
| void | vml_destroy (VML *__vmls) |
| void | vml_markup_type (enum vml_markup type) |
| void | vmlrec_create (VML *__vmls, u_int __sendsize, u_int __recvsize, caddr_t __tcp_handle, int(*__readit)(char *, char *, int), int(*__writeit)(char *, char *, int)) |
| bool_t | vmlrec_endofrecord (VML *__vmls, bool_t __sendnow) |
| bool_t | vmlrec_skiprecord (VML *__vmls) |
| bool_t | vmlrec_eof (VML *__vmls) |
| void | vml_free (vmlproc_t __proc, char *name, char *__objp) |
| void | vml_struct_begin (VML *vmls, char *type, char *instance) |
| void | vml_struct_end (VML *vmls, char *type, char *instance) |
| void | vml_class_begin (VML *vmls, char *type, char *instance) |
| void | vml_class_end (VML *vmls, char *type, char *instance) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||||||||||||||
|
Definition at line 448 of file vml.C. References cps::GenericEncoder::Array(), and bool_t. Referenced by cps::vml_ActionBilinearArg(), cps::vml_ActionBosonArg(), cps::vml_ActionFermionArg(), cps::vml_ActionQuotientArg(), cps::vml_ActionRationalArg(), cps::vml_ActionRationalQuotientArg(), cps::vml_ActionRationalSplitArg(), cps::vml_ApproxDescr(), cps::vml_EigArg(), cps::vml_FloatArray(), cps::vml_MeasArg(), and cps::vml_ParamArray(). |
|
||||||||||||||||
|
Definition at line 186 of file vml.C. References cps::GenericEncoder::Bool(). Referenced by cps::vml_HmcArg(), and cps::vml_pointer(). |
|
||||||||||||||||||||||||
|
Definition at line 253 of file vml.C. References cps::GenericEncoder::Bytes(). Referenced by cps::vml_netobj(). |
|
||||||||||||||||
|
Definition at line 168 of file vml.C. References cps::GenericEncoder::Char(). Referenced by cps::vml_Nuc3ptArg(). |
|
||||||||||||||||
|
||||||||||||||||
|
|
Definition at line 691 of file vml.C. References cps::VML::Destroy(). |
|
||||||||||||||||
|
Definition at line 382 of file vml.C. References cps::GenericEncoder::Double(). Referenced by cps::vml_Float(), and cps::vml_IFloat(). |
|
||||||||||||||||||||
|
||||||||||||
|
Definition at line 190 of file vml.C. References cps::MPISCU::fprintf(), cps::vml_enum_map::name, and cps::vml_enum_map::val. Referenced by cps::vml_enum(). |
|
||||||||||||
|
Definition at line 201 of file vml.C. References enum_t, cps::MPISCU::fprintf(), cps::vml_enum_map::name, and cps::vml_enum_map::val. Referenced by cps::vml_enum(). |
|
||||||||||||||||
|
Definition at line 373 of file vml.C. References cps::GenericEncoder::Float(). Referenced by cps::vml_pooh(). |
|
||||||||||||||||
|
|
|
||||||||||||||||
|
Definition at line 109 of file vml.C. References bool_t, and cps::GenericEncoder::LongLong(). Referenced by cps::vml_longlong_t(). |
|
||||||||||||||||
|
||||||||||||||||
|
Definition at line 419 of file vml.C. References cps::GenericEncoder::Int16(). |
|
||||||||||||||||
|
Definition at line 405 of file vml.C. References cps::GenericEncoder::Int32(). |
|
||||||||||||||||
|
Definition at line 391 of file vml.C. References cps::GenericEncoder::Int64(). |
|
||||||||||||||||
|
Definition at line 433 of file vml.C. References cps::GenericEncoder::Int8(). |
|
||||||||||||||||
|
Definition at line 89 of file vml.C. References cps::GenericEncoder::Long(). Referenced by cps::vml_HmdArg(), cps::vml_RationalDescr(), and cps::vml_union(). |
|
||||||||||||||||
|
Definition at line 134 of file vml.C. References cps::vml_hyper(). |
|
|
Definition at line 676 of file vml.C. References cps::VML_TEXT, and cps::VML_XML. |
|
||||||||||||||||
|
Definition at line 270 of file vml.C. References MAX_NETOBJ_SZ, netobj::n_bytes, netobj::n_len, and cps::vml_bytes(). |
|
||||||||||||||||||||
|
Definition at line 238 of file vml.C. References cps::GenericEncoder::Bytes(). |
|
||||||||||||||||||||||||
|
Definition at line 503 of file vml.C. References bool_t, cps::vml_bool(), and cps::vml_reference(). Referenced by cps::vml_Nuc3ptArg(). |
|
||||||||||||||||||||||||
|
Definition at line 489 of file vml.C. References bool_t, and cps::GenericEncoder::Reference(). Referenced by cps::vml_pointer(). |
|
||||||||||||||||
|
Definition at line 149 of file vml.C. References cps::GenericEncoder::Short(). |
|
||||||||||||
|
|
|
||||||||||||||||||||
|
Definition at line 346 of file vml.C. References cps::GenericEncoder::String(). Referenced by cps::vml_ActionArg(), cps::vml_ActionRationalArg(), cps::vml_ActionRationalQuotientArg(), cps::vml_DoArg(), cps::vml_EigArg(), cps::vml_EigenDescr(), cps::vml_EvoArg(), cps::vml_HmdArg(), cps::vml_MeasArg(), cps::vml_MeasTask(), cps::vml_ParamArg(), cps::vml_QPropWArg(), cps::vml_wrapstring(), cps::vml_WspectArg(), and cps::vml_WspectOutput(). |
|
||||||||||||||||
|
Definition at line 527 of file vml.C. References cps::GenericEncoder::StructBegin(). |
|
||||||||||||||||
|
Definition at line 531 of file vml.C. References cps::GenericEncoder::StructEnd(). |
|
||||||||||||||||
|
Definition at line 177 of file vml.C. References cps::GenericEncoder::UnsignedChar(). |
|
||||||||||||||||
|
Definition at line 124 of file vml.C. References bool_t, and cps::GenericEncoder::UnsignedLongLong(). Referenced by cps::vml_u_longlong_t(). |
|
||||||||||||||||
|
Definition at line 79 of file vml.C. References cps::GenericEncoder::UnsignedInt(). |
|
||||||||||||||||
|
Definition at line 99 of file vml.C. References cps::GenericEncoder::UnsignedLong(). Referenced by cps::vml_DoArg(), cps::vml_NLStagMesonArg(), cps::vml_StagMesonArg(), cps::vml_StagMomMesonArg(), cps::vml_StagNonLocalArg(), and cps::vml_StagNucleonArg(). |
|
||||||||||||||||
|
Definition at line 140 of file vml.C. References cps::vml_u_hyper(). |
|
||||||||||||||||
|
Definition at line 158 of file vml.C. References cps::GenericEncoder::UnsignedShort(). |
|
||||||||||||||||
|
Definition at line 426 of file vml.C. References cps::GenericEncoder::UnsignedInt16(). |
|
||||||||||||||||
|
Definition at line 412 of file vml.C. References cps::GenericEncoder::UnsignedInt32(). |
|
||||||||||||||||
|
Definition at line 398 of file vml.C. References cps::GenericEncoder::UnsignedInt64(). |
|
||||||||||||||||
|
Definition at line 440 of file vml.C. References cps::GenericEncoder::UnsignedInt8(). |
|
||||||||||||||||||||||||||||
|
Definition at line 291 of file vml.C. References enum_t, cps::vml_discrim::proc, cps::vml_discrim::value, VML_FALSE, and cps::vml_long(). |
|
||||||||||||||||||||||||||||
|
Definition at line 467 of file vml.C. References cps::GenericEncoder::Array(), and bool_t. Referenced by cps::vml_DensArg(), cps::vml_FMassVec(), cps::vml_FRatMassVec(), cps::vml_FRatVec(), cps::vml_HmdArg(), cps::vml_IMassVec(), cps::vml_MomArg(), cps::vml_NLStagMesonArg(), cps::vml_Nuc3ptArg(), cps::vml_PbpArg(), cps::vml_QPropWGaussArg(), cps::vml_StagQuarkSrc(), and cps::vml_WspectArg(). |
|
|
|
|
||||||||||||||||
|
Definition at line 360 of file vml.C. References LASTUNSIGNED, and cps::vml_string(). |
|
||||||||||||||||
|
Definition at line 667 of file vml.C. References bool_t, and cps::VML::Create(). |
|
||||||||||||||||
|
Definition at line 672 of file vml.C. References bool_t, and cps::VML::Create(). |
|
||||||||||||||||||||
|
Definition at line 658 of file vml.C. References bool_t, and cps::VML::Create(). |
|
||||||||||||||||||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
Definition at line 663 of file vml.C. References bool_t, and cps::VML::Create(). |
1.3.9.1