smntc
an in-memory multimodal graph database
Loading...
Searching...
No Matches
Data Structures | Functions
Inventory.c File Reference
#include <stdlib.h>
#include <limits.h>
#include "errors.h"
+ Include dependency graph for Inventory.c:

Go to the source code of this file.

Data Structures

struct  Inventory
 

Functions

struct InventoryInventory_construct (unsigned int length, int *error)
 
struct InventoryInventory_destruct (struct Inventory *this)
 
unsigned int Inventory_getNext (const struct Inventory *this)
 
void Inventory_append (struct Inventory *this, unsigned int content, int *error)
 
void Inventory_appendUnchecked (struct Inventory *this, unsigned int content, int *error)
 
void Inventory_update (struct Inventory *this, unsigned int path, unsigned int content, int *error)
 
unsigned int Inventory_read (const struct Inventory *this, unsigned int path, int *error)
 

Function Documentation

◆ Inventory_append()

void Inventory_append ( struct Inventory this,
unsigned int  content,
int *  error 
)

Definition at line 49 of file Inventory.c.

+ Here is the caller graph for this function:

◆ Inventory_appendUnchecked()

void Inventory_appendUnchecked ( struct Inventory this,
unsigned int  content,
int *  error 
)

Definition at line 66 of file Inventory.c.

+ Here is the caller graph for this function:

◆ Inventory_construct()

struct Inventory * Inventory_construct ( unsigned int  length,
int *  error 
)

Definition at line 11 of file Inventory.c.

+ Here is the caller graph for this function:

◆ Inventory_destruct()

struct Inventory * Inventory_destruct ( struct Inventory this)

Definition at line 34 of file Inventory.c.

◆ Inventory_getNext()

unsigned int Inventory_getNext ( const struct Inventory this)

Definition at line 44 of file Inventory.c.

+ Here is the caller graph for this function:

◆ Inventory_read()

unsigned int Inventory_read ( const struct Inventory this,
unsigned int  path,
int *  error 
)

Definition at line 92 of file Inventory.c.

+ Here is the caller graph for this function:

◆ Inventory_update()

void Inventory_update ( struct Inventory this,
unsigned int  path,
unsigned int  content,
int *  error 
)

Definition at line 77 of file Inventory.c.

+ Here is the caller graph for this function: