From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- .../libvoclient/doc/html/VOClient_8h_source.html | 380 ++++++++ .../voclient/libvoclient/doc/html/annotated.html | 31 + vendor/voclient/libvoclient/doc/html/classes.html | 32 + vendor/voclient/libvoclient/doc/html/doxygen.css | 441 ++++++++++ vendor/voclient/libvoclient/doc/html/doxygen.png | Bin 0 -> 1281 bytes vendor/voclient/libvoclient/doc/html/files.html | 42 + vendor/voclient/libvoclient/doc/html/globals.html | 191 ++++ .../libvoclient/doc/html/globals_defs.html | 42 + .../libvoclient/doc/html/globals_func.html | 186 ++++ vendor/voclient/libvoclient/doc/html/index.html | 25 + .../libvoclient/doc/html/structObject-members.html | 36 + .../libvoclient/doc/html/structObject.html | 58 ++ vendor/voclient/libvoclient/doc/html/tab_b.gif | Bin 0 -> 35 bytes vendor/voclient/libvoclient/doc/html/tab_l.gif | Bin 0 -> 706 bytes vendor/voclient/libvoclient/doc/html/tab_r.gif | Bin 0 -> 2585 bytes vendor/voclient/libvoclient/doc/html/tabs.css | 105 +++ .../voclient/libvoclient/doc/html/vocMsg_8c.html | 960 +++++++++++++++++++++ .../libvoclient/doc/html/vocRegistry_8c.html | 745 ++++++++++++++++ .../libvoclient/doc/html/vocRegistry__f77_8c.html | 147 ++++ .../libvoclient/doc/html/vocRegistry__spp_8c.html | 730 ++++++++++++++++ .../libvoclient/doc/html/vocSesame_8c.html | 305 +++++++ .../libvoclient/doc/html/vocSesame__f77_8c.html | 106 +++ .../libvoclient/doc/html/vocSesame__spp_8c.html | 305 +++++++ .../libvoclient/doc/html/vocSkybot_8c.html | 69 ++ .../libvoclient/doc/html/vocUtil__f77_8c.html | 91 ++ .../libvoclient/doc/html/vocUtil__spp_8c.html | 122 +++ 26 files changed, 5149 insertions(+) create mode 100644 vendor/voclient/libvoclient/doc/html/VOClient_8h_source.html create mode 100644 vendor/voclient/libvoclient/doc/html/annotated.html create mode 100644 vendor/voclient/libvoclient/doc/html/classes.html create mode 100644 vendor/voclient/libvoclient/doc/html/doxygen.css create mode 100644 vendor/voclient/libvoclient/doc/html/doxygen.png create mode 100644 vendor/voclient/libvoclient/doc/html/files.html create mode 100644 vendor/voclient/libvoclient/doc/html/globals.html create mode 100644 vendor/voclient/libvoclient/doc/html/globals_defs.html create mode 100644 vendor/voclient/libvoclient/doc/html/globals_func.html create mode 100644 vendor/voclient/libvoclient/doc/html/index.html create mode 100644 vendor/voclient/libvoclient/doc/html/structObject-members.html create mode 100644 vendor/voclient/libvoclient/doc/html/structObject.html create mode 100644 vendor/voclient/libvoclient/doc/html/tab_b.gif create mode 100644 vendor/voclient/libvoclient/doc/html/tab_l.gif create mode 100644 vendor/voclient/libvoclient/doc/html/tab_r.gif create mode 100644 vendor/voclient/libvoclient/doc/html/tabs.css create mode 100644 vendor/voclient/libvoclient/doc/html/vocMsg_8c.html create mode 100644 vendor/voclient/libvoclient/doc/html/vocRegistry_8c.html create mode 100644 vendor/voclient/libvoclient/doc/html/vocRegistry__f77_8c.html create mode 100644 vendor/voclient/libvoclient/doc/html/vocRegistry__spp_8c.html create mode 100644 vendor/voclient/libvoclient/doc/html/vocSesame_8c.html create mode 100644 vendor/voclient/libvoclient/doc/html/vocSesame__f77_8c.html create mode 100644 vendor/voclient/libvoclient/doc/html/vocSesame__spp_8c.html create mode 100644 vendor/voclient/libvoclient/doc/html/vocSkybot_8c.html create mode 100644 vendor/voclient/libvoclient/doc/html/vocUtil__f77_8c.html create mode 100644 vendor/voclient/libvoclient/doc/html/vocUtil__spp_8c.html (limited to 'vendor/voclient/libvoclient/doc/html') diff --git a/vendor/voclient/libvoclient/doc/html/VOClient_8h_source.html b/vendor/voclient/libvoclient/doc/html/VOClient_8h_source.html new file mode 100644 index 00000000..1bf5e4b6 --- /dev/null +++ b/vendor/voclient/libvoclient/doc/html/VOClient_8h_source.html @@ -0,0 +1,380 @@ + + +VOClient API: VOClient.h Source File + + + + + +
Generated on Wed Feb 27 21:08:58 2013 for VOClient API by  + +doxygen 1.5.9
+ + diff --git a/vendor/voclient/libvoclient/doc/html/annotated.html b/vendor/voclient/libvoclient/doc/html/annotated.html new file mode 100644 index 00000000..3da57461 --- /dev/null +++ b/vendor/voclient/libvoclient/doc/html/annotated.html @@ -0,0 +1,31 @@ + + +VOClient API: Class List + + + + + +
+

Class List

Here are the classes, structs, unions and interfaces with brief descriptions: + +
Object
+
+
Generated on Wed Feb 27 21:08:58 2013 for VOClient API by  + +doxygen 1.5.9
+ + diff --git a/vendor/voclient/libvoclient/doc/html/classes.html b/vendor/voclient/libvoclient/doc/html/classes.html new file mode 100644 index 00000000..c6b5dc3a --- /dev/null +++ b/vendor/voclient/libvoclient/doc/html/classes.html @@ -0,0 +1,32 @@ + + +VOClient API: Alphabetical List + + + + + +
+

Class Index

+ +
  O  
+
Object   

+

