Nebula
Toggle main menu visibility
Loading...
Searching...
No Matches
dataset.h
Go to the documentation of this file.
1
#pragma once
2
//------------------------------------------------------------------------------
9
//------------------------------------------------------------------------------
10
#include "
core/refcounted.h
"
11
#include "
attributeid.h
"
12
#include "
memdb/table.h
"
13
14
namespace
MemDb
15
{
16
17
class
Database
;
18
19
struct
Dataset
20
{
22
struct
View
23
{
24
#ifdef NEBULA_DEBUG
25
Util::String
tableName;
26
#endif
27
TableId
tid
;
28
SizeT
numInstances
= 0;
29
Util::StackArray<void*, 16>
buffers
;
30
};
31
33
Util::Array<View>
tables
;
34
35
private
:
36
friend
class
Database
;
38
Ptr<Database>
db
;
39
};
40
41
}
// namespace MemDb
attributeid.h
MemDb::Database
Definition
database.h:28
Ptr
Nebula's smart pointer class which manages the life time of RefCounted objects.
Definition
ptr.h:38
Util::Array
Nebula's dynamic array class.
Definition
array.h:61
table.h
Contains declarations for tables and table partitions.
MemDb
Attribute.
Definition
attribute.h:26
Util::StackArray
Array< TYPE, STACK_SIZE > StackArray
Definition
array.h:2001
refcounted.h
MemDb::Dataset::View
A view into a category table.
Definition
dataset.h:23
MemDb::Dataset::View::tid
TableId tid
Definition
dataset.h:27
MemDb::Dataset::View::buffers
Util::StackArray< void *, 16 > buffers
Definition
dataset.h:29
MemDb::Dataset::View::numInstances
SizeT numInstances
Definition
dataset.h:28
MemDb::Dataset
Definition
dataset.h:20
MemDb::Dataset::Database
friend class Database
Definition
dataset.h:36
MemDb::Dataset::tables
Util::Array< View > tables
views into the tables
Definition
dataset.h:33
MemDb::Dataset::db
Ptr< Database > db
pointer to the database used to construct this set
Definition
dataset.h:38
MemDb::TableId
Table identifier.
Definition
tableid.h:14
Util.String
Nebula's universal string class.
Definition
String.cs:8
SizeT
int SizeT
Definition
types.h:42
code
addons
memdb
dataset.h
Generated on
for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.