<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Relational Algebra Engine: include/attribute.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">Relational Algebra Engine
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> |
<a href="#enum-members">Enumerations</a> |
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">attribute.h File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include <stddef.h></code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for attribute.h:</div>
<div class="dyncontent">
<div class="center"><img src="attribute_8h__incl.png" border="0" usemap="#ainclude_2attribute_8h" alt=""/></div>
<map name="ainclude_2attribute_8h" id="ainclude_2attribute_8h">
<area shape="rect" title=" " alt="" coords="5,5,147,31"/>
<area shape="rect" title=" " alt="" coords="39,79,113,104"/>
<area shape="poly" title=" " alt="" coords="79,31,79,65,73,65,73,31"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="attribute_8h__dep__incl.png" border="0" usemap="#ainclude_2attribute_8hdep" alt=""/></div>
<map name="ainclude_2attribute_8hdep" id="ainclude_2attribute_8hdep">
<area shape="rect" title=" " alt="" coords="271,5,413,31"/>
<area shape="rect" href="tuple_8h.html" title=" " alt="" coords="168,79,287,104"/>
<area shape="poly" title=" " alt="" coords="314,40,247,81,245,76,311,35"/>
<area shape="rect" href="main_8c.html" title="Example usage and entry point for the Relational Algebra Engine." alt="" coords="247,225,336,251"/>
<area shape="poly" title=" " alt="" coords="339,45,297,226,291,224,334,44"/>
<area shape="rect" href="attribute_8c.html" title="Attribute implementation for the Relational Algebra Engine." alt="" coords="379,79,491,104"/>
<area shape="poly" title=" " alt="" coords="369,37,422,76,418,81,366,41"/>
<area shape="rect" href="relation_8h.html" title=" " alt="" coords="5,152,140,177"/>
<area shape="poly" title=" " alt="" coords="191,112,99,154,97,149,189,107"/>
<area shape="poly" title=" " alt="" coords="247,114,268,151,283,191,291,224,286,225,278,192,264,153,242,117"/>
<area shape="rect" href="tuple_8c.html" title="Tuple implementation for the Relational Algebra Engine." alt="" coords="164,152,253,177"/>
<area shape="poly" title=" " alt="" coords="223,118,214,153,209,151,218,117"/>
<area shape="poly" title=" " alt="" coords="122,179,257,223,255,228,120,184"/>
<area shape="rect" href="relation_8c.html" title="Relation implementation for the Relational Algebra Engine." alt="" coords="19,225,126,251"/>
<area shape="poly" title=" " alt="" coords="75,191,75,225,70,225,70,191"/>
</map>
</div>
</div>
<p><a href="attribute_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structAttribute.html">Attribute</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="enum-members" name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:a349a9cde14be8097df865ba0469c0ab2" id="r_a349a9cde14be8097df865ba0469c0ab2"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="attribute_8h.html#a349a9cde14be8097df865ba0469c0ab2">AttributeType</a> { <br />
  <a class="el" href="attribute_8h.html#a349a9cde14be8097df865ba0469c0ab2acfce9fbc6c39c85087edb6a9bc727dcf">ATTR_INT</a>
, <a class="el" href="attribute_8h.html#a349a9cde14be8097df865ba0469c0ab2a0720d64774dfe00e8064434a7d55a11b">ATTR_DOUBLE</a>
, <a class="el" href="attribute_8h.html#a349a9cde14be8097df865ba0469c0ab2aa041276c55aea740bc728c3a2ea1cc8f">ATTR_STRING</a>
, <a class="el" href="attribute_8h.html#a349a9cde14be8097df865ba0469c0ab2a37475bd076e2882ca74017610d6c13d1">ATTR_SET</a>
, <br />
  <a class="el" href="attribute_8h.html#a349a9cde14be8097df865ba0469c0ab2a3b3cacd0afda8882a34d8eef5a2c5ca6">ATTR_UNKNOWN</a>
