class SiSU_Particulars::CombinedSingleton

Attributes

ao_array[RW]
env[RW]
file[RW]
html_idx[RW]
md[RW]
nametags_map[RW]
ocn_htmlseg_map[RW]
opt[RW]
raw_idx[RW]
sst_idx[RW]
xhtml_idx[RW]

Public Instance Methods

get_all(opt) click to toggle source
# File lib/sisu/se_hub_particulars.rb, line 69
def get_all(opt)
  set_env(opt)
  set_file(opt)
  set_md(opt)
  set_ao(opt)                #needs @md
end
get_ao_array(opt) click to toggle source
# File lib/sisu/se_hub_particulars.rb, line 84
def get_ao_array(opt)
  set_ao(opt)                #needs @md
end
get_env(opt) click to toggle source
# File lib/sisu/se_hub_particulars.rb, line 75
def get_env(opt)
  set_env(opt)
end
get_env_md(opt) click to toggle source
# File lib/sisu/se_hub_particulars.rb, line 87
def get_env_md(opt)
  set_env(opt)
  set_md(opt)
end
get_file(opt) click to toggle source
# File lib/sisu/se_hub_particulars.rb, line 78
def get_file(opt)
  set_file(opt)
end
get_idx_html(opt) click to toggle source
# File lib/sisu/se_hub_particulars.rb, line 97
def get_idx_html(opt)
  set_html_idx(opt)
end
get_idx_raw(opt) click to toggle source
# File lib/sisu/se_hub_particulars.rb, line 94
def get_idx_raw(opt)
  set_raw_idx(opt)
end
get_idx_sst(opt) click to toggle source
# File lib/sisu/se_hub_particulars.rb, line 91
def get_idx_sst(opt)
  set_sst_idx(opt)
end
get_idx_xhtml(opt) click to toggle source
# File lib/sisu/se_hub_particulars.rb, line 100
def get_idx_xhtml(opt)
  set_xhtml_idx(opt)
end
get_map_nametags(opt) click to toggle source
# File lib/sisu/se_hub_particulars.rb, line 110
def get_map_nametags(opt)
  set_nametags_map(opt)
end
get_map_ocn_htmlseg(opt) click to toggle source
# File lib/sisu/se_hub_particulars.rb, line 113
def get_map_ocn_htmlseg(opt)
  set_ocn_htmlseg_map(opt)
end
get_maps(opt) click to toggle source
# File lib/sisu/se_hub_particulars.rb, line 106
def get_maps(opt)
  set_nametags_map(opt)
  set_ocn_htmlseg_map(opt)
end
get_md(opt) click to toggle source
# File lib/sisu/se_hub_particulars.rb, line 81
def get_md(opt)
  set_md(opt)
end
get_name_tags(opt) click to toggle source
# File lib/sisu/se_hub_particulars.rb, line 103
def get_name_tags(opt)
  set_name_tags(opt)
end
set_ao(opt) click to toggle source
# File lib/sisu/se_hub_particulars.rb, line 150
def set_ao(opt)
  begin
    @ao_array=SiSU_AO::Source.new(opt).get
    self
  rescue
    SiSU_Errors::Rescued.new($!,$@,opt.selections.str,opt.fnl).location do
      __LINE__.to_s + ':' + __FILE__
    end
  end
end
set_env(opt) click to toggle source
# File lib/sisu/se_hub_particulars.rb, line 128
def set_env(opt)
  begin
    @env=SiSU_Env::InfoEnv.new(opt.fns)
    self
  rescue
    SiSU_Errors::Rescued.new($!,$@,opt.selections.str,opt.fnl).location do
      __LINE__.to_s + ':' + __FILE__
    end
  end
end
set_file(opt) click to toggle source
# File lib/sisu/se_hub_particulars.rb, line 138
def set_file(opt)
  begin
    set_md(opt) unless @md
    @file=SiSU_Env::FileOp.new(@md)
    self
  rescue
    SiSU_Errors::Rescued.new($!,$@,opt.selections.str,opt.fnl).location do
      __LINE__.to_s + ':' + __FILE__
    end
  end
end
set_html_idx(opt) click to toggle source
# File lib/sisu/se_hub_particulars.rb, line 180
def set_html_idx(opt)
  begin
    @html_idx=SiSU_AO::Source.new(opt).get_idx_html
    self
  rescue
    SiSU_Errors::Rescued.new($!,$@,opt.selections.str,opt.fnl).location do
      __LINE__.to_s + ':' + __FILE__
    end
  end
end
set_md(opt) click to toggle source
# File lib/sisu/se_hub_particulars.rb, line 117
def set_md(opt)
  begin
    @md=SiSU_Param::Parameters.new(opt).get
    self
  rescue
    SiSU_Errors::Rescued.new($!,$@,opt.selections.str,opt.fnl).location do
      __LINE__.to_s + ':' + __FILE__
    end
  end
end
set_nametags_map(opt) click to toggle source
# File lib/sisu/se_hub_particulars.rb, line 201
def set_nametags_map(opt)
  begin
    opt=@md ? @md : opt
    @nametags_map=SiSU_AO::Source.new(opt).get_map_nametags
    self
  rescue
    if @md
      SiSU_Errors::Rescued.new($!,$@,@md.opt.selections.str,@md.opt.fnl).location do
        __LINE__.to_s + ':' + __FILE__
      end
    else
      SiSU_Errors::Rescued.new($!,$@,opt.selections.str,opt.fnl).location do
        __LINE__.to_s + ':' + __FILE__
      end
    end
  end
end
set_ocn_htmlseg_map(opt) click to toggle source
# File lib/sisu/se_hub_particulars.rb, line 219
def set_ocn_htmlseg_map(opt)
  begin
    @ocn_htmlseg_map=SiSU_AO::Source.new(@md).get_map_ocn_htmlseg
    self
  rescue
    SiSU_Errors::Rescued.new($!,$@,opt.selections.str,opt.fnl).location do
      __LINE__.to_s + ':' + __FILE__
    end
  end
end
set_raw_idx(opt) click to toggle source
# File lib/sisu/se_hub_particulars.rb, line 170
def set_raw_idx(opt)
  begin
    @raw_idx=SiSU_AO::Source.new(opt).get_idx_raw
    self
  rescue
    SiSU_Errors::Rescued.new($!,$@,opt.selections.str,opt.fnl).location do
      __LINE__.to_s + ':' + __FILE__
    end
  end
end
set_sst_idx(opt) click to toggle source
# File lib/sisu/se_hub_particulars.rb, line 160
def set_sst_idx(opt)
  begin
    @sst_idx=SiSU_AO::Source.new(opt).get_idx_sst
    self
  rescue
    SiSU_Errors::Rescued.new($!,$@,opt.selections.str,opt.fnl).location do
      __LINE__.to_s + ':' + __FILE__
    end
  end
end
set_xhtml_idx(opt) click to toggle source
# File lib/sisu/se_hub_particulars.rb, line 190
def set_xhtml_idx(opt)
  begin
    @xhtml_idx=SiSU_AO::Source.new(opt).get_idx_xhtml
    self
  rescue
    SiSU_Errors::Rescued.new($!,$@,opt.selections.str,opt.fnl).location do
      __LINE__.to_s + ':' + __FILE__
    end
  end
end