EHS
Loading...
Searching...
No Matches
ehs::DbTable Class Reference

#include <DbTable.h>

Public Member Functions

 DbTable ()
 
 DbTable (Str_8 id)
 
 DbTable (DbTable &&table) noexcept
 
 DbTable (const DbTable &table)
 
DbTableoperator= (DbTable &&table) noexcept
 
DbTableoperator= (const DbTable &table)
 
UInt_64 GetHashId () const
 
void SetId (Str_8 newId)
 
Str_8 GetId () const
 
bool HasVariable (UInt_64 hashId) const
 
bool HasVariable (const Str_8 &id) const
 
bool CreateVariable (DbVarTmpl var)
 
DbObjectCreateObject ()
 
DbObjectGetObject (UInt_64 variableHashId, const Str_8 &value) const
 
DbObjectGetObject (const Str_8 &variable, const Str_8 &value) const
 
DbObjectGetObject (UInt_64 id) const
 

Friends

class Database
 
class DbVar
 
class DbObject
 

Constructor & Destructor Documentation

◆ DbTable() [1/4]

ehs::DbTable::DbTable ( )

◆ DbTable() [2/4]

ehs::DbTable::DbTable ( Str_8 id)

◆ DbTable() [3/4]

ehs::DbTable::DbTable ( DbTable && table)
noexcept

◆ DbTable() [4/4]

ehs::DbTable::DbTable ( const DbTable & table)

Member Function Documentation

◆ CreateObject()

DbObject * ehs::DbTable::CreateObject ( )

◆ CreateVariable()

bool ehs::DbTable::CreateVariable ( DbVarTmpl var)

◆ GetHashId()

UInt_64 ehs::DbTable::GetHashId ( ) const

◆ GetId()

Str_8 ehs::DbTable::GetId ( ) const

◆ GetObject() [1/3]

DbObject * ehs::DbTable::GetObject ( const Str_8 & variable,
const Str_8 & value ) const

◆ GetObject() [2/3]

DbObject * ehs::DbTable::GetObject ( UInt_64 id) const

◆ GetObject() [3/3]

DbObject * ehs::DbTable::GetObject ( UInt_64 variableHashId,
const Str_8 & value ) const

◆ HasVariable() [1/2]

bool ehs::DbTable::HasVariable ( const Str_8 & id) const

◆ HasVariable() [2/2]

bool ehs::DbTable::HasVariable ( UInt_64 hashId) const

◆ operator=() [1/2]

DbTable & ehs::DbTable::operator= ( const DbTable & table)

◆ operator=() [2/2]

DbTable & ehs::DbTable::operator= ( DbTable && table)
noexcept

◆ SetId()

void ehs::DbTable::SetId ( Str_8 newId)

Friends And Related Symbol Documentation

◆ Database

friend class Database
friend

◆ DbObject

friend class DbObject
friend

◆ DbVar

friend class DbVar
friend

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