Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
T
 title_case, text
 to_bit_stream, data_stream
 to_dynamic_array
 to_queue
 to_string
 to_string_with_en, data_stream
 to_unpacked_array
 trim, text
U
 ua_to_da
 ua_to_pa, packed_array
 ua_to_q
 uc_first, text
 untabify, text
 update_locations, tree
static function string title_case(string s)
(STATIC) Returns a copy of the given string with the first character of words uppercased and the remainder lowercased.
static function bs_type to_bit_stream(ds_type ds,  
bit msb_first =  1,
int from_index =  0,
int to_index =  -1)
(STATIC) Serializes a data stream of type T to a bit stream of the same type.
virtual function da_type to_dynamic_array()
(VIRTUAL) Returns a new dynamic array that contains the elements in this collection.
static function da_type to_dynamic_array(const ref pa_type pa,  
input bit reverse =  0)
(STATIC) Converts a packed array of type T to a dynamic array of the same type.
static function da_type to_dynamic_array(const ref q_type q,  
input bit reverse =  0)
(STATIC) Converts a queue of type T to a dynamic array of the same type.
static function da_type to_dynamic_array(const ref ua_type ua,  
input bit reverse =  0)
(STATIC) Converts an unpacked array of type T to a dynamic array of the same type.
static function q_type to_queue(const ref da_type da,  
input bit reverse =  0)
(STATIC) Converts a dynamic array of type T to a queue of the same type.
static function q_type to_queue(const ref pa_type pa,  
input bit reverse =  0)
(STATIC) Converts a packed array of type T to a queue of the same type.
static function q_type to_queue(const ref ua_type ua,  
input bit reverse =  0)
(STATIC) Converts an unpacked array of type T to a queue of the same type.
virtual function string to_string(o)
(VIRTUAL) Returns a string representation of the given object of type T.
static function string to_string(ds_type ds,  
bit left_to_right =  1,
int unsigned group =  0,
string group_separator =  " ",
int num_head =  -1,
int num_tail =  -1,
string abbrev =  "... ")
(STATIC) Converts a data stream to the form of a string.
virtual function string to_string(o)
(VIRTUAL) Returns a string representation of the given object of type T using the %d format string.
virtual function string to_string(o)
(VIRTUAL) Returns a string representation of the given object of type T using the %0d format string.
static function string to_string(const ref da_type da,  
input string separator =  " ",
int from_index =  0,
int to_index =  -1,
formatter#(T) fmtr =  null)
(STATIC) Converts a dynamic array to the form of a string.
virtual function string to_string(o)
(VIRTUAL) Returns a string representation of the given object of type T.
virtual function string to_string(o)
(VIRTUAL) Returns a string representation of the given object of type T using the %h format string.
virtual function string to_string(o)
(VIRTUAL) Returns a string representation of the given object of type T using the %0h format string.
static function string to_string(const ref q_type q,  
input string separator =  " ",
int from_index =  0,
int to_index =  -1,
formatter#(T) fmtr =  null)
(STATIC) Converts a queue to the form of a string.
virtual function string to_string(o)
(VIRTUAL) Returns a string representation of the given object of string type.
static function string to_string(const ref ua_type ua,  
input string separator =  " ",
int from_index =  0,
int to_index =  -1,
formatter#(T) fmtr =  null)
(STATIC) Converts an unpacked array to the form of a string.
static function string to_string_with_en(ds_type ds,  
bit enables[],  
byte disabled_char =  "-",
bit left_to_right =  1,
int unsigned group =  0,
string group_separator =  " ",
int num_head =  -1,
int num_tail =  -1,
string abbrev =  "...")
(STATIC) Converts a data stream with corresponding data enables to the form of a string.
static function ua_type to_unpacked_array(const ref da_type da,  
input bit reverse =  0)
(STATIC) Converts a dynamic array of type T to an unpacked array of the same type.
static function ua_type to_unpacked_array(const ref pa_type pa,  
input bit reverse =  0)
(STATIC) Converts a packed array of type T to an unpacked array of the same type.
static function ua_type to_unpacked_array(const ref q_type q,  
input bit reverse =  0)
(STATIC) Converts a queue of type T to an unpacked array of the same type.
static function string trim(string s,  
int unsigned left =  0,
int unsigned right =  0)
(STATIC) Returns a copy of the given string with the specified numbers of leading and trailing characters removed.
static function void ua_to_da(const ref ua_type ua,  
ref da_type da,  
input bit reverse =  0)
(STATIC) Converts an unpacked array of type T to a dynamic array of the same type.
static function void ua_to_da(const ref ua_type ua,  
ref da_type da,  
input bit reverse =  0)
(STATIC) Converts an unpacked array of type T to a dynamic array of the same type.
static function void ua_to_pa(const ref ua_type ua,  
ref pa_type pa,  
input bit reverse =  0)
(STATIC) Converts an unpacked array of type T to a packed array of the same type.
static function void ua_to_q(const ref ua_type ua,  
ref q_type q,  
input bit reverse =  0)
(STATIC) Converts an unpacked array of type T to a queue of the same type.
static function void ua_to_q(const ref ua_type ua,  
ref q_type q,  
input bit reverse =  0)
(STATIC) Converts an unpacked array of type T to a queue of the same type.
static function string uc_first(string s)
(STATIC) Returns a copy of the given string with the first character uppercased and the remainder unchanged.
static function string untabify(string s,  
int unsigned tab_size =  8)
(STATIC) Returns a copy of the given string where all tab characters (\t) are replaced by one or more spaces, depending on the tab positions.
virtual function void update_locations()
(VIRTUAL) Updates the tree_node::location of the entire tree.