vmm_sql_db Class Reference

Inheritance list for class vmm_sql_db:

List of all members.
Typedef at line 26 of file sv/perf/vmm_sql_db.sv.
Defined at line 52 of file sv/perf/vmm_sql_db.sv.

Public Member Functions

function void  close ( )
function void  commit ( )
function vmm_sql_table  create_table ( string tablename, string scheme, byte datakind = 255 )
function string  get_dbname ( )
function string  get_info ( string format )
function vmm_sql_table  get_table ( string tablename )
function int  get_table_names ( output string tablenames, input string regexp = . )
local virtual function int  get_unique_id ( )
function void  new ( )
function int  statement ( string sql_stmt )
function int  status ( )
function void  Xcreate_system_tablesX ( )
function vmm_sql_table  Xcreate_table_baseX ( string tablename, string scheme, byte datakind = 255, bit add_to_tables = 1 )
function string  Xexpand_name_optsX ( string instr, string opt )
function string  Xexpand_nameX ( string regexp )

Public Attributes

vmm_log  log 
static local string  vmm_runs_day 
static local string  vmm_runs_hostname 
static local string  vmm_runs_hour 
static local bit  vmm_runs_init = 0; 
static local string  vmm_runs_min 
static local string  vmm_runs_month 
static local string  vmm_runs_progname 
static local string  vmm_runs_sec 
static local int unsigned  vmm_runs_seed 
static local string  vmm_runs_systime 
static local string  vmm_runs_table_name 
static local int  vmm_runs_t_sec 
static local shortint  vmm_runs_t_zone 
static local string  vmm_runs_utctime 
static local string  vmm_runs_year 

Protected Attributes

protected vmm_sql_table  tables [$] 
protected vmm_sql_table  tables_table 


Member Function Documentation

  function void
 vmm_sql_db::close

 (   ) 


 Superseding functions 
 vmm_sql_db_ascii :: close 
 vmm_sql_db_sqlite :: close 


Prototype at line 94 of file sv/perf/vmm_sql_db.sv.

  function void
 vmm_sql_db::commit

 (   ) 


 Superseding functions 
 vmm_sql_db_sqlite :: commit 


Prototype at line 93 of file sv/perf/vmm_sql_db.sv.
Defined at line 385 of file sv/perf/vmm_sql_db.sv.

  function vmm_sql_table
 vmm_sql_db::create_table

 (  string tablename, string scheme, byte datakind = 255  ) 


Prototype at line 90 of file sv/perf/vmm_sql_db.sv.
Defined at line 308 of file sv/perf/vmm_sql_db.sv.

  function string
 vmm_sql_db::get_dbname

 (   ) 


Prototype at line 83 of file sv/perf/vmm_sql_db.sv.
Defined at line 139 of file sv/perf/vmm_sql_db.sv.

  function string
 vmm_sql_db::get_info

 (  string format  ) 


Prototype at line 84 of file sv/perf/vmm_sql_db.sv.
Defined at line 143 of file sv/perf/vmm_sql_db.sv.

  function vmm_sql_table
 vmm_sql_db::get_table

 (  string tablename  ) 


Prototype at line 85 of file sv/perf/vmm_sql_db.sv.
Defined at line 148 of file sv/perf/vmm_sql_db.sv.

  function int
 vmm_sql_db::get_table_names

 (  output string tablenames, input string regexp = .  ) 


Prototype at line 87 of file sv/perf/vmm_sql_db.sv.
Defined at line 265 of file sv/perf/vmm_sql_db.sv.

 local virtual function int
 vmm_sql_db::get_unique_id

 (   ) 


 Superseding functions 
 vmm_sql_db_ascii :: get_unique_id 
 vmm_sql_db_sqlite :: get_unique_id 


Prototype at line 97 of file sv/perf/vmm_sql_db.sv.

  function void
 vmm_sql_db::new

 (   ) 


 Superseding functions 
 vmm_sql_db_ascii :: new 
 vmm_sql_db_sqlite :: new 


Prototype at line 82 of file sv/perf/vmm_sql_db.sv.
Defined at line 116 of file sv/perf/vmm_sql_db.sv.

  function int
 vmm_sql_db::statement

 (  string sql_stmt  ) 


 Superseding functions 
 vmm_sql_db_ascii :: statement 
 vmm_sql_db_sqlite :: statement 


