#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_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_endian_swap (VALUE self) |
static VALUE | value_endian_swap_b (VALUE self, VALUE rb_compile) |
static VALUE | value_initialize (VALUE self, VALUE ptr) |
static VALUE | value_invalidate (VALUE self) |
static VALUE | value_marshalling_size (VALUE self) |
VALUE | value_memory_eql_p (VALUE rbself, VALUE rbwith) |
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 256 of file bindings/ruby/ext/value.cc.
static VALUE type_dependencies | ( | VALUE | self | ) | [static] |
Definition at line 236 of file bindings/ruby/ext/value.cc.
static VALUE type_equal_operator | ( | VALUE | rbself, |
VALUE | rbwith | ||
) | [static] |
Definition at line 204 of file bindings/ruby/ext/value.cc.
static VALUE type_is_assignable | ( | Type const & | type | ) | [static] |
Definition at line 323 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 270 of file bindings/ruby/ext/value.cc.
static VALUE type_size | ( | VALUE | self | ) | [static] |
Definition at line 224 of file bindings/ruby/ext/value.cc.
static VALUE type_to_csv | ( | int | argc, |
VALUE * | argv, | ||
VALUE | rbself | ||
) | [static] |
call-seq: type.to_csv([basename [, separator]]) => string
Returns a one-line representation of this type, using +separator+ to separate each fields. If +basename+ is given, use it as a 'variable name'. For instance, calling this method on an array with a basename of 'array' will return
array[0] array[1]
without basename, it would be
[0] [1]
Definition at line 152 of file bindings/ruby/ext/value.cc.
static VALUE typelib_compare | ( | VALUE | , |
VALUE | to, | ||
VALUE | from | ||
) | [static] |
Definition at line 547 of file bindings/ruby/ext/value.cc.
static VALUE typelib_do_basename | ( | VALUE | mod, |
VALUE | name | ||
) | [static] |
Definition at line 175 of file bindings/ruby/ext/value.cc.
static VALUE typelib_do_copy | ( | VALUE | , |
VALUE | to, | ||
VALUE | from | ||
) | [static] |
Definition at line 526 of file bindings/ruby/ext/value.cc.
static VALUE typelib_do_namespace | ( | VALUE | mod, |
VALUE | name | ||
) | [static] |
Definition at line 182 of file bindings/ruby/ext/value.cc.
static VALUE typelib_do_split_name | ( | VALUE | mod, |
VALUE | name | ||
) | [static] |
Definition at line 189 of file bindings/ruby/ext/value.cc.
static VALUE value_address | ( | VALUE | self | ) | [static] |
Definition at line 391 of file bindings/ruby/ext/value.cc.
static VALUE value_alloc | ( | VALUE | klass | ) | [static] |
Definition at line 353 of file bindings/ruby/ext/value.cc.
static VALUE value_allocate | ( | Type const & | type, |
VALUE | registry | ||
) | [static] |
Definition at line 65 of file bindings/ruby/ext/value.cc.
static void value_delete | ( | void * | self | ) | [static] |
Definition at line 351 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 452 of file bindings/ruby/ext/value.cc.
static VALUE value_do_cast | ( | VALUE | self, |
VALUE | target_type | ||
) | [static] |
Definition at line 419 of file bindings/ruby/ext/value.cc.
static VALUE value_endian_swap | ( | VALUE | self | ) | [static] |
Definition at line 398 of file bindings/ruby/ext/value.cc.
static VALUE value_endian_swap_b | ( | VALUE | self, |
VALUE | rb_compile | ||
) | [static] |
Definition at line 411 of file bindings/ruby/ext/value.cc.
static VALUE value_initialize | ( | VALUE | self, |
VALUE | ptr | ||
) | [static] |
Definition at line 357 of file bindings/ruby/ext/value.cc.
static VALUE value_invalidate | ( | VALUE | self | ) | [static] |
Definition at line 437 of file bindings/ruby/ext/value.cc.
static VALUE value_marshalling_size | ( | VALUE | self | ) | [static] |
Definition at line 469 of file bindings/ruby/ext/value.cc.
VALUE value_memory_eql_p | ( | VALUE | rbself, |
VALUE | rbwith | ||
) |
Definition at line 477 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 503 of file bindings/ruby/ext/value.cc.
static VALUE value_zero | ( | VALUE | self | ) | [static] |
Definition at line 519 of file bindings/ruby/ext/value.cc.