UNIVERS
15.3
UNIVERS base processing software API
|
#include <DbName.H>
Public Member Functions | |
DbName () | |
DbName (const dbNameStruct &dbns) | |
DbName (const char *szFileName) | |
const char * | symbolic_name () const |
const dbNameStruct & | struct_name () const |
DbName & | operator= (const dbNameStruct &dbns) |
DbName & | operator= (const DbName &dbn) |
DbName & | operator= (const char *szFileName) |
void | set_table (const char *szTableType) |
void | set_well (const char *szWellName) |
void | set_sp (int nSP) |
void | set_mod (int nMod) |
void | set_list_flag (Logic bList) |
void | unset_table () |
void | unset_well () |
void | unset_sp () |
void | unset_mod () |
const char * | get_table () const |
const char * | get_well () const |
int | get_sp () const |
int | get_mod () const |
Logic | get_list_flag () const |
virtual Logic | is_empty () const |
Protected Member Functions | |
virtual void | rebuild_fname () |
Class for data base table name representation in different forms.
DbName::DbName | ( | ) |
Create empty dbt name.
DbName::DbName | ( | const dbNameStruct & | dbns | ) |
Create dbt name by example.
DbName::DbName | ( | const char * | szFileName | ) |
Create dbt name from file name. Recognizes "VSP.well.sp.table.mod" and S###[.dat], M###[.tab] strings too.
|
virtual |
Return TRUE if dbt name is empty
Reimplemented in DbPointer.
|
protectedvirtual |
Called when some part of db name is changed
Reimplemented in DbLTName.
const dbNameStruct& DbName::struct_name | ( | ) | const |
Structured name of data base table.
const char* DbName::symbolic_name | ( | ) | const |
Symbolic (file)name of data base table.