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 29.548.307 Times

Astro::VO::VOEvent 0.9.4

  Date Added: January 18, 2010  |  Visits: 677

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  
Programming  -  Transmuter Programming Language 0.9.2
Transmuter Programming Language is an extremely dynamic, biologically-inspired prototyping language providing a framework for experimenting with naturally evolving systems of objects over the net, and for exploring new ideas about recombinant...
348.16 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  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
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  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB