module UNI_Project

Public Instance Methods

get_board() click to toggle source
# File lib/ebngen/adapter/_yml_helper.rb, line 42
def get_board()
  return @projects_hash['document']['board']
end
get_default_project_settings(toolchain) click to toggle source
# File lib/ebngen/adapter/_yml_helper.rb, line 54
def get_default_project_settings(toolchain) 
  return @projects_hash[toolchain]['project_settings']
end
get_default_projectset_settings(toolchain) click to toggle source
# File lib/ebngen/adapter/_yml_helper.rb, line 50
def get_default_projectset_settings(toolchain) 
  return @projects_hash[toolchain]['projectset_settings']
end
get_libraries(toolchain) click to toggle source
# File lib/ebngen/adapter/_yml_helper.rb, line 22
def get_libraries(toolchain)
  return @projects_hash[toolchain]["libraries"]
end
get_output_dir(toolchain, path_hash) click to toggle source
# File lib/ebngen/adapter/_yml_helper.rb, line 14
def get_output_dir(toolchain,  path_hash)
  @projects_hash[toolchain]["outdir"]
end
get_project_name() click to toggle source
# File lib/ebngen/adapter/_yml_helper.rb, line 38
def get_project_name()
  return @projects_hash['document']['project_name']
end
get_src_list(toolchain) click to toggle source
# File lib/ebngen/adapter/_yml_helper.rb, line 18
def get_src_list(toolchain)
  return @projects_hash[toolchain]["source"]
end
get_target_list(toolchain) click to toggle source
# File lib/ebngen/adapter/_yml_helper.rb, line 26
def get_target_list(toolchain)
 return @projects_hash[toolchain]["targets"].keys
end
get_targets(toolchain) click to toggle source
# File lib/ebngen/adapter/_yml_helper.rb, line 34
def get_targets(toolchain)
 return @projects_hash[toolchain]["targets"]
end
get_template(toolchain) click to toggle source
# File lib/ebngen/adapter/_yml_helper.rb, line 46
def get_template(toolchain)
  return @projects_hash[toolchain]['templates']
end
get_type(toolchain) click to toggle source
# File lib/ebngen/adapter/_yml_helper.rb, line 30
def get_type(toolchain)
  return @projects_hash[toolchain]["type"]
end
is_toolchain_support(tool_chain) click to toggle source
# File lib/ebngen/adapter/_yml_helper.rb, line 6
def is_toolchain_support(tool_chain)
  return @projects_hash.has_key?(tool_chain)
end
set_hash(options) click to toggle source
# File lib/ebngen/adapter/_yml_helper.rb, line 10
def set_hash(options)
   @projects_hash = options
end