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
P
 pa_to_da, packed_array
 pa_to_q, packed_array
 pa_to_ua, packed_array
 partition, text
 pause, kitchen_timer
 peek, deque
 peek_first, deque
 peek_last, deque
 pop, deque
 prune, tree_node
 push, deque
Q
 q_to_da
 q_to_pa, packed_array
 q_to_ua
R
 random, data_stream
 random_bool, random_util
 remove
 remove_all
 remove_first, deque
 remove_first_occurrence, deque
 remove_last, deque
 remove_last_occurrence, deque
 replace, text
 reset, kitchen_timer
 resume, kitchen_timer
 retain_all, collection
 reverse
 rfind_any, text
 rindex, text
 rjust, text
 rpartition, text
 rsplit, text
 rstrip, text
static function void pa_to_da(const ref pa_type pa,  
ref da_type da,  
input bit reverse =  0)
(STATIC) Converts a packed array of type T to a dynamic array of the same type.
static function void pa_to_q(const ref pa_type pa,  
ref q_type q,  
input bit reverse =  0)
(STATIC) Converts a packed array of type T to a queue of the same type.
static function void pa_to_ua(const ref pa_type pa,  
ref ua_type ua,  
input bit reverse =  0)
(STATIC) Converts a packed array of type T to an unpacked array of the same type.
static function three_strings partition(string s,
string sep)
(STATIC) Searches the first occurrence of the specified separator in the given string and returns an array of three strings.
function void pause()
Pauses the timer.
virtual function bit peek(ref e)
(VIRTUAL) Retrieves the head of the deque but does not remove the element.
virtual function bit peek_first(ref e)
(VIRTUAL) Retrieves the head of the deque but does not remove the element.
virtual function bit peek_last(ref e)
(VIRTUAL) Retrieves the tail of the deque but does not remove the element.
virtual function T pop()
(VIRTUAL) Pops an element from the deque as if it is a stack.
virtual function tree_node_type prune(int index =  0)
(VIRTUAL) Removes the specified child (and its descendants).
virtual function void push(e)
(VIRTUAL) Pushes an element to the deque as if it is a stack.
static function void q_to_da(const ref q_type q,  
ref da_type da,  
input bit reverse =  0)
(STATIC) Converts a queue of type T to a dynamic array of the same type.
static function void q_to_da(const ref q_type q,  
ref da_type da,  
input bit reverse =  0)
(STATIC) Converts a queue of type T to a dynamic array of the same type.
static function void q_to_pa(const ref q_type q,  
ref pa_type pa,  
input bit reverse =  0)
(STATIC) Converts a queue of type T to a packed array of the same type.
static function void q_to_ua(const ref q_type q,  
ref ua_type ua,  
input bit reverse =  0)
(STATIC) Converts a queue of type T to an unpacked array of the same type.
static function void q_to_ua(const ref q_type q,  
ref ua_type ua,  
input bit reverse =  0)
(STATIC) Converts a queue of type T to an unpacked array of the same type.
static function ds_type random(int unsigned length)
(STATIC) Returns a new data stream with the elements whose values are randomized.
static function bit random_bool(int unsigned true_pct =  50)
(STATIC) Returns a randomized Boolean value based on the specified percentage.
virtual function bit remove(e)
(VIRTUAL) Removes the specified element from this collection.
virtual function bit remove(e)
(VIRTUAL) Removes the specified element from this deque.
virtual function void remove()
(VIRTUAL) Removes the last element returned by the iterator.
virtual function void remove()
(VIRTUAL) Removes the last element returned by the iterator.
pure virtual function void remove()
(PURE) (VIRTUAL) Removes the last element returned by the iterator.
virtual function void remove()
(VIRTUAL) Removes the last element returned by the iterator.
virtual function bit remove(e)
(VIRTUAL) Removes the given element from this set if it is present.
virtual function void remove()
(VIRTUAL) Removes the last element returned by the iterator.
virtual function void remove()
(VIRTUAL) Removes the last element returned by the iterator.
virtual function bit remove_all(collection#( T ) c)
(VIRTUAL) Removes the elements in the given collection from this collection.
virtual function bit remove_all(collection#(T) c)
(VIRTUAL) Removes the elements in the given collection from this set.
virtual function bit remove_first()
(VIRTUAL) Removes the first element from this deque.
virtual function bit remove_first_occurrence(e)
(VIRTUAL) Removes the first occurrence of the specified element by traversing the deque from head to tail.
virtual function bit remove_last()
(VIRTUAL) Removes the last element from this deque.
virtual function bit remove_last_occurrence(e)
(VIRTUAL) Removes the last occurrence of the specified element by traversing the deque from tail to head.
static function string replace(string s,  
string old_str,  
string new_str,  
int count =  -1)
(STATIC) Returns a copy of the given string with the specified string replaced with a new string.
function void reset()
Resets the timer.
function void resume()
Resumes the timer, if the timer was paused.
virtual function bit retain_all(collection#( T ) c)
(VIRTUAL) Retains only the elements in this collection that are contained in the specified collection.
static function void reverse(ref da_type da)
(STATIC) Reverses the order of the elements of the given dynamic array.
static function void reverse(ref pa_type pa)
(STATIC) Reverses the order of the elements of the given packed array.
static function void reverse(ref q_type q)
(STATIC) Reverses the order of the elements of the given queue.
static function string reverse(string s)
(STATIC) Returns a copy of the given string with the characters in reverse order.
static function void reverse(ref ua_type ua)
(STATIC) Reverses the order of the elements of the given unpacked array.
static function int rfind_any(string s,  
string_q subs,  
int start_pos =  0,
int end_pos =  -1)
(STATIC) Returns the highest index in the given string where each specified substring is found.
static function int rindex(string s,  
string sub,  
int start_pos =  0,
int end_pos =  -1)
(STATIC) Returns the index of the last occurrence of the specified substring in the given string within the optionally specified range.
static function string rjust(string s,  
int width,  
byte fill_char =  " ",
bit trim_left =  0)
(STATIC) Returns a string of the specified width with the given string right justified and padded with the specified character.
static function three_strings rpartition(string s,
string sep)
(STATIC) Searches the last occurrence of the specified separator in the given string and returns an array of three strings.
static function string_q rsplit(string s,  
string sep =  "",
int max_split =  -1)
(STATIC) Returns a queue of substrings by dividing the given string by the specified separator from the right.
static function string rstrip(string s,  
string chars =  " \t\n")
(STATIC) Returns a copy of the given string with trailing characters removed.