Class uvm_pkg::uvm_visitor_adapter
Inheritance Diagram of uvm_visitor_adapter
Name  | 
Default value  | 
Description  | 
|---|---|---|
STRUCTURE  | 
uvm_component  | 
|
VISITOR  | 
uvm_visitor  | 
Constructors
- new(string name = "")
 - Parameters:
 name (string)
Functions
- accept(uvm_component s, uvm_visitor#(uvm_component) v, uvm_structure_proxy#(uvm_component) p, bit invoke_begin_end = 1)
 Function
accept()
Calling this function will traverse through s (and every subnode of s ). For each node found v .visit(node) will be invoked. The children of s are recursively determined by invoking p .get_immediate_children(). invoke_begin_end determines whether the visitors begin/end functions should be invoked prior to traversal.
- Parameters:
 s (uvm_component)
invoke_begin_end (bit)
  ×
  
CLASS
uvm_visitor_adapter #(STRUCTURE,uvm_visitor#(STRUCTURE))
The visitor adaptor traverses all nodes of the STRUCTURE and will invoke visitor.visit() on every node.