Fixed the Logging system to actually be able to handle errors. Database is also fixed to use directories.

This commit is contained in:
2024-04-23 22:29:49 -07:00
parent 2734cc00fb
commit f030ac62ae
61 changed files with 884 additions and 602 deletions

View File

@@ -8,12 +8,16 @@
namespace ehs
{
class Database;
class DbTable
{
private:
friend class Database;
friend class DbVar;
friend class DbObject;
Database *parent;
UInt_64 hashId;
Str_8 id;
Array<DbVarTmpl> varTmpls;
@@ -55,8 +59,8 @@ namespace ehs
private:
DbVarTmpl *GetVariableTemplate(UInt_64 hashId) const;
void Serialize(Serializer<UInt_64>& data) const;
void Serialize(const Str_8 &dir, Serializer<UInt_64>& data) const;
void Deserialize(Serializer<UInt_64>& data);
void Deserialize(const Str_8 &dir, Serializer<UInt_64>& data);
};
}