smntc
an in-memory multimodal graph database
Loading...
Searching...
No Matches
Words.h
Go to the documentation of this file.
1#ifndef __WORDS_HEADER__
2#define __WORDS_HEADER__
3
4struct Words;
5
8 unsigned int wordType,
9 struct Binary *binary,
10 struct Utf8 *utf8,
11 struct Graph *graph,
12 int *error
13);
14
19struct Words* Words_destruct(
20 struct Words *this
21);
22
24unsigned int Words_writeWord(
25 struct Words *this,
26 unsigned int length,
27 unsigned int *characters,
28 int *error
29);
30
33 struct Words *this,
34 unsigned int word,
35 unsigned int length,
36 unsigned int *characters,
37 int *error
38);
39
40#endif
struct Words * Words_destruct(struct Words *this)
It destructs a managing object for all words in a graph.
Definition Words.c:74
struct Words * Words_construct(unsigned int wordType, struct Binary *binary, struct Utf8 *utf8, struct Graph *graph, int *error)
It constructs a new managing object for all words in a graph.
Definition Words.c:57
void Words_readWord(struct Words *this, unsigned int word, unsigned int length, unsigned int *characters, int *error)
It reads a word from a graph.
Definition Words.c:251
unsigned int Words_writeWord(struct Words *this, unsigned int length, unsigned int *characters, int *error)
It writes one word into a graph.
Definition Words.c:85
Definition Graph.c:20
Definition Utf8.c:10
A managing object for all words in a graph.
Definition Words.c:50
struct Utf8 * utf8
its UTF8 converter
Definition Words.c:52
unsigned int wordType
its vertex that all word clusters will be connected to
Definition Words.c:54
struct Graph * graph
its graph storage with needed managing objects installed
Definition Words.c:53
struct Binary * binary
its manging object for binary character codes
Definition Words.c:51