UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | List of all members
DbName Class Reference

#include <DbName.H>

Inheritance diagram for DbName:
dbNameStruct DbLTName DbPointer DbLockTable DbHandle DbLock

Public Member Functions

 DbName ()
 
 DbName (const dbNameStruct &dbns)
 
 DbName (const char *szFileName)
 
const char * symbolic_name () const
 
const dbNameStructstruct_name () const
 
DbNameoperator= (const dbNameStruct &dbns)
 
DbNameoperator= (const DbName &dbn)
 
DbNameoperator= (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 ()
 

Detailed Description

Class for data base table name representation in different forms.

Constructor & Destructor Documentation

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.

Member Function Documentation

virtual Logic DbName::is_empty ( ) const
virtual

Return TRUE if dbt name is empty

Reimplemented in DbPointer.

virtual void DbName::rebuild_fname ( )
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.


The documentation for this class was generated from the following file: