Astro :: Vo :: VoEvent.

ASTRO :: VO :: VoEvent´Â VoEvent ¸Þ½ÃÁö¸¦ ±¸¹® ºÐ¼®ÇÏ°í ÀÛ¼ºÇÏ´Â °´Ã¼ ÀÎÅÍÆäÀ̽ºÀÔ´Ï´Ù.
Áö±Ý ´Ù¿î·Îµå

Astro :: Vo :: VoEvent. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Alasdair Allan
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~aallan/XML-Document-RTML-1.16/RTML.pm

Astro :: Vo :: VoEvent. ű×


Astro :: Vo :: VoEvent. ¼³¸í

Astro :: Vo :: VoEvent´Â VoEvent ¸Þ½ÃÁö¸¦ ±¸¹® ºÐ¼®ÇÏ°í ÀÛ¼ºÇÏ´Â °´Ã¼ ÀÎÅÍÆäÀ̽ºÀÔ´Ï´Ù. Astro :: Vo :: VoEvent´Â VoEvent ¸Þ½ÃÁö¸¦ ±¸¹® ºÐ¼®ÇÏ°í ÀÛ¼ºÇÏ´Â °´Ã¼ ÀÎÅÍÆäÀ̽ºÀÔ´Ï´Ù .SynopSisto´Â VoEvent ÆÄÀÏÀ» ±¸¹® ºÐ¼®ÇÕ´Ï´Ù. $ object = New Astro :: VO :: VoEvent (file => $ file_name); ¶Ç´Â $ object = New Astro : : vo :: voevent (xml => $ scalar); ¶Ç´Â voevent ÆÄÀÏÀ» ºôµåÇϰųª ºôµå (% ÇؽÃ); ¸ðµâÀº VoEvent ¸Þ½ÃÁö¸¦ ±¸¹® ºÐ¼® ÇÒ ¼ö ÀÖÀ¸¸ç, »õ·Î¿î °Ç¹°À»À§ÇÑ Á¦ÇÑµÈ ÆíÀÇÃþ ¿ªÇÒÀ»ÇÕ´Ï´Ù. ¸Þ½ÃÁö. ±â´ÉÀº ÇöÀç ¸Å¿ì Á¦ÇѵǾî ÀÖ½À´Ï´Ù .MethodScronstructornewCreate $ object = new astro :: vo :: voevent ()ÀÇ Çؽÿ¡¼­ »õ ÀνºÅϽº¸¦ voEvent object.Accessor methodsBuildBuild¿¡ ´ëÇÑ ÂüÁ¶¸¦ ¹ÝȯÇÕ´Ï´Ù. voevent ¹®¼­ $ xml = $ °³Ã¼ -> ºôµå (type => $ string, role => $ string, id => $ URL, ÂüÁ¶ => {url => $ url, type => $ string}); ¶Ç´Â $ xml = $ object-> ºôµå (type => $ string, role => $ string, id => $ url, description => $ string, citations => , who => {publisher => $ URL, contact => {name => $ string, Institution => $ string, ÁÖ¼Ò => $ string, thange => $ string, email => $ string }, date => $ string}, ¿©±â¼­ => {ra => $ ra, dec => $ dec, error => $ error, time => $ time}, how => {name => $ string, location => $ ¹®ÀÚ¿­, rtml => $ url, reference => {url => $ url, type => $ string, name => $ string}}, ¹¹ => , ÀÌÀ¯ => , ÀÌ°ÍÀº ¾Æ¸¶µµ uild () ¸Þ¼ÒµåÀÇ ÃÖÁ¾ API°¡ ¾Æ´Ò °ÍÀÔ´Ï´Ù. ¾Æ¸¶µµ Çϳª ÀÌ»óÀÇ ÆíÀÇ ¹æ¹ý ÀÌÀÌ ·çƾÀÇ ¿Â±¸¸¦ ³Ö¾î ½±°Ô »ç¿ëÇÒ ¼ö ÀÖµµ·ÏÇÕ´Ï´Ù. Å×½ºÆ® ½ºÀ§Æ®ÀÇ T / 2_SIMPLE.T ÆÄÀÏÀº À§ÀÇ Å±×ÀÇ º¹ÀâÇÑ Çü½ÄÀ» »ç¿ëÇÏ´Â ¿¹Á¦¿¡ ´ëÇؼ­´Â ¸Þ½ÃÁö¸¦ ÀÛ¼ºÇϱâÀ§ÇÑ ³·Àº ·¹º§ ÀÎÅÍÆäÀ̽ºÀ̸ç, ÀÌ´Â ´õ ³ôÀº ÅëÁö¾øÀÌ º¯°æ µÉ ¼ö ÀÖ½À´Ï´Ù. ¼öÁØ "½±°Ô »ç¿ëÇÏ·Á¸é"¾×¼¼¼­ ¸Þ¼Òµå°¡ ¸ðµâ¿¡ Ãß°¡µË´Ï´Ù. ±Ã±ØÀûÀ¸·Î °³ÀÎ ¸Þ¼­µå·Î Àç ºÐ·ù µÉ ¼ö ÀÖ½À´Ï´Ù. VoEvent ¹®¼­ÀÇ ID¸¦ event object = new astro :: vo :: voevent (xml => $ scalar); $ id = $ object-> id (); rolereturnÀº VoEvent ¹®¼­ÀÇ ¿ªÇÒ $ object = new astro :: vo :: voevent (xml => $ scalar); $ id = $ object-> role (); versionreturn voinevent document $ object = new astro :: vo :: voevent (xml => $ scalar); $ version = $ object-> version (); ¼³¸íÀº VoEvent ¹®¼­¿¡¼­ Àΰ£ÀÇ ÀÐÀ» ¼öÀÖ´Â ¼³¸íÀ» µ¹¸®°í $ object = new astro :: vo :: voevent (xml => $ scalar); $ string = $ object-> description (); b {ra} ÅÂ±× $ object = new astro :: vo :: voevent (xml => $ scalar) ű׿¡ ÁÖ¾îÁø´ë·Î °³Ã¼ÀÇ RA¸¦ ¹ÝȯÇÕ´Ï´Ù. $ ra = $ object-> ra (); b {dec} ÅÂ±× $ object = new astro :: vo :: voevent (xml => $ scalar) ű׿¡ ÁÖ¾îÁø °´Ã¼ÀÇ dec¸¦ ¹ÝȯÇÕ´Ï´Ù. $ dech = $ object-> dec (); b {epoch} ÅÂ±× $ object = new astro :: vo :: voevent (xml => $ scalar)¿¡ ÁÖ¾îÁø´ë·Î °³Ã¼ÀÇ dec¸¦ ¹ÝȯÇÕ´Ï´Ù. $ epoch = $ object-> epoch (); b {equinox} ÅÂ±× $ object = new astro :: vo :: voevent (xml => $ scalar) ű׿¡ ÁÖ¾îÁø´ë·Î °³Ã¼ÀÇ dec¸¦ ¹ÝȯÇÕ´Ï´Ù. $ equinox = $ object-> equinox (); b {time} ű׿¡ ÁÖ¾îÁø´ë·Î °´Ã¼ÀÇ ½Ã°£À» ¹ÝȯÇÕ´Ï´Ù. $ object = new astro :: vo :: voevent (xml => $ scalar); $ time = $ object-> time (); b {what} °ú $ object = new astro :: vo :: voevent ( XML => $ scalar); % = $ °´Ã¼ -> what (); ÀÏ¹Ý methodsConfiguReConfigure °´Ã¼´Â $ rtml-> ±¸¼º (% ¿É¼Ç)À¸·Î ¿É¼Ç Çؽø¦ ÃëÇÕ´Ï´Ù. Çؽð¡ Á¦°øµÇÁö ¾ÊÀº °æ¿ì ¾Æ¹« °ÍµµÇÏÁö ¾Ê½À´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.


Astro :: Vo :: VoEvent. °ü·Ã ¼ÒÇÁÆ®¿þ¾î

¿É¼Ç .pm.

options.pmÀº t.p.usage.options ¸ðµâÀÇ ±¸¹®À» ¸ð¹æÇÏ´Â ¸í·É ÁÙ ¿É¼Ç ±¸¹® ºÐ¼® Perl ¸ðµâÀÔ´Ï´Ù. ...

208

´Ù¿î·Îµå