parameters: (str, filename, default_namespace=None, verbose=False)
return_statement: return paramlist
docstring: Load the YAML document as a string
      
      :param filename: name of filename, only used for debugging, ``str``
      :param default_namespace: namespace to load filename into, ``str``
      :param str: YAML text, ``str``
      :returns: list of parameter dictionary and
          corresponding namespaces for each YAML document in the file, ``[(dict, str)...]``
docstring_summary: Load the YAML document as a string
      
      :param filename: name of filename, only used for debugging, ``str``
      :param default_namespace: namespace to load filename into, ``str``
      :param str: YAML text, ``str``
      :returns: list of parameter dictionary and
          corresponding namespaces for each YAML document in the file, ``[(dict, str)...]``
docstring_tokens: Load the YAML document as a string : param filename : name of filename only used for debugging str : param default_namespace : namespace to load filename into str : param str : YAML text str : returns : list of parameter dictionary and corresponding namespaces for each YAML document in the file [ ( dict str ) ... ]
function: def load_str(str, filename, default_namespace=None, verbose=False):
      """
      Load the YAML document as a string
      
      :param filename: name of filename, only used for debugging, ``str``
      :param default_namespace: namespace to load filename into, ``str``
      :param str: YAML text, ``str``
      :returns: list of parameter dictionary and
          corresponding namespaces for each YAML document in the file, ``[(dict, str)...]``
      """
      paramlist = []
      default_namespace = default_namespace or get_ros_namespace()
      for doc in yaml.load_all(str):
          if NS in doc:
              ns = ns_join(default_namespace, doc.get(NS, None))
              if verbose:
                  print("reading parameters into namespace [%s]"%ns)
              del doc[NS]
          else:
              ns = default_namespace
          paramlist.append((doc, ns))
      return paramlist
function_tokens: def load_str ( str , filename , default_namespace = None , verbose = False ) : paramlist = [ ] default_namespace = default_namespace or get_ros_namespace ( ) for doc in yaml . load_all ( str ) : if NS in doc : ns = ns_join ( default_namespace , doc . get ( NS , None ) ) if verbose : print ( "reading parameters into namespace [%s]" % ns ) del doc [ NS ] else : ns = default_namespace paramlist . append ( ( doc , ns ) ) return paramlist