<br />
}</td></tr>
<tr class="separator:a349a9cde14be8097df865ba0469c0ab2"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a90566af01d8bb56b95be836bc00d60c5" id="r_a90566af01d8bb56b95be836bc00d60c5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structAttribute.html">Attribute</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="attribute_8h.html#a90566af01d8bb56b95be836bc00d60c5">attribute_create</a> (const char *name, <a class="el" href="attribute_8h.html#a349a9cde14be8097df865ba0469c0ab2">AttributeType</a> type, void *value)</td></tr>
<tr class="memdesc:a90566af01d8bb56b95be836bc00d60c5"><td class="mdescLeft"> </td><td class="mdescRight">Create a new <a class="el" href="structAttribute.html">Attribute</a>. <br /></td></tr>
<tr class="separator:a90566af01d8bb56b95be836bc00d60c5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6124728ac9f45169d48d4ad0a2734e8e" id="r_a6124728ac9f45169d48d4ad0a2734e8e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="attribute_8h.html#a6124728ac9f45169d48d4ad0a2734e8e">attribute_destroy</a> (<a class="el" href="structAttribute.html">Attribute</a> *attr)</td></tr>
<tr class="memdesc:a6124728ac9f45169d48d4ad0a2734e8e"><td class="mdescLeft"> </td><td class="mdescRight">Destroy an <a class="el" href="structAttribute.html">Attribute</a> and free its memory. <br /></td></tr>
<tr class="separator:a6124728ac9f45169d48d4ad0a2734e8e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abf605ec06c2893a3ec8069359146a2fd" id="r_abf605ec06c2893a3ec8069359146a2fd"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="attribute_8h.html#abf605ec06c2893a3ec8069359146a2fd">attribute_print</a> (const <a class="el" href="structAttribute.html">Attribute</a> *attr)</td></tr>
<tr class="memdesc:abf605ec06c2893a3ec8069359146a2fd"><td class="mdescLeft"> </td><td class="mdescRight">Print an <a class="el" href="structAttribute.html">Attribute</a> to stdout. <br /></td></tr>
<tr class="separator:abf605ec06c2893a3ec8069359146a2fd"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="a349a9cde14be8097df865ba0469c0ab2" name="a349a9cde14be8097df865ba0469c0ab2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a349a9cde14be8097df865ba0469c0ab2">◆ </a></span>AttributeType</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="attribute_8h.html#a349a9cde14be8097df865ba0469c0ab2">AttributeType</a></td>
</tr>
</table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a349a9cde14be8097df865ba0469c0ab2acfce9fbc6c39c85087edb6a9bc727dcf" name="a349a9cde14be8097df865ba0469c0ab2acfce9fbc6c39c85087edb6a9bc727dcf"></a>ATTR_INT </td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a349a9cde14be8097df865ba0469c0ab2a0720d64774dfe00e8064434a7d55a11b" name="a349a9cde14be8097df865ba0469c0ab2a0720d64774dfe00e8064434a7d55a11b"></a>ATTR_DOUBLE </td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a349a9cde14be8097df865ba0469c0ab2aa041276c55aea740bc728c3a2ea1cc8f" name="a349a9cde14be8097df865ba0469c0ab2aa041276c55aea740bc728c3a2ea1cc8f"></a>ATTR_STRING </td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a349a9cde14be8097df865ba0469c0ab2a37475bd076e2882ca74017610d6c13d1" name="a349a9cde14be8097df865ba0469c0ab2a37475bd076e2882ca74017610d6c13d1"></a>ATTR_SET </td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a349a9cde14be8097df865ba0469c0ab2a3b3cacd0afda8882a34d8eef5a2c5ca6" name="a349a9cde14be8097df865ba0469c0ab2a3b3cacd0afda8882a34d8eef5a2c5ca6"></a>ATTR_UNKNOWN </td><td class="fielddoc"></td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a90566af01d8bb56b95be836bc00d60c5" name="a90566af01d8bb56b95be836bc00d60c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a90566af01d8bb56b95be836bc00d60c5">◆ </a></span>attribute_create()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structAttribute.html">Attribute</a> * attribute_create </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="attribute_8h.html#a349a9cde14be8097df865ba0469c0ab2">AttributeType</a> </td>
<td class="paramname"><em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void * </td>
<td class="paramname"><em>value</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Create a new <a class="el" href="structAttribute.html">Attribute</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td>Name of the attribute (copied). </td></tr>
<tr><td class="paramname">type</td><td>Type of the attribute (see AttributeType). </td></tr>
<tr><td class="paramname">value</td><td>Pointer to the value (ownership is taken). </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Pointer to the new <a class="el" href="structAttribute.html">Attribute</a>, or NULL on failure. </dd></dl>
</div>
</div>
<a id="a6124728ac9f45169d48d4ad0a2734e8e" name="a6124728ac9f45169d48d4ad0a2734e8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6124728ac9f45169d48d4ad0a2734e8e">◆ </a></span>attribute_destroy()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void attribute_destroy </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structAttribute.html">Attribute</a> * </td>
<td class="paramname"><em>attr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Destroy an <a class="el" href="structAttribute.html">Attribute</a> and free its memory. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">attr</td><td>Pointer to the <a class="el" href="structAttribute.html">Attribute</a> to destroy. Safe to pass NULL. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="abf605ec06c2893a3ec8069359146a2fd" name="abf605ec06c2893a3ec8069359146a2fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf605ec06c2893a3ec8069359146a2fd">◆ </a></span>attribute_print()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void attribute_print </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="structAttribute.html">Attribute</a> * </td>
<td class="paramname"><em>attr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Print an <a class="el" href="structAttribute.html">Attribute</a> to stdout. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">attr</td><td>Pointer to the <a class="el" href="structAttribute.html">Attribute</a> to print. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>