Prototype at line 92 of file sv/perf/vmm_sql_db.sv.

  function int
 vmm_sql_db::status

 (   ) 


 Superseding functions 
 vmm_sql_db_ascii :: status 
 vmm_sql_db_sqlite :: status 


Prototype at line 91 of file sv/perf/vmm_sql_db.sv.

  function void
 vmm_sql_db::Xcreate_system_tablesX

 (   ) 


Prototype at line 103 of file sv/perf/vmm_sql_db.sv.
Defined at line 313 of file sv/perf/vmm_sql_db.sv.

  function vmm_sql_table
 vmm_sql_db::Xcreate_table_baseX

 (  string tablename, string scheme, byte datakind = 255, bit add_to_tables = 1  ) 


Prototype at line 102 of file sv/perf/vmm_sql_db.sv.
Defined at line 287 of file sv/perf/vmm_sql_db.sv.

  function string
 vmm_sql_db::Xexpand_name_optsX

 (  string instr, string opt  ) 


Prototype at line 105 of file sv/perf/vmm_sql_db.sv.
Defined at line 160 of file sv/perf/vmm_sql_db.sv.

  function string
 vmm_sql_db::Xexpand_nameX

 (  string regexp  ) 


Prototype at line 106 of file sv/perf/vmm_sql_db.sv.
Defined at line 210 of file sv/perf/vmm_sql_db.sv.


Member Attribute Documentation

 vmm_log  attribute
 vmm_sql_db::log


Defined at line 80 of file sv/perf/vmm_sql_db.sv.

 protected vmm_sql_table  attribute
 vmm_sql_db::tables[$]


Defined at line 54 of file sv/perf/vmm_sql_db.sv.

 protected vmm_sql_table  attribute
 vmm_sql_db::tables_table


Defined at line 78 of file sv/perf/vmm_sql_db.sv.

 static local string  attribute
 vmm_sql_db::vmm_runs_day


Defined at line 65 of file sv/perf/vmm_sql_db.sv.

 static local string  attribute
 vmm_sql_db::vmm_runs_hostname


Defined at line 59 of file sv/perf/vmm_sql_db.sv.

 static local string  attribute
 vmm_sql_db::vmm_runs_hour


Defined at line 66 of file sv/perf/vmm_sql_db.sv.

 static local bit  attribute
 vmm_sql_db::vmm_runs_init = 0


Defined at line 75 of file sv/perf/vmm_sql_db.sv.

 static local string  attribute
 vmm_sql_db::vmm_runs_min


Defined at line 67 of file sv/perf/vmm_sql_db.sv.

 static local string  attribute
 vmm_sql_db::vmm_runs_month


Defined at line 68 of file sv/perf/vmm_sql_db.sv.

 static local string  attribute
 vmm_sql_db::vmm_runs_progname


Defined at line 69 of file sv/perf/vmm_sql_db.sv.

 static local string  attribute
 vmm_sql_db::vmm_runs_sec


Defined at line 70 of file sv/perf/vmm_sql_db.sv.

 static local int unsigned  attribute
 vmm_sql_db::vmm_runs_seed


Defined at line 60 of file sv/perf/vmm_sql_db.sv.

 static local string  attribute
 vmm_sql_db::vmm_runs_systime


Defined at line 71 of file sv/perf/vmm_sql_db.sv.

 static local string  attribute
 vmm_sql_db::vmm_runs_table_name


Defined at line 57 of file sv/perf/vmm_sql_db.sv.

 static local int  attribute
 vmm_sql_db::vmm_runs_t_sec


Defined at line 62 of file sv/perf/vmm_sql_db.sv.

 static local shortint  attribute
 vmm_sql_db::vmm_runs_t_zone


Defined at line 61 of file sv/perf/vmm_sql_db.sv.

 static local string  attribute
 vmm_sql_db::vmm_runs_utctime


Defined at line 58 of file sv/perf/vmm_sql_db.sv.

 static local string  attribute
 vmm_sql_db::vmm_runs_year


Defined at line 72 of file sv/perf/vmm_sql_db.sv.