parameters: (self, view_name, rosdep_db, verbose=False)
docstring: Load view data into *rosdep_db*. If the view has already
          been loaded into *rosdep_db*, this method does nothing.  If
          view has no rosdep data, it will be initialized with an empty
          data map.
  
          :raises: :exc:`InvalidData` if view rosdep.yaml is invalid
          :raises: :exc:`rospkg.ResourceNotFound` if view cannot be located
  
          :returns: ``True`` if view was loaded.  ``False`` if view
            was already loaded.
docstring_summary: Load view data into *rosdep_db*. If the view has already
          been loaded into *rosdep_db*, this method does nothing.  If
          view has no rosdep data, it will be initialized with an empty
          data map.
docstring_tokens: Load view data into * rosdep_db * . If the view has already been loaded into * rosdep_db * this method does nothing . If view has no rosdep data it will be initialized with an empty data map .
function: def load_view(self, view_name, rosdep_db, verbose=False):
          """
          Load view data into *rosdep_db*. If the view has already
          been loaded into *rosdep_db*, this method does nothing.  If
          view has no rosdep data, it will be initialized with an empty
          data map.
  
          :raises: :exc:`InvalidData` if view rosdep.yaml is invalid
          :raises: :exc:`rospkg.ResourceNotFound` if view cannot be located
  
          :returns: ``True`` if view was loaded.  ``False`` if view
            was already loaded.
          """
          if rosdep_db.is_loaded(view_name):
              return
          if not view_name in self.get_loadable_views():
              raise rospkg.ResourceNotFound(view_name)
          elif view_name == 'invalid':
              raise rospkg.ResourceNotFound("FOUND"+ view_name+str(self.get_loadable_views()))
          if verbose:
              print("loading view [%s] with rospkg loader"%(view_name))
          # chain into underlay if set
          if self._underlay_key:
              view_dependencies = [self._underlay_key]
          else:
              view_dependencies = []
          # no rospkg view has actual data
          rosdep_db.set_view_data(view_name, {}, view_dependencies, '<nodata>')
function_tokens: def load_view ( self , view_name , rosdep_db , verbose = False ) : if rosdep_db . is_loaded ( view_name ) : return if not view_name in self . get_loadable_views ( ) : raise rospkg . ResourceNotFound ( view_name ) elif view_name == 'invalid' : raise rospkg . ResourceNotFound ( "FOUND" + view_name + str ( self . get_loadable_views ( ) ) ) if verbose : print ( "loading view [%s] with rospkg loader" % ( view_name ) ) # chain into underlay if set if self . _underlay_key : view_dependencies = [ self . _underlay_key ] else : view_dependencies = [ ] # no rospkg view has actual data rosdep_db . set_view_data ( view_name , { } , view_dependencies , '<nodata>' )