SVT svt_data_iter Class Member List

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


 svt_data_iter  virtual  function svt_data_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_data_iter   function svt_data_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_data_iter   function bit  find ( svt_data 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_data_iter  virtual  function bit  first ( )  Move to the first element in the collection.  
 svt_data_iter  virtual  function svt_data  get_data ( )  Access the svt_data object at the current position.  
 svt_data_iter  virtual  function bit  is_ok ( )  Evaluate whether the iterator is positioned on an element.  
 svt_data_iter  virtual  function bit  last ( )  Move to the last element.  
 svt_data_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_data_iter  vmm_log  log Log used by this class.  
 svt_data_iter   function void  new ( vmm_log log )  CONSTRUCTOR: Creates a new instance of the svt_data_iter class. 
 svt_data_iter  virtual  function bit  next ( )  Move to the next element.  
 svt_data_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_data_iter  virtual  function bit  prev ( )  Move to the previous element.  
 svt_data_iter  virtual  function void  reset ( )  Reset the iterator.  
 svt_data_iter   function void  svt_check_and_load_verbosity ( )  Check and load verbosity  
 svt_data_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_data_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.