Sha256: 4bf51f599648a4e004aac716b1e5a18fa485f13631ddbdaa4fbd6d70d0b1e1bd

Contents?: true

Size: 1.78 KB

Versions: 4

Compression:

Stored size: 1.78 KB

Contents

require 'voruby/resources/conesearch/loader'

require 'voruby/resources/voresource/voresource_v0_9'
require 'voruby/resources/vodataservice/vodataservice_v0_4'

include VORuby::Resources::VOResource::V0_9
include VORuby::Resources::VODataService::V0_4

module VORuby
  module Resources
    module ConeSearch
      module V0_2
        
        # Forward declarations
        class ConeSearchType < CapabilityType; end
        class ConeSearch < ConeSearchType; end
        class MaxRecords; end
        class MaxSR; end
        class Verbosity; end
        
        # The capabilities of a Cone Search implementation.  It includes
        # the listing of the columns that appear in image query
        # output VOTable and Cone Search-specific metadata.
        class ConeSearch; end
        class ConeSearchType
          object_node :max_sr, 'MaxSR', :class => MaxSR, :optional => false
          object_node :max_records, 'MaxRecords', :class => MaxRecords, :optional => false
          object_node :verbosity, 'Verbosity', :class => Verbosity, :optional => false
        end
        
        # The largest number of records that the service will return.
        class MaxRecords
          include XML::Mapping
          
          numeric_node :value, '', :optional => false
        end
        
        # The largest search radius, in degrees, that will be accepted by the service without returning an error condition.
        class MaxSR
          include XML::Mapping
          
          numeric_node :value, '', :optional => false
        end
        
        # True if the service supports the VERB keyword; false, otherwise.
        class Verbosity
          include XML::Mapping
          
          boolean_node :value, '', 'true', 'false', :optional => false
        end
        
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
voruby-1.0.1 lib/voruby/resources/conesearch/conesearch_v0_2.rb
voruby-1.1 lib/voruby/resources/conesearch/conesearch_v0_2.rb
voruby-1.0.2 lib/voruby/resources/conesearch/conesearch_v0_2.rb
voruby-1.1.1 lib/voruby/resources/conesearch/conesearch_v0_2.rb