From ebf4767701457f30281aa0ca86159911b0e1edb3 Mon Sep 17 00:00:00 2001 From: MMagueta Date: Sat, 20 Sep 2025 04:42:09 +0000 Subject: deploy: 5ed1406c81044ff73fd919b5aad184aaed0a174b --- attribute_8h.html | 275 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 275 insertions(+) create mode 100644 attribute_8h.html (limited to 'attribute_8h.html') diff --git a/attribute_8h.html b/attribute_8h.html new file mode 100644 index 0000000..832b8bd --- /dev/null +++ b/attribute_8h.html @@ -0,0 +1,275 @@ + + + + + + + +Relational Algebra Engine: include/attribute.h File Reference + + + + + + + + + +
+
+ + + + + + +
+
Relational Algebra Engine +
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+ +
attribute.h File Reference
+
+
+
#include <stddef.h>
+
+Include dependency graph for attribute.h:
+
+
+ + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + +

+Classes

struct  Attribute
 
+ + + +

+Enumerations

enum  AttributeType {
+  ATTR_INT +, ATTR_DOUBLE +, ATTR_STRING +, ATTR_SET +,
+  ATTR_UNKNOWN +
+ }
 
+ + + + + + + + + + +

+Functions

Attribute * attribute_create (const char *name, AttributeType type, void *value)
 Create a new Attribute.
 
void attribute_destroy (Attribute *attr)
 Destroy an Attribute and free its memory.
 
void attribute_print (const Attribute *attr)
 Print an Attribute to stdout.
 
+

Enumeration Type Documentation

+ +

◆ AttributeType

+ +
+
+ + + + +
enum AttributeType
+
+ + + + + + +
Enumerator
ATTR_INT 
ATTR_DOUBLE 
ATTR_STRING 
ATTR_SET 
ATTR_UNKNOWN 
+ +
+
+

Function Documentation

+ +

◆ attribute_create()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
Attribute * attribute_create (const char * name,
AttributeType type,
void * value 
)
+
+ +

Create a new Attribute.

+
Parameters
+ + + + +
nameName of the attribute (copied).
typeType of the attribute (see AttributeType).
valuePointer to the value (ownership is taken).
+
+
+
Returns
Pointer to the new Attribute, or NULL on failure.
+ +
+
+ +

◆ attribute_destroy()

+ +
+
+ + + + + + + + +
void attribute_destroy (Attribute * attr)
+
+ +

Destroy an Attribute and free its memory.

+
Parameters
+ + +
attrPointer to the Attribute to destroy. Safe to pass NULL.
+
+
+ +
+
+ +

◆ attribute_print()

+ +
+
+ + + + + + + + +
void attribute_print (const Attribute * attr)
+
+ +

Print an Attribute to stdout.

+
Parameters
+ + +
attrPointer to the Attribute to print.
+
+
+ +
+
+
+ + + + -- cgit v1.2.3