Namespaces | Functions
value.cc File Reference
#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>
Include dependency graph for bindings/ruby/ext/value.cc:

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)

Function Documentation

static VALUE type_can_cast_to ( VALUE  self,
VALUE  to 
) [static]

Definition at line 254 of file bindings/ruby/ext/value.cc.

static VALUE type_dependencies ( VALUE  self) [static]

Definition at line 234 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 321 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 268 of file bindings/ruby/ext/value.cc.

static VALUE type_size ( VALUE  self) [static]

Definition at line 222 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 544 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 523 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 389 of file bindings/ruby/ext/value.cc.

static VALUE value_alloc ( VALUE  klass) [static]

Definition at line 351 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 349 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 451 of file bindings/ruby/ext/value.cc.

static VALUE value_do_cast ( VALUE  self,
VALUE  target_type 
) [static]

Definition at line 417 of file bindings/ruby/ext/value.cc.

static VALUE value_endian_swap ( VALUE  self) [static]

Definition at line 396 of file bindings/ruby/ext/value.cc.

static VALUE value_endian_swap_b ( VALUE  self,
VALUE  rb_compile 
) [static]

Definition at line 409 of file bindings/ruby/ext/value.cc.

static VALUE value_initialize ( VALUE  self,
VALUE  ptr 
) [static]

Definition at line 355 of file bindings/ruby/ext/value.cc.

static VALUE value_invalidate ( VALUE  self) [static]

Definition at line 435 of file bindings/ruby/ext/value.cc.

static VALUE value_marshalling_size ( VALUE  self) [static]

Definition at line 468 of file bindings/ruby/ext/value.cc.

VALUE value_memory_eql_p ( VALUE  rbself,
VALUE  rbwith 
)

Definition at line 474 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 500 of file bindings/ruby/ext/value.cc.

static VALUE value_zero ( VALUE  self) [static]

Definition at line 516 of file bindings/ruby/ext/value.cc.



typelib
Author(s): Sylvain Joyeux/sylvain.joyeux@m4x.org
autogenerated on Thu Jan 2 2014 11:38:41