![]() |
smntc
an in-memory multimodal graph database
|
Go to the source code of this file.
Functions | |
| 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. | |
| struct Words * | Words_destruct (struct Words *this) |
| It destructs a managing object for all words in a graph. | |
| unsigned int | Words_writeWord (struct Words *this, unsigned int length, unsigned int *characters, int *error) |
| It writes one word into a graph. | |
| void | Words_readWord (struct Words *this, unsigned int word, unsigned int length, unsigned int *characters, int *error) |
| It reads a word from a graph. | |
| 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.
| wordType | a vertex that all word clusters will be connected to |
| binary | a manging object for binary character codes |
| utf8 | a UTF8 converter |
| graph | a graph storage with needed managing objects |
| error | error tracking (0 means no error) |
| void Words_readWord | ( | struct Words * | this, |
| unsigned int | word, | ||
| unsigned int | length, | ||
| unsigned int * | characters, | ||
| int * | error | ||
| ) |
It reads a word from a graph.
| this | a managing object for all words in a graph |
| word | the type vertex of a word cluster |
| length | the buffer length |
| characters | a buffer for the charcters to be read |
| error | error tracking (0 means no error) |
Definition at line 251 of file Words.c.
Here is the call graph for this function:| unsigned int Words_writeWord | ( | struct Words * | this, |
| unsigned int | length, | ||
| unsigned int * | characters, | ||
| int * | error | ||
| ) |
It writes one word into a graph.
| this | a managing object for all words in a graph |
| length | the number of characters in the buffer |
| characters | a buffer with the charcters to be written |
| error | error tracking (0 means no error) |
Definition at line 85 of file Words.c.
Here is the call graph for this function: