#include "typelib.hh"
#include <ruby.h>
#include <sstream>
#include <limits>
#include <typelib/value.hh>
#include <typelib/registry.hh>
#include <typelib/typevisitor.hh>
#include <typelib/csvoutput.hh>
#include <typelib/endianness.hh>
#include <typelib/value_ops.hh>
#include <typelib/typename.hh>
#include <iostream>
Go to the source code of this file.
Namespaces | |
namespace | typelib_ruby |
Functions | |
static VALUE | type_can_cast_to (VALUE self, VALUE to) |
static VALUE | type_dependencies (VALUE self) |
static VALUE | type_equal_operator (VALUE rbself, VALUE rbwith) |
static VALUE | type_is_assignable (Type const &type) |
static VALUE | type_memory_layout (VALUE self, VALUE pointers, VALUE opaques, VALUE merge, VALUE remove_trailing_skips) |
static VALUE | type_size (VALUE self) |
static VALUE | type_to_csv (int argc, VALUE *argv, VALUE rbself) |
static VALUE | typelib_compare (VALUE, VALUE to, VALUE from) |
static VALUE | typelib_do_basename (VALUE mod, VALUE name) |
static VALUE | typelib_do_copy (VALUE, VALUE to, VALUE from) |
static VALUE | typelib_do_namespace (VALUE mod, VALUE name) |
static VALUE | typelib_do_split_name (VALUE mod, VALUE name) |
static VALUE | value_address (VALUE self) |
static VALUE | value_alloc (VALUE klass) |
static VALUE | value_allocate (Type const &type, VALUE registry) |
static void | value_call_typelib_initialize (VALUE obj) |
static VALUE | value_create_empty (VALUE klass) |
static void | value_delete (void *self) |
static VALUE | value_do_byte_array (VALUE self, VALUE pointers, VALUE opaques, VALUE merge, VALUE remove_trailing_skips) |
static VALUE | value_do_cast (VALUE self, VALUE target_type) |
static VALUE | value_do_from_buffer (VALUE rbself, VALUE string, VALUE pointers, VALUE opaques, VALUE merge, VALUE remove_trailing_skips) |
static VALUE | value_endian_swap (VALUE self) |
static VALUE | value_endian_swap_b (VALUE self, VALUE rb_compile) |
static VALUE | value_from_address (VALUE klass, VALUE address) |
static VALUE | value_from_memory_zone (VALUE klass, VALUE ptr) |
static VALUE | value_invalidate (VALUE self) |
static VALUE | value_marshalling_size (VALUE self) |
VALUE | value_memory_eql_p (VALUE rbself, VALUE rbwith) |
static VALUE | value_new (VALUE klass) |
void * | value_root_ptr (VALUE value) |
static VALUE | value_to_csv (int argc, VALUE *argv, VALUE self) |
static VALUE | value_zero (VALUE self) |
static VALUE type_can_cast_to | ( | VALUE | self, |
VALUE | to | ||
) | [static] |
Definition at line 258 of file bindings/ruby/ext/value.cc.
static VALUE type_dependencies | ( | VALUE | self | ) | [static] |
Definition at line 239 of file bindings/ruby/ext/value.cc.
static VALUE type_equal_operator | ( | VALUE | rbself, |
VALUE | rbwith | ||
) | [static] |
Definition at line 211 of file bindings/ruby/ext/value.cc.
static VALUE type_is_assignable | ( | Type const & | type | ) | [static] |
Definition at line 325 of file bindings/ruby/ext/value.cc.
static VALUE type_memory_layout | ( | VALUE | self, |
VALUE | pointers, | ||
VALUE | opaques, | ||
VALUE | merge, | ||
VALUE | remove_trailing_skips | ||
) | [static] |
Definition at line 272 of file bindings/ruby/ext/value.cc.
static VALUE type_size | ( | VALUE | self | ) | [static] |
Definition at line 230 of file bindings/ruby/ext/value.cc.
static VALUE type_to_csv | ( | int | argc, |
VALUE * | argv, | ||
VALUE | rbself | ||
) | [static] |
Definition at line 152 of file bindings/ruby/ext/value.cc.
static VALUE typelib_compare | ( | VALUE | , |
VALUE | to, | ||
VALUE | from | ||
) | [static] |
Definition at line 629 of file bindings/ruby/ext/value.cc.
static VALUE typelib_do_basename | ( | VALUE | mod, |
VALUE | name | ||
) | [static] |
Definition at line 176 of file bindings/ruby/ext/value.cc.
static VALUE typelib_do_copy | ( | VALUE | , |
VALUE | to, | ||
VALUE | from | ||
) | [static] |
Definition at line 608 of file bindings/ruby/ext/value.cc.
static VALUE typelib_do_namespace | ( | VALUE | mod, |
VALUE | name | ||
) | [static] |
Definition at line 183 of file bindings/ruby/ext/value.cc.
static VALUE typelib_do_split_name | ( | VALUE | mod, |
VALUE | name | ||
) | [static] |
Definition at line 195 of file bindings/ruby/ext/value.cc.
static VALUE value_address | ( | VALUE | self | ) | [static] |
Definition at line 459 of file bindings/ruby/ext/value.cc.
static VALUE value_alloc | ( | VALUE | klass | ) | [static] |
Definition at line 355 of file bindings/ruby/ext/value.cc.
static VALUE value_allocate | ( | Type const & | type, |
VALUE | registry | ||
) | [static] |
Definition at line 66 of file bindings/ruby/ext/value.cc.
static void value_call_typelib_initialize | ( | VALUE | obj | ) | [static] |
Definition at line 371 of file bindings/ruby/ext/value.cc.
static VALUE value_create_empty | ( | VALUE | klass | ) | [static] |
Allocates a new Typelib object, which wraps an untyped, unallocated Value object
Definition at line 362 of file bindings/ruby/ext/value.cc.
static void value_delete | ( | void * | self | ) | [static] |
Definition at line 353 of file bindings/ruby/ext/value.cc.
static VALUE value_do_byte_array | ( | VALUE | self, |
VALUE | pointers, | ||
VALUE | opaques, | ||
VALUE | merge, | ||
VALUE | remove_trailing_skips | ||
) | [static] |
Definition at line 534 of file bindings/ruby/ext/value.cc.
static VALUE value_do_cast | ( | VALUE | self, |
VALUE | target_type | ||
) | [static] |
Definition at line 501 of file bindings/ruby/ext/value.cc.
static VALUE value_do_from_buffer | ( | VALUE | rbself, |
VALUE | string, | ||
VALUE | pointers, | ||
VALUE | opaques, | ||
VALUE | merge, | ||
VALUE | remove_trailing_skips | ||
) | [static] |
Definition at line 421 of file bindings/ruby/ext/value.cc.
static VALUE value_endian_swap | ( | VALUE | self | ) | [static] |
Definition at line 473 of file bindings/ruby/ext/value.cc.
static VALUE value_endian_swap_b | ( | VALUE | self, |
VALUE | rb_compile | ||
) | [static] |
Definition at line 493 of file bindings/ruby/ext/value.cc.
static VALUE value_from_address | ( | VALUE | klass, |
VALUE | address | ||
) | [static] |
Definition at line 444 of file bindings/ruby/ext/value.cc.
static VALUE value_from_memory_zone | ( | VALUE | klass, |
VALUE | ptr | ||
) | [static] |
Definition at line 386 of file bindings/ruby/ext/value.cc.
static VALUE value_invalidate | ( | VALUE | self | ) | [static] |
Definition at line 519 of file bindings/ruby/ext/value.cc.
static VALUE value_marshalling_size | ( | VALUE | self | ) | [static] |
Definition at line 551 of file bindings/ruby/ext/value.cc.
VALUE value_memory_eql_p | ( | VALUE | rbself, |
VALUE | rbwith | ||
) |
Definition at line 559 of file bindings/ruby/ext/value.cc.
static VALUE value_new | ( | VALUE | klass | ) | [static] |
Definition at line 408 of file bindings/ruby/ext/value.cc.
void* value_root_ptr | ( | VALUE | value | ) |
Definition at line 21 of file bindings/ruby/ext/value.cc.
static VALUE value_to_csv | ( | int | argc, |
VALUE * | argv, | ||
VALUE | self | ||
) | [static] |
call-seq: value.to_csv([separator]) => string
Returns a one-line representation of this value, using +separator+ to separate each fields
Definition at line 585 of file bindings/ruby/ext/value.cc.
static VALUE value_zero | ( | VALUE | self | ) | [static] |
Definition at line 601 of file bindings/ruby/ext/value.cc.