|
ZOO-Project
|
#include "service_internal_ruby.h"Functions | |
| int | zoo_ruby_support (maps **main_conf, map *request, service *s, maps **real_inputs, maps **real_outputs) |
| Load a Ruby file then run the function corresponding to the service by passing the conf, inputs and outputs parameters by refernce as Ruby Hash. More... | |
| VALUE | LoadWrap (VALUE arg) |
| Load a ruby file. More... | |
| VALUE | FunCallWrap (VALUE rdata) |
| Call a ruby function with parameters. More... | |
| void | ruby_trace_error (maps *m) |
| Print the Ruby Stack Trace in an ows:ExceptionReport XML Document. More... | |
| VALUE | RubyHash_FromMaps (maps *t) |
| Convert a maps to a Ruby Hash. More... | |
| int | keys_i (VALUE key, VALUE value, VALUE ary) |
| Push the key on the array. More... | |
| VALUE | rb_hash_size (VALUE hash) |
| Return the size of a Ruby Hash. More... | |
| VALUE | RubyHash_FromMap (map *t) |
| Convert a map to a Ruby Hash. More... | |
| maps * | mapsFromRubyHash (VALUE t) |
| Convert a Ruby Hash to a maps. More... | |
| map * | mapFromRubyHash (VALUE t) |
| Convert a Ruby Hash to a map. More... | |
| VALUE | RubyTranslate (int argc, VALUE *argv, VALUE obj) |
| Use the ZOO-Services messages translation function from the Ruby environment (ZOO-API) More... | |
| VALUE | RubyUpdateStatus (int argc, VALUE *argv, VALUE obj) |
| Update the ongoing status of a running service from the Ruby environment (ZOO-API) More... | |
| VALUE FunCallWrap | ( | VALUE | rdata | ) |
Call a ruby function with parameters.
| int keys_i | ( | VALUE | key, |
| VALUE | value, | ||
| VALUE | ary | ||
| ) |
Push the key on the array.
| key | the key to push |
| value | not used |
| ary | the Array |
| VALUE LoadWrap | ( | VALUE | arg | ) |
Load a ruby file.
| map* mapFromRubyHash | ( | VALUE | t | ) |
Convert a Ruby Hash to a map.
| t | the Ruby Hash to convert |
| maps* mapsFromRubyHash | ( | VALUE | t | ) |
Convert a Ruby Hash to a maps.
| t | the Ruby Hash to convert |
| VALUE rb_hash_size | ( | VALUE | hash | ) |
Return the size of a Ruby Hash.
| hash | the input Hash |
| void ruby_trace_error | ( | maps * | m | ) |
Print the Ruby Stack Trace in an ows:ExceptionReport XML Document.
| m | the conf maps containing the main.cfg settings |
| VALUE RubyHash_FromMap | ( | map * | t | ) |
Convert a map to a Ruby Hash.
| t | the map to convert |
| VALUE RubyHash_FromMaps | ( | maps * | t | ) |
Convert a maps to a Ruby Hash.
| t | the maps to convert |
| VALUE RubyTranslate | ( | int | argc, |
| VALUE * | argv, | ||
| VALUE | obj | ||
| ) |
Use the ZOO-Services messages translation function from the Ruby environment (ZOO-API)
| argc | the number of parameters |
| argv | the parameter values given from the Ruby environment |
| obj | the Ruby object on which we run the method |
| VALUE RubyUpdateStatus | ( | int | argc, |
| VALUE * | argv, | ||
| VALUE | obj | ||
| ) |
Update the ongoing status of a running service from the Ruby environment (ZOO-API)
| argc | the number of parameters |
| argv | the parameter values given from the Ruby environment |
| obj | the Ruby object on which we run the method |
| int zoo_ruby_support | ( | maps ** | main_conf, |
| map * | request, | ||
| service * | s, | ||
| maps ** | real_inputs, | ||
| maps ** | real_outputs | ||
| ) |
Load a Ruby file then run the function corresponding to the service by passing the conf, inputs and outputs parameters by refernce as Ruby Hash.
| main_conf | the conf maps containing the main.cfg settings |
| request | the map containing the HTTP request |
| s | the service structure |
| real_inputs | the maps containing the inputs |
| real_outputs | the maps containing the outputs |
1.8.9.1