svt_comparer Class Reference

Inheritance diagram for class svt_comparer:

List of all members.


Detailed Description

Used to extend the basic `SVT_XVM(comparer) abilities for use with SVT based VIP.



Public Member Functions

function int  get_kind ( )
function void  new ( int special_kind, bit physical = 1, bit abstract = 0 )

Public Attributes

int  special_kind = -1; 


Member Function Documentation

  function int
 svt_comparer::get_kind

 (   ) 


Method to obtain a calculated kind value based on the special_kind setting as well as the `SVT_XVM(comparer)::physical and `SVT_XVM(comparer)::abstract settings.

Return values - Calculated kind value.

  function void
 svt_comparer::new

 (  int special_kind , bit physical = 1, bit abstract = 0  ) 


CONSTRUCTOR: Creates a new instance of the svt_comparer class.

special_kind - Initial value for the special_kind field.

physical - Used to initialize the physical field in the comparer.

abstract - Used to initialize the abstract field in the comparer.


Member Attribute Documentation

 int  attribute
 svt_comparer::special_kind = -1


Special kind which can be used by clients to convey kind information beyond that provided by the base `SVT_XVM(comparer)::physical and `SVT_XVM(comparer)::abstract flags. Setting to -1 (the default) results in the compare type being completely defined by `SVT_XVM(comparer)::physical and `SVT_XVM(comparer)::abstract.