+
Generated on Wed Feb 27 21:08:58 2013 for VOClient API by  + +doxygen 1.5.9
+ + diff --git a/vendor/voclient/libvoclient/doc/html/doxygen.css b/vendor/voclient/libvoclient/doc/html/doxygen.css new file mode 100644 index 00000000..3767dc95 --- /dev/null +++ b/vendor/voclient/libvoclient/doc/html/doxygen.css @@ -0,0 +1,441 @@ +body, table, div, p, dl { + font-family: Lucida Grande, Verdana, Geneva, Arial, sans-serif; + font-size: 12px; +} + +/* @group Heading Levels */ + +h1 { + text-align: center; + font-size: 150%; +} + +h2 { + font-size: 120%; +} + +h3 { + font-size: 100%; +} + +/* @end */ + +caption { + font-weight: bold; +} + +div.qindex, div.navtab{ + background-color: #e8eef2; + border: 1px solid #84b0c7; + text-align: center; + margin: 2px; + padding: 2px; +} + +div.qindex, div.navpath { + width: 100%; + line-height: 140%; +} + +div.navtab { + margin-right: 15px; +} + +/* @group Link Styling */ + +a { + color: #153788; + font-weight: normal; + text-decoration: none; +} + +.contents a:visited { + color: #1b77c5; +} + +a:hover { + text-decoration: underline; +} + +a.qindex { + font-weight: bold; +} + +a.qindexHL { + font-weight: bold; + background-color: #6666cc; + color: #ffffff; + border: 1px double #9295C2; +} + +.contents a.qindexHL:visited { + color: #ffffff; +} + +a.el { + font-weight: bold; +} + +a.elRef { +} + +a.code { +} + +a.codeRef { +} + +/* @end */ + +dl.el { + margin-left: -1cm; +} + +.fragment { + font-family: monospace, fixed; + font-size: 105%; +} + +pre.fragment { + border: 1px solid #CCCCCC; + background-color: #f5f5f5; + padding: 4px 6px; + margin: 4px 8px 4px 2px; +} + +div.ah { + background-color: black; + font-weight: bold; + color: #ffffff; + margin-bottom: 3px; + margin-top: 3px +} + +div.groupHeader { + margin-left: 16px; + margin-top: 12px; + margin-bottom: 6px; + font-weight: bold; +} + +div.groupText { + margin-left: 16px; + font-style: italic; +} + +body { + background: white; + color: black; + margin-right: 20px; + margin-left: 20px; +} + +td.indexkey { + background-color: #e8eef2; + font-weight: bold; + border: 1px solid #CCCCCC; + margin: 2px 0px 2px 0; + padding: 2px 10px; +} + +td.indexvalue { + background-color: #e8eef2; + border: 1px solid #CCCCCC; + padding: 2px 10px; + margin: 2px 0px; +} + +tr.memlist { + background-color: #f0f0f0; +} + +p.formulaDsp { + text-align: center; +} + +img.formulaDsp { + +} + +img.formulaInl { + vertical-align: middle; +} + +/* @group Code Colorization */ + +span.keyword { + color: #008000 +} + +span.keywordtype { + color: #604020 +} + +span.keywordflow { + color: #e08000 +} + +span.comment { + color: #800000 +} + +span.preprocessor { + color: #806020 +} + +span.stringliteral { + color: #002080 +} + +span.charliteral { + color: #008080 +} + +span.vhdldigit { + color: #ff00ff +} + +span.vhdlchar { + color: #000000 +} + +span.vhdlkeyword { + color: #700070 +} + +span.vhdllogic { + color: #ff0000 +} + +/* @end */ + +.search { + color: #003399; + font-weight: bold; +} + +form.search { + margin-bottom: 0px; + margin-top: 0px; +} + +input.search { + font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} + +td.tiny { + font-size: 75%; +} + +.dirtab { + padding: 4px; + border-collapse: collapse; + border: 1px solid #84b0c7; +} + +th.dirtab { + background: #e8eef2; + font-weight: bold; +} + +hr { + height: 0; + border: none; + border-top: 1px solid #666; +} + +/* @group Member Descriptions */ + +.mdescLeft, .mdescRight, +.memItemLeft, .memItemRight, +.memTemplItemLeft, .memTemplItemRight, .memTemplParams { + background-color: #FAFAFA; + border: none; + margin: 4px; + padding: 1px 0 0 8px; +} + +.mdescLeft, .mdescRight { + padding: 0px 8px 4px 8px; + color: #555; +} + +.memItemLeft, .memItemRight, .memTemplParams { + border-top: 1px solid #ccc; +} + +.memTemplParams { + color: #606060; +} + +/* @end */ + +/* @group Member Details */ + +/* Styles for detailed member documentation */ + +.memtemplate { + font-size: 80%; + color: #606060; + font-weight: normal; + margin-left: 3px; +} + +.memnav { + background-color: #e8eef2; + border: 1px solid #84b0c7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} + +.memitem { + padding: 0; +} + +.memname { + white-space: nowrap; + font-weight: bold; +} + +.memproto, .memdoc { + border: 1px solid #84b0c7; +} + +.memproto { + padding: 0; + background-color: #d5e1e8; + font-weight: bold; + -webkit-border-top-left-radius: 8px; + -webkit-border-top-right-radius: 8px; + -moz-border-radius-topleft: 8px; + -moz-border-radius-topright: 8px; +} + +.memdoc { + padding: 2px 5px; + background-color: #eef3f5; + border-top-width: 0; + -webkit-border-bottom-left-radius: 8px; + -webkit-border-bottom-right-radius: 8px; + -moz-border-radius-bottomleft: 8px; + -moz-border-radius-bottomright: 8px; +} + +.paramkey { + text-align: right; +} + +.paramtype { + white-space: nowrap; +} + +.paramname { + color: #602020; + white-space: nowrap; +} +.paramname em { + font-style: normal; +} + +/* @end */ + +/* @group Directory (tree) */ + +/* for the tree view */ + +.ftvtree { + font-family: sans-serif; + margin: 0.5em; +} + +/* these are for tree view when used as main index */ + +.directory { + font-size: 9pt; + font-weight: bold; +} + +.directory h3 { + margin: 0px; + margin-top: 1em; + font-size: 11pt; +} + +/* +The following two styles can be used to replace the root node title +with an image of your choice. Simply uncomment the next two styles, +specify the name of your image and be sure to set 'height' to the +proper pixel height of your image. +*/ + +/* +.directory h3.swap { + height: 61px; + background-repeat: no-repeat; + background-image: url("yourimage.gif"); +} +.directory h3.swap span { + display: none; +} +*/ + +.directory > h3 { + margin-top: 0; +} + +.directory p { + margin: 0px; + white-space: nowrap; +} + +.directory div { + display: none; + margin: 0px; +} + +.directory img { + vertical-align: -30%; +} + +/* these are for tree view when not used as main index */ + +.directory-alt { + font-size: 100%; + font-weight: bold; +} + +.directory-alt h3 { + margin: 0px; + margin-top: 1em; + font-size: 11pt; +} + +.directory-alt > h3 { + margin-top: 0; +} + +.directory-alt p { + margin: 0px; + white-space: nowrap; +} + +.directory-alt div { + display: none; + margin: 0px; +} + +.directory-alt img { + vertical-align: -30%; +} + +/* @end */ + +address { + font-style: normal; + color: #333; +} diff --git a/vendor/voclient/libvoclient/doc/html/doxygen.png b/vendor/voclient/libvoclient/doc/html/doxygen.png new file mode 100644 index 00000000..f0a274bb Binary files /dev/null and b/vendor/voclient/libvoclient/doc/html/doxygen.png differ diff --git a/vendor/voclient/libvoclient/doc/html/files.html b/vendor/voclient/libvoclient/doc/html/files.html new file mode 100644 index 00000000..4f6320e1 --- /dev/null +++ b/vendor/voclient/libvoclient/doc/html/files.html @@ -0,0 +1,42 @@ + + +VOClient API: File Index + + + + + +
+

File List

Here is a list of all documented files with brief descriptions: + + + + + + + + + + + +
VOClient.h [code]
vocMsg.c
vocRegistry.c
vocRegistry_f77.c
vocRegistry_spp.c
vocSesame.c
vocSesame_f77.c
vocSesame_spp.c
vocSkybot.c
vocUtil_f77.c
vocUtil_spp.c
+
+
Generated on Wed Feb 27 21:08:58 2013 for VOClient API by  + +doxygen 1.5.9
+ + diff --git a/vendor/voclient/libvoclient/doc/html/globals.html b/vendor/voclient/libvoclient/doc/html/globals.html new file mode 100644 index 00000000..bde6c30c --- /dev/null +++ b/vendor/voclient/libvoclient/doc/html/globals.html @@ -0,0 +1,191 @@ + + +VOClient API: Class Members + + + + + +
+Here is a list of all documented file members with links to the documentation: +

+

- m -

+

- s -

+

- v -

+

- x -

+
+
Generated on Wed Feb 27 21:08:58 2013 for VOClient API by  + +doxygen 1.5.9
+ + diff --git a/vendor/voclient/libvoclient/doc/html/globals_defs.html b/vendor/voclient/libvoclient/doc/html/globals_defs.html new file mode 100644 index 00000000..94d779a3 --- /dev/null +++ b/vendor/voclient/libvoclient/doc/html/globals_defs.html @@ -0,0 +1,42 @@ + + +VOClient API: Class Members + + + + + +
+  +

+

+
+
Generated on Wed Feb 27 21:08:58 2013 for VOClient API by  + +doxygen 1.5.9
+ + diff --git a/vendor/voclient/libvoclient/doc/html/globals_func.html b/vendor/voclient/libvoclient/doc/html/globals_func.html new file mode 100644 index 00000000..7f1e6963 --- /dev/null +++ b/vendor/voclient/libvoclient/doc/html/globals_func.html @@ -0,0 +1,186 @@ + + +VOClient API: Class Members + + + + + +
+  +

+

- m -

+

- s -

+

- v -

+
+
Generated on Wed Feb 27 21:08:58 2013 for VOClient API by  + +doxygen 1.5.9
+ + diff --git a/vendor/voclient/libvoclient/doc/html/index.html b/vendor/voclient/libvoclient/doc/html/index.html new file mode 100644 index 00000000..0d1ce1c9 --- /dev/null +++ b/vendor/voclient/libvoclient/doc/html/index.html @@ -0,0 +1,25 @@ + + +VOClient API: Main Page + + + + + +
+

VOClient API Documentation

+

+

+
Generated on Wed Feb 27 21:08:58 2013 for VOClient API by  + +doxygen 1.5.9
+ + diff --git a/vendor/voclient/libvoclient/doc/html/structObject-members.html b/vendor/voclient/libvoclient/doc/html/structObject-members.html new file mode 100644 index 00000000..5deb1453 --- /dev/null +++ b/vendor/voclient/libvoclient/doc/html/structObject-members.html @@ -0,0 +1,36 @@ + + +VOClient API: Member List + + + + + +
+

Object Member List

This is the complete list of members for Object, including all inherited members.

+ + + + + + + +
dec (defined in Object)Object
edec (defined in Object)Object
era (defined in Object)Object
hms_pos (defined in Object)Object
ra (defined in Object)Object
target (defined in Object)Object
type (defined in Object)Object

+
Generated on Wed Feb 27 21:08:58 2013 for VOClient API by  + +doxygen 1.5.9
+ + diff --git a/vendor/voclient/libvoclient/doc/html/structObject.html b/vendor/voclient/libvoclient/doc/html/structObject.html new file mode 100644 index 00000000..414ca7ba --- /dev/null +++ b/vendor/voclient/libvoclient/doc/html/structObject.html @@ -0,0 +1,58 @@ + + +VOClient API: Object Struct Reference + + + + + +
+

Object Struct Reference

+

+List of all members. + + + + + + + + + + + + + + + + +

Public Attributes

+char target [SZ_TARGET]
+char hms_pos [SZ_TARGET]
+double ra
+double dec
+double era
+double edec
+char type [SZ_TARGET]
+


Detailed Description

+Structure for the object being queried.
The documentation for this struct was generated from the following file: +
+
Generated on Wed Feb 27 21:08:58 2013 for VOClient API by  + +doxygen 1.5.9
+ + diff --git a/vendor/voclient/libvoclient/doc/html/tab_b.gif b/vendor/voclient/libvoclient/doc/html/tab_b.gif new file mode 100644 index 00000000..0d623483 Binary files /dev/null and b/vendor/voclient/libvoclient/doc/html/tab_b.gif differ diff --git a/vendor/voclient/libvoclient/doc/html/tab_l.gif b/vendor/voclient/libvoclient/doc/html/tab_l.gif new file mode 100644 index 00000000..9b1e6337 Binary files /dev/null and b/vendor/voclient/libvoclient/doc/html/tab_l.gif differ diff --git a/vendor/voclient/libvoclient/doc/html/tab_r.gif b/vendor/voclient/libvoclient/doc/html/tab_r.gif new file mode 100644 index 00000000..ce9dd9f5 Binary files /dev/null and b/vendor/voclient/libvoclient/doc/html/tab_r.gif differ diff --git a/vendor/voclient/libvoclient/doc/html/tabs.css b/vendor/voclient/libvoclient/doc/html/tabs.css new file mode 100644 index 00000000..ab02c624 --- /dev/null +++ b/vendor/voclient/libvoclient/doc/html/tabs.css @@ -0,0 +1,105 @@ +/* tabs styles, based on http://www.alistapart.com/articles/slidingdoors */ + +DIV.tabs +{ + float : left; + width : 100%; + background : url("tab_b.gif") repeat-x bottom; + margin-bottom : 4px; +} + +DIV.tabs UL +{ + margin : 0px; + padding-left : 10px; + list-style : none; +} + +DIV.tabs LI, DIV.tabs FORM +{ + display : inline; + margin : 0px; + padding : 0px; +} + +DIV.tabs FORM +{ + float : right; +} + +DIV.tabs A +{ + float : left; + background : url("tab_r.gif") no-repeat right top; + border-bottom : 1px solid #84B0C7; + font-size : 80%; + font-weight : bold; + text-decoration : none; +} + +DIV.tabs A:hover +{ + background-position: 100% -150px; +} + +DIV.tabs A:link, DIV.tabs A:visited, +DIV.tabs A:active, DIV.tabs A:hover +{ + color: #1A419D; +} + +DIV.tabs SPAN +{ + float : left; + display : block; + background : url("tab_l.gif") no-repeat left top; + padding : 5px 9px; + white-space : nowrap; +} + +DIV.tabs INPUT +{ + float : right; + display : inline; + font-size : 1em; +} + +DIV.tabs TD +{ + font-size : 80%; + font-weight : bold; + text-decoration : none; +} + + + +/* Commented Backslash Hack hides rule from IE5-Mac \*/ +DIV.tabs SPAN {float : none;} +/* End IE5-Mac hack */ + +DIV.tabs A:hover SPAN +{ + background-position: 0% -150px; +} + +DIV.tabs LI.current A +{ + background-position: 100% -150px; + border-width : 0px; +} + +DIV.tabs LI.current SPAN +{ + background-position: 0% -150px; + padding-bottom : 6px; +} + +DIV.navpath +{ + background : none; + border : none; + border-bottom : 1px solid #84B0C7; + text-align : center; + margin : 2px; + padding : 2px; +} diff --git a/vendor/voclient/libvoclient/doc/html/vocMsg_8c.html b/vendor/voclient/libvoclient/doc/html/vocMsg_8c.html new file mode 100644 index 00000000..1219ab9d --- /dev/null +++ b/vendor/voclient/libvoclient/doc/html/vocMsg_8c.html @@ -0,0 +1,960 @@ + + +VOClient API: vocMsg.c File Reference + + + + + +
+

vocMsg.c File Reference

#include <stdio.h>
+#include <string.h>
+#include <stddef.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <ctype.h>
+#include <pthread.h>
+#include <sys/file.h>
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <sys/select.h>
+#include <sys/time.h>
+#include <netinet/in.h>
+#include <sys/un.h>
+#include <errno.h>
+#include <signal.h>
+#include <netdb.h>
+#include <fcntl.h>
+#include <sys/uio.h>
+#include "VOClient.h"
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Defines

+#define _VOCLIENT_LIB_
+#define SELWIDTH   32
+#define SZ_CHUNK   4096
+#define SZ_BULKDATA   1024000

Functions

vocMsg_t * msg_newCallMsg (ObjectID objid, char *method, int nparams)
 Create a CALL message structure initialized w/ parameters.
vocMsg_t * msg_newResultMsg (int status, int type, int nitems)
 Create a RESULT message structure initialized w/ parameters.
vocMsg_t * msg_newMsg (char *msgclass, char *str)
 Create a MSG message initialized w/ parameters.
vocMsg_t * msg_shutdownMsg ()
 Create a END message to shutdown the server.
vocMsg_t * msg_quitMsg ()
 Create a QUIT message.
vocMsg_t * msg_ackMsg ()
 Create an ACK message.
vocMsg_t * msg_noackMsg ()
 Create a NOACK message.
vocRes_t * msg_sendMsg (int fd, vocMsg_t *msg)
 Send the message to the VOClient server.
int msg_sendRawMsg (int fd, vocMsg_t *msg)
 Send the message to the VOClient server.
vocRes_t * msg_getResult (int fd)
 Read and parse a result message.
vocRes_t * msg_getResultToFile (int fd, char *fname, int overwrite)
 Read and parse a result message, saving data to named file.
void msg_addIntParam (vocMsg_t *msg, int ival)
 Add a int parameter to an outgoing CALL message.
void msg_addFloatParam (vocMsg_t *msg, double dval)
 Add a float parameter to an outgoing CALL message.
void msg_addStringParam (vocMsg_t *msg, char *str)
 Add a string parameter to an outgoing CALL message.
void msg_addIntResult (vocMsg_t *msg, int ival)
 Add a integer value to a RESULT string.
+void msg_addFloatResult (vocMsg_t *msg, double dval)
void msg_addStringResult (vocMsg_t *msg, char *str)
 Add a string value to a RESULT string.
int msg_resultStatus (vocRes_t *res)
 Get result status.
int msg_resultType (vocRes_t *res)
 Get result type.
int msg_resultLength (vocRes_t *res)
 Get result length.
int msg_getIntResult (vocRes_t *res, int index)
 Get an integer result by index.
double msg_getFloatResult (vocRes_t *res, int index)
 Get a float result by index.
char * msg_getStringResult (vocRes_t *res, int index)
 Get a string result by index.
void * msg_getBuffer (vocRes_t *res)
 Get result buffer.

Variables

+VOClient * vo
+

Detailed Description

+VOCMSG.C -- VOClient Messaging Interface. This interface is used internally to communicate between the API and the VOClient Daemon.

+msg = newCallMsg (objid, method, nparams) msg = newResultMsg (status, type, nitems) msg = newMsg (msgclass, str)

+msgAddIntParam (msg, ival) msgAddFloatParam (msg, dval) msgAddStringParam (msg, str)

+msgAddIntResult (msg, ival) msgAddFloatResult (msg, dval) msgAddStringResult (msg, str)

+sendMsg (fd, msg) freeMsg (msg)

+res = getResult (fd) # for reading RESULT msgs freeResult (res)

+stat = resultStatus (res) type = resultType (res) nitems = resultLength (res)

+ival = getIntResult (res, index) dval = getFloatResult (res, index) str = getStringResult (res, index)

+

Author:
Michael Fitzpatrick
+
Version:
June 2006
+

Function Documentation

+ +
+
+ + + + + + + + + +
msg msg_ackMsg (void   ) 
+
+
+ +

+Create an ACK message. +

+MSG_ACKMSG -- Create an ACK message to the VOClient Server.

+

Returns:
a new message object
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
msg_addFloatParam (vocMsg_t *  msg,
double  dval 
)
+
+
+ +

+Add a float parameter to an outgoing CALL message. +

+MSG_ADDFLOATPARAM -- Add a float parameter to an outgoing CALL message. We simply append to an existing message.

+

Parameters:
+ + + +
msg outgoing message
dval double value
+
+
Returns:
nothing
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
msg_addIntParam (vocMsg_t *  msg,
int  ival 
)
+
+
+ +

+Add a int parameter to an outgoing CALL message. +

+MSG_ADDINTPARAM -- Add a int parameter to an outgoing CALL message. We simply append to an existing message.

+

Parameters:
+ + + +
msg outgoing message
ival integer value
+
+
Returns:
nothing
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
msg_addIntResult (vocMsg_t *  msg,
int  ival 
)
+
+
+ +

+Add a integer value to a RESULT string. +

+MSG_ADDINTRESULT -- Add an integer value to a RESULT string.

+

Parameters:
+ + + +
msg result string
ival integer value
+
+
Returns:
nothing
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
msg_addStringParam (vocMsg_t *  msg,
char *  str 
)
+
+
+ +

+Add a string parameter to an outgoing CALL message. +

+MSG_ADDSTRINGPARAM -- Add a string parameter to an outgoing CALL message. We simply append to an existing message.

+

Parameters:
+ + + +
msg outgoing message
str string value
+
+
Returns:
nothing
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
msg_addStringResult (vocMsg_t *  msg,
char *  str 
)
+
+
+ +

+Add a string value to a RESULT string. +

+MSG_ADDSTRINGRESULT -- Add a string value to a RESULT string.

+

Parameters:
+ + + +
msg result string
str string value
+
+
Returns:
nothing
+ +
+

+ +

+
+ + + + + + + + + +
len msg_getBuffer (vocRes_t *  res  ) 
+
+
+ +

+Get result buffer. +

+MSG_GETBUFFER -- Get result buffer.

+

Parameters:
+ + +
res result message
+
+
Returns:
pointer to result buffer
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
dval msg_getFloatResult (vocRes_t *  res,
int  index 
)
+
+
+ +

+Get a float result by index. +

+MSG_GETFLOATRESULT -- Get a float result by index.

+

Parameters:
+ + + +
res result message
index result index
+
+
Returns:
float value
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
ival msg_getIntResult (vocRes_t *  res,
int  index 
)
+
+
+ +

+Get an integer result by index. +

+MSG_GETINTRESULT -- Get an integer result by index.

+

Parameters:
+ + + +
res result message
index result index
+
+
Returns:
integer value
+ +
+

+ +

+
+ + + + + + + + + +
res msg_getResult (int  fd  ) 
+
+
+ +

+Read and parse a result message. +

+MSG_GETRESULT -- Read and parse a result message.

+

Parameters:
+ + +
fd message channel descriptor
+
+
Returns:
result message object
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
res msg_getResultToFile (int  fd,
char *  fname,
int  overwrite 
)
+
+
+ +

+Read and parse a result message, saving data to named file. +

+MSG_GETRESULTTOFILE -- Read and parse a result message, save bulk data to the named file.

+

Parameters:
+ + +
fd message channel descriptor
+
+
Returns:
result message object
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
str msg_getStringResult (vocRes_t *  res,
int  index 
)
+
+
+ +

+Get a string result by index. +

+MSG_GETSTRINGRESULT -- Get a string result by index.

+

Parameters:
+ + + +
res result message
index result index
+
+
Returns:
string value
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
msg msg_newCallMsg (ObjectID  objid,
char *  method,
int  nparams 
)
+
+
+ +

+Create a CALL message structure initialized w/ parameters. +

+MSG_NEWCALLMSG -- Create a CALL message structure and initialize with the requested parameters. Structures are allocated dynamically, the caller is responsible for freeing the struct when finished.

+

Parameters:
+ + + + +
objid object id
method name of method to call
nparams number of parameters in message
+
+
Returns:
a new message object
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
msg msg_newMsg (char *  msgclass,
char *  str 
)
+
+
+ +

+Create a MSG message initialized w/ parameters. +

+MSG_NEWMSG -- Create a new MSG message context and initialize with the requested parameters. The caller is responsible for freeing the struct when complete.

+

Parameters:
+ + + +
msgclass message class
str message string
+
+
Returns:
a new message object
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
msg msg_newResultMsg (int  status,
int  type,
int  nitems 
)
+
+
+ +

+Create a RESULT message structure initialized w/ parameters. +

+MSG_NEWRESULTMSG -- Create a new RESULT message context and initialize with the requested parameters. The caller is responsible for freeing the struct when complete.

+

Parameters:
+ + + + +
status result status
type result type
nitems number of items in message
+
+
Returns:
a new message object
+ +
+

+ +

+
+ + + + + + + + + +
msg msg_noackMsg (void   ) 
+
+
+ +

+Create a NOACK message. +

+MSG_NOACKMSG -- Create an NO-ACK message to the VOClient Server.

+

Returns:
a new message object
+ +
+

+ +

+
+ + + + + + + + + +
msg msg_quitMsg (void   ) 
+
+
+ +

+Create a QUIT message. +

+MSG_QUITMSG -- Create a QUIT message to the VOClient Server to tell it we're leaving but that it should keep running

+

Returns:
a new message object
+ +
+

+ +

+
+ + + + + + + + + +
len msg_resultLength (vocRes_t *  res  ) 
+
+
+ +

+Get result length. +

+MSG_RESULTLENGTH -- Get result length.

+

Parameters:
+ + +
msg result string
+
+
Returns:
result length
+ +
+

+ +

+
+ + + + + + + + + +
status msg_resultStatus (vocRes_t *  res  ) 
+
+
+ +

+Get result status. +

+MSG_RESULTSTATUS -- Get result status.

+

Parameters:
+ + +
msg result string
+
+
Returns:
result status
+ +
+

+ +

+
+ + + + + + + + + +
type msg_resultType (vocRes_t *  res  ) 
+
+
+ +

+Get result type. +

+MSG_RESULTTYPE -- Get result type.

+

Parameters:
+ + +
msg result string
+
+
Returns:
result type
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
msg msg_sendMsg (int  fd,
vocMsg_t *  msg 
)
+
+
+ +

+Send the message to the VOClient server. +

+MSG_SENDMSG -- Send the message to the VOClient Server and wait for the ACK. The simple form of the message returns the result handle, for the raw message we only send to allow to a bullk return object.

+

Parameters:
+ + + +
fd message channel descriptor
str message string
+
+
Returns:
a new message object
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
len msg_sendRawMsg (int  fd,
vocMsg_t *  msg 
)
+
+
+ +

+Send the message to the VOClient server. +

+MSG_SENDRAWMSG -- Send the message to the VOClient Server.

+

Parameters:
+ + + +
fd message channel descriptor
str message string
+
+
Returns:
a new message object
+ +
+

+ +

+
+ + + + + + + + + +
msg msg_shutdownMsg (void   ) 
+
+
+ +

+Create a END message to shutdown the server. +

+MSG_SHUTDOWNMSG -- Create an END message to the VOClient Server to shut it down.

+

Returns:
a new message object
+ +
+

+

+
Generated on Wed Feb 27 21:08:58 2013 for VOClient API by  + +doxygen 1.5.9
+ + diff --git a/vendor/voclient/libvoclient/doc/html/vocRegistry_8c.html b/vendor/voclient/libvoclient/doc/html/vocRegistry_8c.html new file mode 100644 index 00000000..b69f7af6 --- /dev/null +++ b/vendor/voclient/libvoclient/doc/html/vocRegistry_8c.html @@ -0,0 +1,745 @@ + + +VOClient API: vocRegistry.c File Reference + + + + + +
+

vocRegistry.c File Reference

#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <signal.h>
+#include <errno.h>
+#include "VOClient.h"
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Functions

RegResult voc_regSearch (char *term1, char *term2, int orValues)
 High-level Registry query interface.
RegResult voc_regSearchByService (char *svc, char *term, int orValues)
 Search Registry using a search term and service constraint.
RegQuery voc_regQuery (char *term, int orValues)
 Create a RegistryQuery object.
void voc_regAddSearchTerm (RegQuery query, char *term, int orValue)
 Add a search term to the specified query.
void voc_regRemoveSearchTerm (RegQuery query, char *term)
 Remove a search term to the specified query.
void voc_regConstWaveband (RegQuery query, char *waveband)
 Constrain the Registry search by waveband.
+void voc_regConstSvcType (RegQuery query, char *svcType)
void voc_regDALOnly (RegQuery query, int value)
 Set the "DAL Only" flag.
void voc_regSortRes (RegQuery query, int value)
 Set the resource "sort" flag.
int voc_regGetSTCount (RegQuery query)
 Get the number of search terms in the current query.
char * voc_regGetQueryString (RegQuery query)
 Get the current query as an http GET URL.
RegResult voc_regExecute (RegQuery query)
 Execute the specified query.
char * voc_regExecuteRaw (RegQuery query)
 Execute the specified query and return raw result string.
int voc_resGetCount (RegResult res)
 Return a count of the number of results records.
char * voc_resGetStr (RegResult res, char *attribute, int index)
 Get a string-valued attribute from the result resource record.
double voc_resGetFloat (RegResult res, char *attribute, int index)
 Get a real-valued attribute from the result resource record.
int voc_resGetInt (RegResult res, char *attribute, int index)
 Get an int-valued attribute from the result resource record.

Variables

+VOClient * vo
+

Detailed Description

+VOC_REGISTRYQUERY -- Utility code to act as a client interface to the NVO Registry service.

+RegistryQuery ----------------------

+High-Level Query:

+res = voc_regSearch (sql, keywords, orValues) res =voc_regSearchByService (svc, term, orValues)

+Programmatic Query:

+query = voc_regQuery (term, orValues) // OR keyword list?

+voc_regConstSvcType (query, svcType) // search constraints voc_regConstWaveband (query, waveband) voc_regDALOnly (query, value) voc_regSortRes (query, value)

+voc_regAddSearchTerm (query, term, orValue) // OR term w/ previous voc_regRemoveSearchTerm (query, term) // remove search term count = voc_regGetSTCount (query)

+str = voc_regGetQueryString (query) // GET form of query

+res = voc_regExecute (query) // return result obj str = voc_regExecuteRaw (query) // return raw XML

+RegistryQueryResult

+count = voc_resGetCount (res)

+str = voc_resGetStr (res, attribute, index) dval = voc_resGetFloat (res, attribute, index) ival = voc_resGetInt (res, attribute, index)

+For this implementation, we've chose to use the NVO Registry at JHU/STScI, specifically the QueryRegistry() method which provides a 'SimpleResource' form of the resource record. Support for the newer IVOA standard will be added later, for now we can quickly access the most commonly used fields of a resource using both a keyword and SQL form of the search.

+

Author:
Michael Fitzpatrick
+
Version:
July 2006
+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void voc_regAddSearchTerm (RegQuery  query,
char *  term,
int  orValue 
)
+
+
+ +

+Add a search term to the specified query. +

+VOC_REGADDSEARCHTERM -- Add a search term (sql predicate or keyword list) to the specified query.

+

Parameters:
+ + + + +
query Registry query handle
term keyword search term
orValues logically OR values?
+
+
Returns:
nothing
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
void voc_regConstWaveband (RegQuery  query,
char *  waveband 
)
+
+
+ +

+Constrain the Registry search by waveband. +

+Constrain the Registry search by service type.

+VOC_REGCONSTWAVEBAND -- Constrain the Registry search by waveband.

+

Parameters:
+ + + +
query Registry query handle
waveband waveband string
+
+
Returns:
nothing
+VOC_REGCONSTSVCTYPE -- Constraing the Registry search by service type.

+

Parameters:
+ + + +
query Registry query handle
svcType service type string
+
+
Returns:
nothing
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
void voc_regDALOnly (RegQuery  query,
int  value 
)
+
+
+ +

+Set the "DAL Only" flag. +

+VOC_REGDALONLY -- Set the "DAL Only" flag. If set, we expand a resource search to break out the individual DAL services into separate results.

+

Parameters:
+ + + +
query Registry query handle
value value of the DAL-only flag
+
+
Returns:
nothing
+ +
+

+ +

+
+ + + + + + + + + +
RegResult voc_regExecute (RegQuery  query  ) 
+
+
+ +

+Execute the specified query. +

+VOC_REGEXECUTE -- Execute the specified query, returning a result object code or NULL.

+

Parameters:
+ + +
query Registry query handle
+
+
Returns:
registry result object handle
+ +
+

+ +

+
+ + + + + + + + + +
char* voc_regExecuteRaw (RegQuery  query  ) 
+
+
+ +

+Execute the specified query and return raw result string. +

+VOC_REGEXECUTERAW -- Execute the specified query and return the raw resulting XML string.

+

Parameters:
+ + +
query Registry query handle
+
+
Returns:
raw data return from data
+ +
+

+ +

+
+ + + + + + + + + +
char* voc_regGetQueryString (RegQuery  query  ) 
+
+
+ +

+Get the current query as an http GET URL. +

+VOC_REGGETQUERYSTRING -- Get the current query as an http GET URL.

+

Parameters:
+ + +
query Registry query handle
+
+
Returns:
query URL
+ +
+

+ +

+
+ + + + + + + + + +
int voc_regGetSTCount (RegQuery  query  ) 
+
+
+ +

+Get the number of search terms in the current query. +

+VOC_REGGETSTCOUNT -- Get the number of search terms in the current query.

+

Parameters:
+ + +
query Registry query handle
+
+
Returns:
nothing
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
RegQuery voc_regQuery (char *  term,
int  orValues 
)
+
+
+ +

+Create a RegistryQuery object. +

+VOC_REGQUERY -- Create a RegistryQuery object.

+

Parameters:
+ + + +
term keyword search term
orValues logically OR values?
+
+
Returns:
handle to Registry Query object
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
void voc_regRemoveSearchTerm (RegQuery  query,
char *  term 
)
+
+
+ +

+Remove a search term to the specified query. +

+VOC_REMOVESEARCHTERM -- Remove the search term from the query.

+

Parameters:
+ + + +
query Registry query handle
term keyword search term
+
+
Returns:
nothing
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
RegResult voc_regSearch (char *  term1,
char *  term2,
int  orValues 
)
+
+
+ +

+High-level Registry query interface. +

+VOC_REGSEARCH -- High-level procedure to form a query and execute it immediately. We allow that 'term1' may be a complex SQL WHERE predicate, and that 'term2' (or vice versa) is a search-keyword list. The 'orValues' applies to the keyword list (if present), otherwise it applies to the two search term elements. The default action if two terms are specified is to logically AND them.

+The thinking here is that one might want SIAP services for Quasars. This is easily expressed in an SQL form to get SIAP resources, however a Quasar may be known as a QSO, AGN, active-nuclei, etc and so we need a easy way to OR the keywords but AND that result with the SQL predicate.

+

Parameters:
+ + + + +
term1 first search term
term2 second search term
orValues logically OR values?
+
+
Returns:
handle to Registry result object
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
RegResult voc_regSearchByService (char *  svc,
char *  term,
int  orValues 
)
+
+
+ +

+Search Registry using a search term and service constraint. +

+VOC_REGSEARCHBYSERVICE -- Search the Registry using a search term and constrain by service type.

+

Parameters:
+ + + + +
svc service type constraint
term keyword search term
orValues logically OR values?
+
+
Returns:
handle to Registry result object
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
void voc_regSortRes (RegQuery  query,
int  value 
)
+
+
+ +

+Set the resource "sort" flag. +

+VOC_REGSORTRES -- Set the resource "sort" flag. If enabled, we try to order the resource table by some logical means.

+

Parameters:
+ + + +
query Registry query handle
value value of the sort flag
+
+
Returns:
nothing
+ +
+

+ +

+
+ + + + + + + + + +
int voc_resGetCount (RegResult  res  ) 
+
+
+ +

+Return a count of the number of results records. +

+VOC_RESGETCOUNT -- Return a count of the number of results records.

+

Parameters:
+ + +
res Registry result handle
+
+
Returns:
number of result records
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
double voc_resGetFloat (RegResult  res,
char *  attribute,
int  index 
)
+
+
+ +

+Get a real-valued attribute from the result resource record. +

+VOC_GETFLOAT -- Get a real-valued attribute from the result resource record. Currently recognized real-valued attributes include:

+MaxSR maximum search radius

+Attribute string are case-insensitive.

+

Parameters:
+ + + + +
res Registry result handle
attr record attribute
index record index
+
+
Returns:
string-valued attribute
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int voc_resGetInt (RegResult  res,
char *  attribute,
int  index 
)
+
+
+ +

+Get an int-valued attribute from the result resource record. +

+VOC_GETINT -- Get a integer-valued attribute from the result resource record. Currently recognized real-valued attributes include:

+MaxRecords maximum records returned by the service

+Attribute string are case-insensitive.

+

Parameters:
+ + + + +
res Registry result handle
attr record attribute
index record index
+
+
Returns:
string-valued attribute
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
char* voc_resGetStr (RegResult  res,
char *  attribute,
int  index 
)
+
+
+ +

+Get a string-valued attribute from the result resource record. +

+VOC_GETSTR -- Get a string-valued attribute from the result resource record. Currently recognized real-valued attributes include:

+Title Resource title (long version) ShortName Short name of Resource ServiceURL Service URL (if appropriate) ReferenceURL URL to reference about Resource Description Text description of resource Identifier Standard ivo identifier of resource ServiceType Service Type (Cone, Siap, etc) Type Resource Type (catalog, survey, etc) CoverageSpatial Spatial coverage (STC) CoverageTemporal Temporal coverage of data

+CoverageSpectral Spectral coverage (csv list of bandpasses) ContentLevel Content level (research, EPO, etc -- csv list)

+Attribute strings are case-insensitive.

+

Parameters:
+ + + + +
res Registry result handle
attr record attribute
index record index
+
+
Returns:
string-valued attribute
+ +
+

+

+
Generated on Wed Feb 27 21:08:58 2013 for VOClient API by  + +doxygen 1.5.9
+ + diff --git a/vendor/voclient/libvoclient/doc/html/vocRegistry__f77_8c.html b/vendor/voclient/libvoclient/doc/html/vocRegistry__f77_8c.html new file mode 100644 index 00000000..3a17639e --- /dev/null +++ b/vendor/voclient/libvoclient/doc/html/vocRegistry__f77_8c.html @@ -0,0 +1,147 @@ + + +VOClient API: vocRegistry_f77.c File Reference + + + + + +
+

vocRegistry_f77.c File Reference

#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <signal.h>
+#include <errno.h>
+#include "VOClient.h"
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Defines

+#define _VOCLIENT_LIB_
+#define VF_REGSEARCH   vfregsearch_
+#define VF_REGSEARCHBYSVC   vfregsearchbysvc_
+#define VF_REGQUERY   vfregquery_
+#define VF_REGADDSEARCHTERM   vfregaddsearchterm_
+#define VF_REGREMOVESEARCHTERM   vfregremovesearchterm_
+#define VF_REGGETSTCOUNT   vfreggetstcount_
+#define VF_REGGETQUERYSTRING   vfreggetquerystring_
+#define VF_REGEXECUTE   vfregexecute_
+#define VF_REGEXECUTERAW   vfregexecuteraw_
+#define VF_RESGETCOUNT   vfresgetcount_
+#define VF_RESGETSTR   vfresgetstr_
+#define VF_RESGETFLOAT   vfresgetfloat_
+#define VF_RESGETINT   vfresgetint_

Functions

+void VF_REGSEARCH (char *term1, char *term2, int *orValues, RegResult *result, int *ier, int len1, int len2)
+void VF_REGSEARCHBYSVC (char *svc, char *term, int *orValues, RegResult *result, int *ier, int slen, int tlen)
+void VF_REGQUERY (char *term, int *orValues, RegQuery *query, int *ier, int len)
+void VF_REGADDSEARCHTERM (RegQuery *query, char *term, int *orValue, int tlen)
+void VF_REGREMOVESEARCHTERM (RegQuery *query, char *term, int tlen)
+void VF_REGGETSTCOUNT (RegQuery *query, int *count)
+void VF_REGGETQUERYSTRING (RegQuery *query, char *qstr, int *len, int qlen)
+void VF_REGEXECUTE (RegQuery *query, RegResult *result)
+void VF_REGEXECUTERAW (RegQuery *query, char *raw, int *len, int rlen)
+void VF_RESGETCOUNT (RegResult *res, int *count)
+void VF_RESGETSTR (RegResult *res, char *attr, int *index, char *str, int *len, int alen, int slen)
+void VF_RESGETFLOAT (RegResult *res, char *attr, int *index, double *dval, int alen)
+void VF_RESGETINT (RegResult *res, char *attr, int *index, int *ival, int alen)
+char * sstrip (char *instr, int len)
+void spad (char *outstr, int len)

Variables

+VOClient * vo
+

Detailed Description

+VOC_REGISTRYQUERY -- Utility code to act as a client interface to the NVO Registry service.

+RegistryQuery ----------------------

+High-Level Query:

+res = voc_regSearch (term1, term2, orValues) res = voc_regSearchBySvc (svc, term, orValues)

+Programmatic Query:

+query = voc_regQuery (term, orValues) // OR keyword list?

+voc_regAddSearchTerm (query, term, orValue) // OR term w/ previous voc_regRemoveSearchTerm (query, term) // remove search term count = voc_regGetSTCount (query)

+str = voc_regGetQueryString (query) // GET form of query

+res = voc_regExecute (query) // return result obj str = voc_regExecuteRaw (query) // return raw XML

+RegistryQueryResult

+count = voc_resGetCount (res)

+str = voc_resGetStr (res, attribute, index) dval = voc_resGetFloat (res, attribute, index) ival = voc_resGetInt (res, attribute, index)

+For this implementation, we've chose to use the NVO Registry at JHU/STScI, specifically the QueryRegistry() method which provides a 'SimpleResource' form of the resource record. Support for the newer IVOA standard will be added later, for now we can quickly access the most commonly used fields of a resource using both a keyword and SQL form of the search.

+

Author:
Michael Fitzpatrick
+
Version:
July 2006
+
+
Generated on Wed Feb 27 21:08:58 2013 for VOClient API by  + +doxygen 1.5.9
+ + diff --git a/vendor/voclient/libvoclient/doc/html/vocRegistry__spp_8c.html b/vendor/voclient/libvoclient/doc/html/vocRegistry__spp_8c.html new file mode 100644 index 00000000..63c047b5 --- /dev/null +++ b/vendor/voclient/libvoclient/doc/html/vocRegistry__spp_8c.html @@ -0,0 +1,730 @@ + + +VOClient API: vocRegistry_spp.c File Reference + + + + + +
+

vocRegistry_spp.c File Reference

#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <signal.h>
+#include <errno.h>
+#include "VOClient.h"
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Defines

+#define _VOCLIENT_LIB_
+#define vx_regsearch   vxregh_
+#define vx_regsearchbysvc   vxregc_
+#define vx_regquery   vxregy_
+#define vx_raddsearchterm   vxradm_
+#define vx_rremovesearchterm   vxrrem_
+#define vx_rgetstcount   vxrget_
+#define vx_rgetquerystring   vxrgeg_
+#define vx_rexecute   vxrexe_
+#define vx_rexecuteraw   vxrexw_
+#define vx_rscount   vxrsct_
+#define vx_rsstr   vxrssr_
+#define vx_rsfloat   vxrsft_
+#define vx_rsint   vxrsit_
+#define XCHAR   short
+#define PKCHAR   char
+#define XINT   int
+#define XEOS   NULL

Functions

RegResult vx_regsearch (XCHAR *term1, XCHAR *term2, int *orValues)
 High-level Registry query interface.
RegResult vx_regsearchbysvc (XCHAR *svc, XCHAR *term, int *orValues)
 Search Registry using a search term and service constraint.
RegQuery vx_regquery (XCHAR *term, int *orValues)
 Create a RegistryQuery object.
void vx_raddsearchterm (RegQuery *query, XCHAR *term, int *orValue)
 Add a search term to the specified query.
void vx_rremovesearchterm (RegQuery *query, XCHAR *term)
 Remove a search term to the specified query.
int vx_rgetstcount (RegQuery *query)
 Get the number of search terms in the current query.
int vx_rgetquerystring (RegQuery *query, XCHAR *qstring, int *maxch)
 Get the current query as an http GET URL.
RegResult vx_rexecute (RegQuery *query)
 Execute the specified query.
int vx_rexecuteraw (RegQuery *query, XCHAR *result, int *maxch)
 Execute the specified query and return raw result string.
+int vx_rgcount (RegResult *res)
+int vx_rgstr (RegResult *res, XCHAR *attribute, int *index, XCHAR *result, int *maxch)
+double vx_rgfloat (RegResult *res, XCHAR *attribute, int *index)
+int vx_rgint (RegResult *res, XCHAR *attribute, int *index)
+PKCHAR * spp2c (XCHAR *instr, int maxch)
+int c2spp (PKCHAR *instr, XCHAR *outstr, int maxch)
+int spplen (XCHAR *str)
int vx_rscount (RegResult *res)
 Return a count of the number of results records.
int vx_rsstr (RegResult *res, XCHAR *attribute, int *index, XCHAR *result, int *maxch)
 Get a string-valued attribute from the result resource record.
double vx_rsfloat (RegResult *res, XCHAR *attribute, int *index)
 Get a real-valued attribute from the result resource record.
int vx_rsint (RegResult *res, XCHAR *attribute, int *index)
 Get an int-valued attribute from the result resource record.

Variables

+VOClient * vo
+

Detailed Description

+VOC_REGISTRYQUERY -- Utility code to act as a client interface to the NVO Registry service.

+RegistryQuery ----------------------

+High-Level Query:

+res = voc_regSearch (term1, term2, orValues)

+Programmatic Query:

+query = voc_regQuery (term, orValues) // OR keyword list?

+voc_regAddSearchTerm (query, term, orValue) // OR term w/ previous voc_regRemoveSearchTerm (query, term) // remove search term count = voc_regGetSTCount (query)

+str = voc_regGetQueryString (query) // GET form of query

+res = voc_regExecute (query) // return result obj str = voc_regExecuteRaw (query) // return raw XML

+RegistryQueryResult

+count = voc_resGetCount (res)

+str = voc_resGetStr (res, attribute, index) dval = voc_resGetFloat (res, attribute, index) ival = voc_resGetInt (res, attribute, index)

+For this implementation, we've chose to use the NVO Registry at JHU/STScI, specifically the QueryRegistry() method which provides a 'SimpleResource' form of the resource record. Support for the newer IVOA standard will be added later, for now we can quickly access the most commonly used fields of a resource using both a keyword and SQL form of the search.

+

Author:
Michael Fitzpatrick
+
Version:
July 2006
+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void vx_raddsearchterm (RegQuery *  query,
XCHAR *  term,
int *  orValue 
)
+
+
+ +

+Add a search term to the specified query. +

+VX_REGADDSEARCHTERM -- Add a search term (sql predicate or keyword list) to the specified query.

+

Parameters:
+ + + + +
query Registry query handle
term keyword search term
orValues logically OR values?
+
+
Returns:
nothing
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
RegQuery vx_regquery (XCHAR *  term,
int *  orValues 
)
+
+
+ +

+Create a RegistryQuery object. +

+VX_REGQUERY -- Get a RegistryQuery object.

+

Parameters:
+ + + +
term keyword search term
orValues logically OR values?
+
+
Returns:
handle to query object
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
RegResult vx_regsearch (XCHAR *  term1,
XCHAR *  term2,
int *  orValues 
)
+
+
+ +

+High-level Registry query interface. +

+VX_REGSEARCH -- High-level procedure to form a query and execute it immediately. We allow that 'term1' may be a complex SQL WHERE predicate, and that 'term2' (or vice versa) is a search-keyword list. The 'orValues' applies to the keyword list (if present), otherwise it applies to the two search term elements. The default action if two terms are specified is to logically AND them.

+The thinking here is that one might want SIAP services for Quasars. This is easily expressed in an SQL form to get SIAP resources, however a Quasar may be known as a QSO, AGN, active-nuclei, etc and so we need a easy way to OR the keywords but AND that result with the SQL predicate.

+

Parameters:
+ + + + +
term1 first search term
term2 second search term
orValues logically OR values?
+
+
Returns:
handle to result object
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
RegResult vx_regsearchbysvc (XCHAR *  svc,
XCHAR *  term,
int *  orValues 
)
+
+
+ +

+Search Registry using a search term and service constraint. +

+VX_REGSEARCHBYSERVICE -- Search the Registry using a search term and constrain by service type.

+

Parameters:
+ + + + +
svc service type constraint
term keyword search term
orValues logically OR values?
+
+
Returns:
handle to result object
+ +
+

+ +

+
+ + + + + + + + + +
RegResult vx_rexecute (RegQuery *  query  ) 
+
+
+ +

+Execute the specified query. +

+VX_REGEXECUTE -- Execute the specified query, returning a result object code or NULL.

+

Parameters:
+ + +
query Registry query handle
+
+
Returns:
nothing
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int vx_rexecuteraw (RegQuery *  query,
XCHAR *  raw,
int *  maxch 
)
+
+
+ +

+Execute the specified query and return raw result string. +

+VX_REGEXECUTERAW -- Execute the specified query and return the raw resulting XML string.

+

Parameters:
+ + + + +
query Registry query handle
raw raw result string
maxch length of result string
+
+
Returns:
nothing
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int vx_rgetquerystring (RegQuery *  query,
XCHAR *  qstr,
int *  maxch 
)
+
+
+ +

+Get the current query as an http GET URL. +

+VX_REGGETQUERYSTRING -- Get the current query as an http GET URL.

+

Parameters:
+ + + + +
query Registry query handle
qstr returned query string
maxch length of query string
+
+
Returns:
nothing
+ +
+

+ +

+
+ + + + + + + + + +
int vx_rgetstcount (RegQuery *  query  ) 
+
+
+ +

+Get the number of search terms in the current query. +

+VX_REGGETSTCOUNT -- Get the number of search terms in the current query.

+

Parameters:
+ + +
query Registry query handle
+
+
Returns:
count of search terms
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
void vx_rremovesearchterm (RegQuery *  query,
XCHAR *  term 
)
+
+
+ +

+Remove a search term to the specified query. +

+VX_REMOVESEARCHTERM -- Remove the search term from the query.

+

Parameters:
+ + + +
query Registry query handle
term keyword search term
+
+
Returns:
nothing
+ +
+

+ +

+
+ + + + + + + + + +
count vx_rscount (RegResult *  res  ) 
+
+
+ +

+Return a count of the number of results records. +

+VX_RESGETCOUNT -- Return a count of the number of results records.

+

Parameters:
+ + +
res Registry result handle
+
+
Returns:
number of result records
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
dval vx_rsfloat (RegResult *  res,
XCHAR *  attr,
int *  index 
)
+
+
+ +

+Get a real-valued attribute from the result resource record. +

+VX_GETFLOAT -- Get a real-valued attribute from the result resource record. Currently recognized real-valued attributes include:

+MaxSR maximum search radius

+Attribute string are case-insensitive.

+

Parameters:
+ + + + +
res Registry result handle
attr record attribute
index record index
+
+
Returns:
double-precision value
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
ival vx_rsint (RegResult *  res,
XCHAR *  attr,
int *  index 
)
+
+
+ +

+Get an int-valued attribute from the result resource record. +

+VX_GETINT -- Get a integer-valued attribute from the result resource record. Currently recognized real-valued attributes include:

+MaxRecords maximum records returned by the service

+Attribute string are case-insensitive.

+

Parameters:
+ + + + +
res Registry result handle
attr record attribute
index record index
+
+
Returns:
integer value
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
len vx_rsstr (RegResult *  res,
XCHAR *  attr,
int *  index,
XCHAR *  result,
int *  maxch 
)
+
+
+ +

+Get a string-valued attribute from the result resource record. +

+VX_GETSTR -- Get a string-valued attribute from the result resource record. Currently recognized real-valued attributes include:

+Title Resource title (long version) ShortName Short name of Resource ServiceURL Service URL (if appropriate) ReferenceURL URL to reference about Resource Description Text description of resource Identifier Standard ivo identifier of resource ServiceType Service Type (Cone, Siap, etc) Type Resource Type (catalog, survey, etc) CoverageSpatial Spatial coverage (STC) CoverageTemporal Temporal coverage of data

+CoverageSpectral Spectral coverage (csv list of bandpasses) ContentLevel Content level (research, EPO, etc -- csv list)

+Attribute string are case-insensitive.

+

Parameters:
+ + + + + + +
res Registry result handle
attr record attribute
index record index
result attribute string
maxch length of attribute string
+
+
Returns:
nothing
+ +
+

+

+
Generated on Wed Feb 27 21:08:58 2013 for VOClient API by  + +doxygen 1.5.9
+ + diff --git a/vendor/voclient/libvoclient/doc/html/vocSesame_8c.html b/vendor/voclient/libvoclient/doc/html/vocSesame_8c.html new file mode 100644 index 00000000..26ce69e1 --- /dev/null +++ b/vendor/voclient/libvoclient/doc/html/vocSesame_8c.html @@ -0,0 +1,305 @@ + + +VOClient API: vocSesame.c File Reference + + + + + +
+

vocSesame.c File Reference

#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <signal.h>
+#include <errno.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <dirent.h>
+#include "VOClient.h"
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Classes

struct  Object

Defines

+#define _VOCLIENT_LIB_
+#define MAX_OBJECTS   128
+#define SZ_TARGET   128

Typedefs

+typedef struct ObjectObjectPtr

Functions

Sesame voc_nameResolver (char *target)
 Query the CDS Sesame name resolver service.
char * voc_resolverPos (Sesame sr)
 Return the (ra,dec) position for the object.
char * voc_resolverOtype (Sesame sr)
 Return a string containing the object type description.
double voc_resolverRA (Sesame sr)
 Return the RA as a double precision value.
double voc_resolverRAErr (Sesame sr)
 Return the RA error as a double precision value.
double voc_resolverDEC (Sesame sr)
 Return the DEC as a double precision value.
double voc_resolverDECErr (Sesame sr)
 Return the Dec error as a double precision value.
+char * voc_getCacheDir (char *subdir)

Variables

+Object clientCache [MAX_OBJECTS]
+int cacheTop = 0
+VOClient * vo
+

Detailed Description

+VOCSESAME.C -- Interface to the Sesame name resolver service.

+DESCRIPTION

+Sesame Name Resolver Interface: -------------------------------

+sr = voc_nameResolver (target) pos_str = voc_resolverPos (sr) radeg = voc_resolverRA (sr) decdeg = voc_resolverDEC (sr) ra_err = voc_resolverRAErr (sr) dec_err = voc_resolverDECErr (sr) typ_str = voc_resolverOtype (sr)

+Client programs may be written in any language that can interface to C code. Sample programs using the interface are provided as is a SWIG interface definition file. This inferface is based closely on the DAL client code produced for the 2005 NVOSS, as that interface evolves

+

Author:
Michael Fitzpatrick
+
Version:
June 2006
+

Function Documentation

+ +
+
+ + + + + + + + + +
Sesame voc_nameResolver (char *  target  ) 
+
+
+ +

+Query the CDS Sesame name resolver service. +

+NAMERESOLVER -- Query the CDS Sesame service to resolve the target name to coordinates. The query is done when creating the Sesame object, thereafter we simply query the object data.

+

Parameters:
+ + +
target name of target to be resolved
+
+
Returns:
Sesame Sesame object handle
+ +
+

+ +

+
+ + + + + + + + + +
double voc_resolverDEC (Sesame  sr  ) 
+
+
+ +

+Return the DEC as a double precision value. +

+RESOLVERDEC -- Return the DEC as a double precision value.

+

Parameters:
+ + +
sr handle to previus query return
+
+
Returns:
object Declination (decimal degrees)
+ +
+

+ +

+
+ + + + + + + + + +
double voc_resolverDECErr (Sesame  sr  ) 
+
+
+ +

+Return the Dec error as a double precision value. +

+RESOLVERDECERR -- Return the Dec error as a double precision value.

+

Parameters:
+ + +
sr handle to previus query return
+
+
Returns:
object DEC error (decimal degrees)
+ +
+

+ +

+
+ + + + + + + + + +
char* voc_resolverOtype (Sesame  sr  ) 
+
+
+ +

+Return a string containing the object type description. +

+RESOLVEROTYPE -- Return a string containing the object type description

+

Parameters:
+ + +
sr handle to previus query return
+
+
Returns:
string to object type description
+ +
+

+ +

+
+ + + + + + + + + +
char* voc_resolverPos (Sesame  sr  ) 
+
+
+ +

+Return the (ra,dec) position for the object. +

+RESOLVERPOS -- Return a string containing the (ra,dec) position as sexagesimal strings.

+

Parameters:
+ + +
sr handle to previus query return
+
+
Returns:
string containing (ra,dec) position
+ +
+

+ +

+
+ + + + + + + + + +
double voc_resolverRA (Sesame  sr  ) 
+
+
+ +

+Return the RA as a double precision value. +

+RESOLVERRA -- Return the RA as a double precision value.

+

Parameters:
+ + +
sr handle to previus query return
+
+
Returns:
object RA (decimal degrees)
+ +
+

+ +

+
+ + + + + + + + + +
double voc_resolverRAErr (Sesame  sr  ) 
+
+
+ +

+Return the RA error as a double precision value. +

+RESOLVERRAERR -- Return the RA error as a double precision value.

+

Parameters:
+ + +
sr handle to previus query return
+
+
Returns:
object RA error (decimal degrees)
+ +
+

+

+
Generated on Wed Feb 27 21:08:58 2013 for VOClient API by  + +doxygen 1.5.9
+ + diff --git a/vendor/voclient/libvoclient/doc/html/vocSesame__f77_8c.html b/vendor/voclient/libvoclient/doc/html/vocSesame__f77_8c.html new file mode 100644 index 00000000..37a25e58 --- /dev/null +++ b/vendor/voclient/libvoclient/doc/html/vocSesame__f77_8c.html @@ -0,0 +1,106 @@ + + +VOClient API: vocSesame_f77.c File Reference + + + + + +
+

vocSesame_f77.c File Reference

#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <signal.h>
+#include <errno.h>
+#include "VOClient.h"
+ + + + + + + + + + + + + + + + + + + + + + + + +

Defines

+#define _VOCLIENT_LIB_
+#define VF_NAMERESOLVER   vfnameresolver_
+#define VF_RESOLVERRA   vfresolverra_
+#define VF_RESOLVERDEC   vfresolverdec_
+#define VF_RESOLVERPOS   vfresolverpos_
+#define VF_RESOLVERRAERR   vfresolverraerr_
+#define VF_RESOLVERDECERR   vfresolverdecerr_
+#define VF_RESOLVEROTYPE   vfresolverotype_

Functions

char * sstrip (char *instr, int len)
+void spad (char *outstr, int len)
+

Detailed Description

+VOCSESAME_F77.C -- F77 Interface to the Sesame name resolver service.

+DESCRIPTION

+Sesame Name Resolver F77 Interface: -----------------------------------

+vf_nameResolver (target, sr) vf_resolverPos (sr, pos_str, len) vf_resolverRA (sr, radeg) vf_resolverRAErr (sr, radeg) vf_resolverDEC (sr, decdeg) vf_resolverDECErr (sr, decdeg)

+

Author:
Michael Fitzpatrick
+
Version:
June 2006
+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
char* sstrip (char *  instr,
int  len 
)
+
+
+ +

+Private interface declarations. +

+

+

+
Generated on Wed Feb 27 21:08:58 2013 for VOClient API by  + +doxygen 1.5.9
+ + diff --git a/vendor/voclient/libvoclient/doc/html/vocSesame__spp_8c.html b/vendor/voclient/libvoclient/doc/html/vocSesame__spp_8c.html new file mode 100644 index 00000000..fb7254b2 --- /dev/null +++ b/vendor/voclient/libvoclient/doc/html/vocSesame__spp_8c.html @@ -0,0 +1,305 @@ + + +VOClient API: vocSesame_spp.c File Reference + + + + + +
+

vocSesame_spp.c File Reference

#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <signal.h>
+#include <errno.h>
+#include "VOClient.h"
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Defines

+#define _VOCLIENT_LIB_
+#define vx_nameresolver   vxnamr_
+#define vx_resolverra   vxresa_
+#define vx_resolverdec   vxresc_
+#define vx_resolverpos   vxress_
+#define vx_resolverotype   vxrese_
+#define vx_errresolverra   vxerra_
+#define vx_errresolverdec   vxerrc_
+#define XCHAR   short
+#define PKCHAR   char
+#define XINT   int
+#define XEOS   NULL

Functions

int vx_nameresolver (XCHAR *target)
 Query the CDS Sesame name resolver service.
int vx_resolverpos (int *sr, XCHAR *pos, int *len)
 Return a string containing the (ra,dec) position.
double vx_resolverra (int *sr)
 Return the RA as a double precision value.
double vx_resolverdec (int *sr)
 Return the DEC as a double precision value.
+int vx_resolverotype (int *sr, XCHAR *type, int *len)
double vx_errresolverra (int *sr)
 Return the RA error as a double precision value.
double vx_errresolverdec (int *sr)
 Return the Dec error as a double precision value.
+PKCHAR * spp2c (XCHAR *instr, int maxch)
+int c2spp (PKCHAR *instr, XCHAR *outstr, int maxch)
+int spplen (XCHAR *str)
+

Detailed Description

+VOCSESAME_SPP.C -- SPP Interface to the Sesame name resolver service.

+DESCRIPTION

+Sesame Name Resolver SPP Interface: -----------------------------------

+sr = vx_nameResolver (target) pos_str = vx_resolverPos (sr) radeg = vx_resolverRA (sr) decdeg = vx_resolverDEC (sr) typ_str = vx_resolverOtype (sr) raerr = vx_resolverRAErr (sr) decerr = vx_resolverDECErr (sr)

+

Author:
Michael Fitzpatrick
+
Version:
June 2006
+

Function Documentation

+ +
+
+ + + + + + + + + +
double vx_errresolverdec (int *  sr  ) 
+
+
+ +

+Return the Dec error as a double precision value. +

+VX_ERRRESOLVERDEC -- Return the DEC as a double precision value.

+

Parameters:
+ + +
sr handle to Sesame object
+
+
Returns:
Dec error of object position (decimal degrees)
+ +
+

+ +

+
+ + + + + + + + + +
double vx_errresolverra (int *  sr  ) 
+
+
+ +

+Return the RA error as a double precision value. +

+VX_ERRRESOLVERRA -- Return the RA error as a double precision value.

+

Parameters:
+ + +
sr handle to Sesame object
+
+
Returns:
RA error of object position (decimal degrees)
+ +
+

+ +

+
+ + + + + + + + + +
int vx_nameresolver (XCHAR *  target  ) 
+
+
+ +

+Query the CDS Sesame name resolver service. +

+VX_NAMERESOLVER -- Query the CDS Sesame service to resolve the target name to coordinates. The query is done when creating the Sesame object, thereafter we simply query the object data.

+

Parameters:
+ + +
target name of target to be resolved
+
+
Returns:
handle to Sesame object
+ +
+

+ +

+
+ + + + + + + + + +
double vx_resolverdec (int *  sr  ) 
+
+
+ +

+Return the DEC as a double precision value. +

+VX_RESOLVERDEC -- Return the DEC as a double precision value.

+

Parameters:
+ + +
sr handle to Sesame object
+
+
Returns:
Dec of object position (decimal degrees)
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int vx_resolverpos (int *  sr,
XCHAR *  pos,
int *  maxch 
)
+
+
+ +

+Return a string containing the (ra,dec) position. +

+VX_RESOLVERPOS -- Return a string containing the (ra,dec) position as sexagesimal strings.

+

Parameters:
+ + + + +
sr handle to Sesame object
pos returned position string
maxch max size of position string
+
+
Returns:
length of position string
+ +
+

+ +

+
+ + + + + + + + + +
double vx_resolverra (int *  sr  ) 
+
+
+ +

+Return the RA as a double precision value. +

+VX_RESOLVERRA -- Return the RA as a double precision value.

+

Parameters:
+ + +
sr handle to Sesame object
+
+
Returns:
RA of object position (decimal degrees)
+ +
+

+

+
Generated on Wed Feb 27 21:08:58 2013 for VOClient API by  + +doxygen 1.5.9
+ + diff --git a/vendor/voclient/libvoclient/doc/html/vocSkybot_8c.html b/vendor/voclient/libvoclient/doc/html/vocSkybot_8c.html new file mode 100644 index 00000000..1208e0dd --- /dev/null +++ b/vendor/voclient/libvoclient/doc/html/vocSkybot_8c.html @@ -0,0 +1,69 @@ + + +VOClient API: vocSkybot.c File Reference + + + + + +
+

vocSkybot.c File Reference

#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <signal.h>
+#include <errno.h>
+#include "VOClient.h"
+ + + + + + + + + + + + + + +

Functions

+Skybot voc_skybot (double ra, double dec, double rsz, double dsz, double epoch)
+int voc_skybotNObjs (Skybot sb)
+char * voc_skybotStrAttr (Skybot sb, char *attr, int index)
+double voc_skybotDblAttr (Skybot sb, char *attr, int index)

Variables

+VOClient * vo
+

Detailed Description

+SkyBoT Minor Planet Service Interface: --------------------------------------

+A utility class for accessing the IMCCE Skybot ephemerides service. The service is called as part of the constructor for the object allowing easy access to the result data. Class methods also exist so a VO Client interface the same access to the data.

+Reference: http://www.imcce.fr/webservices/skybot/

+Class Methods: --------------

+sb = voc_skybot (ra, dec, rsz, dsz, epoch)

+count = voc_skybotNObjs (sb) str = voc_skybotStrAttr (sb, attrname, index) dval = voc_skybotDblAttr (sb, attrname, index)

+Available Attributes: ---------------------

+number string Asteroid number name string Asteroid name ra double J2000 Equatorial RA dec double J2000 Equatorial Dec class string Object classification vmag double Visual magnitude poserr double Error on position (arcsec) cdist double Body-to-center angular distance dra double RA motion (arcsec/hr) ddec double Dec motion (arcsec/hr) dgeo double Geocentric distance (AU) dhelio double Heliocentric distance (AU) px double Mean J2000 heliocentric position vector (AU) py double " " " " " pz double " " " " " vx double Mean J2000 heliocentric position vector (AU/day) vy double " " " " " vz double " " " " " JD0 double T0, epoch of position vector (JD)

+Example Usage: ---------------

+1) Find bodies in a 900" radius around (0.0,0.0) on JD 2453939.123

+VOCSkybot skybot = new VOCSkybot (0.0,0.0,900,2453939.123); for (int i=0; i < skybot.getNObjs(); i++) System.out.print ("Name: '" + sb.getStrAttr("name",i)+"' " + "RA: " + sb.getDblAttr("ra",i) + " " + "Dec: " + sb.getDblAttr("dec",i) + " " + "Mv: " + sb.getDblAttr("vmag",i) + " ");

+

Author:
Michael Fitzpatrick
+
Version:
June 2006
+
+
Generated on Wed Feb 27 21:08:58 2013 for VOClient API by  + +doxygen 1.5.9
+ + diff --git a/vendor/voclient/libvoclient/doc/html/vocUtil__f77_8c.html b/vendor/voclient/libvoclient/doc/html/vocUtil__f77_8c.html new file mode 100644 index 00000000..efc5dbd6 --- /dev/null +++ b/vendor/voclient/libvoclient/doc/html/vocUtil__f77_8c.html @@ -0,0 +1,91 @@ + + +VOClient API: vocUtil_f77.c File Reference + + + + + +
+

vocUtil_f77.c File Reference

#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <signal.h>
+#include <errno.h>
+#include "VOClient.h"
+ + + + + + + + + + + + + + + + +

Defines

+#define _VOCLIENT_LIB_
+#define SZ_LINE   1024
+#define SZ_TYPECODE   32

Functions

char * sstrip (char *instr, int len)
+void spad (char *outstr, int len)
+int typecode (char *typestr)
+

Detailed Description

+VOCUTIL_F77.C -- Utility routines to support Fortran bindings.

+

Author:
Michael Fitzpatrick
+
Version:
June 2006
+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
char* sstrip (char *  instr,
int  len 
)
+
+
+ +

+Local interface declarations. +

+

+

+
Generated on Wed Feb 27 21:08:58 2013 for VOClient API by  + +doxygen 1.5.9
+ + diff --git a/vendor/voclient/libvoclient/doc/html/vocUtil__spp_8c.html b/vendor/voclient/libvoclient/doc/html/vocUtil__spp_8c.html new file mode 100644 index 00000000..63096c48 --- /dev/null +++ b/vendor/voclient/libvoclient/doc/html/vocUtil__spp_8c.html @@ -0,0 +1,122 @@ + + +VOClient API: vocUtil_spp.c File Reference + + + + + +
+

vocUtil_spp.c File Reference

#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <signal.h>
+#include <errno.h>
+#include "VOClient.h"
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

Defines

+#define _VOCLIENT_LIB_
#define XCHAR   short
+#define PKCHAR   char
+#define XINT   int
+#define XEOS   VOC_NULL
+#define SZ_TYPECODE   32

Functions

PKCHAR * spp2c (XCHAR *instr, int maxch)
+int c2spp (PKCHAR *instr, XCHAR *outstr, int maxch)
+int spplen (XCHAR *str)
+int dal_typecode (char *typestr)
+int out_typecode (char *typestr)
+

Detailed Description

+VOCUTIL_SPP.C -- Utility routines for the SPP proceduers.

+Michael Fitzpatrick, NOAO, Jul 2006

+

Author:
Michael Fitzpatrick
+
Version:
June 2006
+

Define Documentation

+ +
+
+ + + + +
#define XCHAR   short
+
+
+ +

+SPP Name mapping macros. SPP procedure names are mappad as the first-5 plus the last character of a name minus any underscores. This should be done such that a unique 6-character name is produced for each SPP symbol. In these definitions the SPP code may use the long form of the name in the code, the mapping is done automatically and so we need the macros here so the symbol entered in the library is actually the short name. SPP Type definitions. +

+

+


Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
PKCHAR* spp2c (XCHAR *  instr,
int  maxch 
)
+
+
+ +

+Public interface procedures. +

+

+

+
Generated on Wed Feb 27 21:08:58 2013 for VOClient API by  + +doxygen 1.5.9
+ + -- cgit