SVT svt_sequence_item_base_iter Class Member List

This is the complete list of members for class svt_sequence_item_base_iter, including all inherited members.


 svt_sequence_item_base_iter  virtual  function svt_sequence_item_base_iter  allocate ( )  Allocate a new instance of the iterator, setting it up to iterate on the same object in the same fashion. This should be used to create a duplicate iterator on the same object, in the 'reset' position. The copy method should be used to get a duplicate iterator setup at the exact same iterator position. 
 svt_sequence_item_base_iter   function svt_sequence_item_base_iter  copy ( )  Copy the iterator, putting the new iterator at the same position. The default implementation uses the 'get_data' method on the original iterator along with the 'find' method on the new iterator to align the two iterators. As such it could be a costly operation. This may, however, be the only reasonable option for some iterators. 
 svt_sequence_item_base_iter   function bit  find ( svt_sequence_item_base data, bit find_forward = 1 )  Move the iterator forward (using 'next') or backward (using 'prev') to find the indicated data object. If it moves to the end without finding the data object then the iterator is left in the invalid state.  
 svt_sequence_item_base_iter  virtual  function bit  first ( )  Move to the first element in the collection.  
 svt_sequence_item_base_iter  virtual  function svt_sequence_item_base  get_data ( )  Access the svt_sequence_item_base object at the current position.  
 svt_sequence_item_base_iter   function string  get_type_name ( )  Returns this class' name as a string.  
 svt_sequence_item_base_iter  virtual  function bit  is_ok ( )  Evaluate whether the iterator is positioned on an element.  
 svt_sequence_item_base_iter  virtual  function bit  last ( )  Move to the last element.  
 svt_sequence_item_base_iter   function int  length ( )  Get the number of elements. The default implementation does a full scan in order to get the overall length. As such it could be a costly operation. This may, however, be the only reasonable option for some iterators. 
 svt_sequence_item_base_iter   function void  new ( uvm_report_object reporter )  CONSTRUCTOR: Creates a new instance of the svt_sequence_item_base_iter class. 
 svt_sequence_item_base_iter  virtual  function bit  next ( )  Move to the next element.  
 svt_sequence_item_base_iter   function int  pos ( )  Get the current postion within the overall length. The default implementation scans from the start to the current position in order to calculate the position. As such it could be a costly operation. This may, however, be the only reasonable option for some iterators. 
 svt_sequence_item_base_iter  virtual  function bit  prev ( )  Move to the previous element.  
 svt_sequence_item_base_iter  uvm_report_object  reporter Reporter used by this class.  
 svt_sequence_item_base_iter  virtual  function void  reset ( )  Reset the iterator.  
 svt_sequence_item_base_iter   function void  svt_check_and_load_verbosity ( )  Check and load verbosity  
 svt_sequence_item_base_iter   task  wait_for_next ( )  Move to the next element, but only if there is a next element. If no next element exists (e.g., because the iterator is already on the last element) then the iterator will wait here until a new element is placed at the end of the list. The default implementation generates a fatal error as some iterators may not implement this method. 
 svt_sequence_item_base_iter   task  wait_for_prev ( )  Move to the previous element, but only if there is a previous element. If no previous element exists (e.g., because the iterator is already on the first element) then the iterator will wait here until a new element is placed at the front of the list. The default implementation generates a fatal error as some iterators may not implement this method.