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

#include <DbPointer.H>

Inheritance diagram for DbPointer:
DbName dbNameStruct DbHandle DbLock

Public Member Functions

 DbPointer ()
 
 DbPointer (const DbPointer &dbp)
 
 DbPointer (const dbPointer &dbptr)
 
 DbPointer (const char *szProject, const DbName &dbn)
 
 operator dbPointer () const
 
DbPointeroperator= (const DbPointer &dbp)
 
DbPointeroperator= (const dbPointer &dbptr)
 
void set_project (const char *szProject)
 
void unset_project ()
 
const char * get_project () const
 
virtual Logic is_empty () const
 
- Public Member Functions inherited from DbName
 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
 

Additional Inherited Members

- Protected Member Functions inherited from DbName
virtual void rebuild_fname ()
 

Detailed Description

Class for data base pointer (table name + project) representation in different forms.

Constructor & Destructor Documentation

DbPointer::DbPointer ( )

Create empty dbt pointer

DbPointer::DbPointer ( const DbPointer dbp)

Create copy of dbt pointer

DbPointer::DbPointer ( const dbPointer dbptr)

Create copy of dbt pointer

DbPointer::DbPointer ( const char *  szProject,
const DbName dbn 
)

Create dbt pointer from project and name

Member Function Documentation

const char* DbPointer::get_project ( ) const

Get project value

virtual Logic DbPointer::is_empty ( ) const
virtual

Return TRUE if dbt pointer is empty

Reimplemented from DbName.

DbPointer::operator dbPointer ( ) const

Convert to C-compatible version of dbt pointer

DbPointer& DbPointer::operator= ( const DbPointer dbp)

Copy from other source

DbPointer& DbPointer::operator= ( const dbPointer dbptr)

Copy from other C-compatible dbt pointer

void DbPointer::set_project ( const char *  szProject)

Change project


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