From ebf4767701457f30281aa0ca86159911b0e1edb3 Mon Sep 17 00:00:00 2001 From: MMagueta Date: Sat, 20 Sep 2025 04:42:09 +0000 Subject: deploy: 5ed1406c81044ff73fd919b5aad184aaed0a174b --- relation_8h_source.html | 121 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 relation_8h_source.html (limited to 'relation_8h_source.html') diff --git a/relation_8h_source.html b/relation_8h_source.html new file mode 100644 index 0000000..dc71eed --- /dev/null +++ b/relation_8h_source.html @@ -0,0 +1,121 @@ + + + + + + + +Relational Algebra Engine: include/relation.h Source File + + + + + + + + + +
+
+ + + + + + +
+
Relational Algebra Engine +
+
+
+ + + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+
relation.h
+
+
+Go to the documentation of this file.
1#ifndef RELATION_H
+
2#define RELATION_H
+
3
+
4#include "set.h"
+
5#include "tuple.h"
+
6
+
+
7typedef struct {
+
8 char *name;
+ +
10} Relation;
+
+
11
+
12Relation *relation_create(const char *name);
+ + +
15void relation_print(const Relation *r);
+ +
17
+
18#endif // RELATION_H
+
Tuple * relation_find_tuple(Relation *r, Tuple *t)
Find a tuple in a relation matching the target.
Definition relation.c:125
+
void relation_destroy(Relation *r)
Destroy a Relation and free its memory.
Definition relation.c:57
+
Relation * relation_create(const char *name)
Create a new Relation.
Definition relation.c:43
+
int relation_add_tuple(Relation *r, Tuple *t)
Add a tuple to a relation.
Definition relation.c:72
+
void relation_print(const Relation *r)
Print a Relation to stdout.
Definition relation.c:92
+ +
Definition relation.h:7
+
Set * tuples
Definition relation.h:9
+
char * name
Definition relation.h:8
+
Definition set.c:17
+ +
+ + + + -- cgit v1.2.3