Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 32.391.005 Times

Astro::VO::VOEvent 0.9.4

  Date Added: January 18, 2010  |  Visits: 753

Astro::VO::VOEvent

Report Broken Link
Printer Friendly Version


Product Homepage
Download (70 downloads)



Astro::VO::VOEvent is an object interface to parse and create VOEvent messages. SYNOPSIS To parse a VOEvent file, $object = new Astro::VO::VOEvent( File => $file_name ); or $object = new Astro::VO::VOEvent( XML => $scalar ); Or to build a VOEVENT file, $xml = $object->build( %hash ); The module can parse VOEvent messages, and serves as a limited convenience layer for building new messages. Functionality is currently very limited. METHODS Constructor new Create a new instance from a hash of options $object = new Astro::VO::VOEvent( ); returns a reference to an VOEvent object. Accessor Methods build Build a VOEvent document $xml = $object->build( Type => $string, Role => $string, ID => $url, Reference => { URL => $url, Type => $string } ); or $xml = $object->build( Type => $string, Role => $string, ID => $url, Description => $string, Citations => [ { ID => $strig, Cite => $string }, . . . { ID => $string, Cite => $string }], Who => { Publisher => $url, Contact => { Name => $string, Institution => $string, Address => $string, Telephone => $string, Email => $string, }, Date => $string }, WhereWhen => { RA => $ra, Dec => $dec, Error => $error, Time => $time }, How => { Name => $string, Location => $string, RTML => $url, Reference => { URL => $url, Type => $string, Name => $string } }, What => [ { Name => $strig, UCD => $string, Value => $string }, . . . { Name => $string, UCD => $string, Value => $string } ], Why => [ {Inference => { Probability => $string, Relation => $string, Name => string Concept => string }}, . . . {Inference => { Probability => $string, Relation => $string, Name => string Concept => string }}, . . . {Name => $string}, {Concept => $string } } ); this will create a document from the options passed to the method, most of the hash keys are optional and if missed out the relevant keywords will be blank or missing entirely from the built document. Type, Role, ID and either Reference or WhereWhen (and their sub-tags) are mandatory. The < Group > tag can be utilised from within the < What > tag as follows What => [ { Group => [ { Name => $string, UCD => $string, Value => $string, Units => $string }, . . . { Name => $string, UCD => $string, Value => $string, Units => $string } ], }, { Group => [ { Name => $string, UCD => $string, Value => $string, Units => $string }, . . . { Name => $string, UCD => $string, Value => $string, Units => $string } ], }, { Name => $string, UCD => $string, Value => $string, Units => $string }, . . . { Name => $string, UCD => $string, Value => $string, Units => $string } ], this will probably NOT be the final API for the build() method, as it is overly complex. It is probably one or more convenience methods will be put ontop of this routine to make it easier to use. See the t/2_simple.t file in the test suite for an example which makes use of the complex form of the What tag above. NB: This is the low level interface to build a message, this is subject to change without notice as higher level "easier to use" accessor methods are added to the module. It may eventually be reclassified as a PRIVATE method. id Return the id of the VOEvent document $object = new Astro::VO::VOEvent( XML => $scalar ); $id = $object->id(); role Return the role of the VOEvent document $object = new Astro::VO::VOEvent( XML => $scalar ); $id = $object->role(); version Return the version of the VOEvent document $object = new Astro::VO::VOEvent( XML => $scalar ); $version = $object->version(); description Return the human readable description from the VOEvent document $object = new Astro::VO::VOEvent( XML => $scalar ); $string = $object->description(); B{ra} Return the RA of the object as given in the tag $object = new Astro::VO::VOEvent( XML => $scalar ); $ra = $object->ra(); B{dec} Return the Dec of the object as given in the tag $object = new Astro::VO::VOEvent( XML => $scalar ); $dec = $object->dec(); B{epoch} Return the Dec of the object as given in the tag $object = new Astro::VO::VOEvent( XML => $scalar ); $epoch = $object->epoch(); B{equinox} Return the Dec of the object as given in the tag $object = new Astro::VO::VOEvent( XML => $scalar ); $equinox = $object->equinox(); B{time} Return the Time of the object as given in the tag $object = new Astro::VO::VOEvent( XML => $scalar ); $time = $object->time(); B{what} Return the < Param > and < Group >s of < Param >s in the < What > tag, $object = new Astro::VO::VOEvent( XML => $scalar ); %what = $object->what(); General Methods configure Configures the object, takes an options hash as an argument $rtml->configure( %options ); does nothing if the hash is not supplied..

Requirements: No special requirements
Platforms: Linux
Keyword: Astrovovoevent Id Libraries Name New Object Programming Return Scalar String Ucd Vo Voevent Xml
Users rating: 0/10

License: Freeware Size: 21.5 KB
USER REVIEWS
More Reviews or Write Review


ASTRO::VO::VOEVENT RELATED
Libraries  -  HyperWave::CSP 0.03.1
SYNOPSIS use HyperWave::CSP; $server = HyperWave::CSP->New("my.hyperwave.server"); $server->quit; HyperWave is a class implementing a simple HyperWave client in Perl. CONSTRUCTOR new ( [ HOST [, PORT [, USERNAME [, PASSWORD [, ENCRYPT...
17.41 KB  
Development Tools  -  What's New for Object-Oriented Programming in MATLAB Webinar - Code Examples 1.0
These are the code examples used in the "What's New for Object-Oriented Programming in MATLABdlT«" webinar, which described the new object oriented features in Release 2008a.To use the code, add the top folder to your path. See the test* M-files...
112.64 KB  
Code Management Tools  -  Virgil B-03
Virgil projetc is an new, object-oriented, light-weight programming language that is designed for building software for resource-constrained embedded systems at the lowest level. Microcontroller programmers can now develop complete software...
583.68 KB  
Libraries  -  Math::BigInt::Calc 1.87
Math::BigInt::Calc is a pure Perl module to support Math::BigInt. SYNOPSIS Provides support for big integer calculations. Not intended to be used by other modules. Other modules which sport the same functions can also be used to support...
194.56 KB  
Programming  -  x10 0.3.2
X10 project is a new object-oriented, type-safe programming language for programming the next generation of high performance systems. X10 is designed and developed by IBM. While developed in close contact with the designers of X10 at IBM there...
8.1 MB  
Libraries  -  PostScript::Graph::Style 1.02
SYNOPSIS Simplest Each time a new object is created the default style will be slightly different. use PostScript::File; use PostScript::Graph::Style; my $file = new PostScript::File(); my $seq = new PostScript::Graph::Sequence(); while...
55.3 KB  
Libraries  -  Oracle::Trace 1.06
Oracle::Trace is a Perl Module for parsing Oracle Trace files. SYNOPSIS use Oracle::Trace; print Oracle::Trace->new($tracefilename)->parse->test_report; Currently the parsing and statistics are very rudimentary, and in certain matters may...
11.26 KB  
Programming  -  The Nice Programming Language 1.0
New object-oriented programming language based on Java, with the following advanced features: parametric types, anonymous functions, multi-methods, tuples, optional parameters.Nice also detects more errors during compilation (null pointers, casts).
1.29 MB  
Libraries  -  eSTAR::RTML 0.6.1
eSTAR::RTML is a object interface to parse and create VOEvent messages. SYNOPSIS To parse a VOEvent file, $object = new Astro::VO::VOEvent( File => $file_name ); or $object = new Astro::VO::VOEvent( XML => $scalar ); Or to build a...
17.41 KB  
Audio Tools  -  ChucK 1.2.0.6
ChucK is a new audio programming language for real-time synthesis, composition, and performance - fully supported on MacOS X, Windows, and Linux. ChucK presents a new time-based concurrent programming model, which supports a highly precise and...
1.5 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 3.15.3
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB