Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > by-pkgid > 2fc07611b08d4a735fd34d5eb60d8e16 > files > 2164

ciao-1.10p8-3mdv2010.0.i586.rpm

<HTML>
<HEAD>
<!-- Created by texi2html 1.56k + clip patches and <A href="http://www.clip.dia.fi.upm.es/Software">lpdoc</A> from ciao.texi on 28 January 2007 -->

<LINK rel="stylesheet" href="ciao.css" type="text/css">
<TITLE>The Ciao Prolog System               - dictionary (library)</TITLE>
</HEAD>
<BODY> 
Go to the <A HREF="ciao_1.html">first</A>, <A HREF="ciao_209.html">previous</A>, <A HREF="ciao_211.html">next</A>, <A HREF="ciao_241.html">last</A> section, <A HREF="ciao_toc.html">table of contents</A>.
<P><HR><P>


<H1><A NAME="SEC829" HREF="ciao_toc.html#TOC829">dictionary (library)</A></H1>
<P>
<A NAME="IDX9053"></A>


<P>
<STRONG>Author(s):</STRONG> G&ouml;ran Smedb&auml;ck.


<P>
<STRONG>Version:</STRONG> 1.10#7 (2006/4/26, 19:22:13 CEST)


<P>
<STRONG>Version of last change:</STRONG> 1.9#172 (2003/12/4, 17:47:7 CET)


<P>
This module contains the fixed dictionary. All the nodes in VRML with their associated fields.



<UL>
<LI><A HREF="ciao_210.html#SEC830">Usage and interface (dictionary)</A>
<LI><A HREF="ciao_210.html#SEC831">Documentation on exports (dictionary)</A>
</UL>



<H2><A NAME="SEC830" HREF="ciao_toc.html#TOC830">Usage and interface (<CODE>dictionary</CODE>)</A></H2>

<div class="cartouche">

<UL>

<LI><STRONG>Library usage:</STRONG>

<CODE>:- use_module(library(dictionary)).</CODE>

<LI><STRONG>Exports:</STRONG>


<UL>

<LI><EM>Predicates:</EM>

<A NAME="IDX9054"></A>
<CODE>dictionary/6</CODE>.

</UL>

<LI><STRONG>Other modules used:</STRONG>


<UL>

<LI><EM>System library modules:</EM>

<A NAME="IDX9055"></A>
<CODE>aggregates</CODE>, 
<A NAME="IDX9056"></A>
<CODE>dynamic</CODE>, 
<A NAME="IDX9057"></A>
<CODE>iso_misc</CODE>, 
<A NAME="IDX9058"></A>
<CODE>iso_byte_char</CODE>, 
<A NAME="IDX9059"></A>
<CODE>iso_incomplete</CODE>, 
<A NAME="IDX9060"></A>
<CODE>operators</CODE>, 
<A NAME="IDX9061"></A>
<CODE>read</CODE>, 
<A NAME="IDX9062"></A>
<CODE>write</CODE>, 
<A NAME="IDX9063"></A>
<CODE>lists</CODE>, 
<A NAME="IDX9064"></A>
<CODE>provrml/internal_types</CODE>.

</UL>

</UL>

</div class="cartouche">



<H2><A NAME="SEC831" HREF="ciao_toc.html#TOC831">Documentation on exports (<CODE>dictionary</CODE>)</A></H2>
<P>
<A NAME="IDX9065"></A>
<A NAME="IDX9066"></A>
<DL>
<DT><span class="define">PREDICATE:</span> <B>dictionary/6:</B>
<DD><A NAME="IDX9067"></A>


<P>
<STRONG>Usage 1:</STRONG> <CODE>dictionary(?NodeTypeId, ?AccessType, ?FieldTypeId, ?FieldId, -Init_value, -Boundary)</CODE>

<UL>
<LI><EM>Description:</EM> To lookup information about the nodes, getting their properties. Note that the type returned for the bound can be of two different types bound or bound_double. The rotation type have one bound for the directions and one for the degree of rotation.

<LI><EM>Call and exit should be <EM>compatible</EM> with:</EM>

<CODE>?NodeTypeId</CODE> is an atom.
 (<CODE>basic_props:atm/1</CODE>)

<CODE>?AccessType</CODE> is an atom.
 (<CODE>basic_props:atm/1</CODE>)

<CODE>?FieldTypeId</CODE> is an atom.
 (<CODE>basic_props:atm/1</CODE>)

<CODE>?FieldId</CODE> is an atom.
 (<CODE>basic_props:atm/1</CODE>)

<CODE>-Init_value</CODE> is a list of <CODE>atm</CODE>s.
 (<CODE>basic_props:list/2</CODE>)

<CODE>-Boundary</CODE> is a variable interval.
 (<CODE>internal_types:bound/1</CODE>)
</UL>

<P>
<STRONG>Usage 2:</STRONG> <CODE>dictionary(?NodeTypeId, ?AccessType, ?FieldTypeId, ?FieldId, -Init_value, -Boundary)</CODE>

<UL>
<LI><EM>Description:</EM> To lookup information about the nodes, getting their properties. Note that the type returned for the bound can be of two different types bound or bound_double. The rotation type have one bound for the directions and one for the degree of rotation.

<LI><EM>Call and exit should be <EM>compatible</EM> with:</EM>

<CODE>?NodeTypeId</CODE> is an atom.
 (<CODE>basic_props:atm/1</CODE>)

<CODE>?AccessType</CODE> is an atom.
 (<CODE>basic_props:atm/1</CODE>)

<CODE>?FieldTypeId</CODE> is an atom.
 (<CODE>basic_props:atm/1</CODE>)

<CODE>?FieldId</CODE> is an atom.
 (<CODE>basic_props:atm/1</CODE>)

<CODE>-Init_value</CODE> is a list of <CODE>atm</CODE>s.
 (<CODE>basic_props:list/2</CODE>)

<CODE>-Boundary</CODE> is a variable interval.
 (<CODE>internal_types:bound_double/1</CODE>)
</UL>

</DL>

<P><HR><P>
Go to the <A HREF="ciao_1.html">first</A>, <A HREF="ciao_209.html">previous</A>, <A HREF="ciao_211.html">next</A>, <A HREF="ciao_241.html">last</A> section, <A HREF="ciao_toc.html">table of contents</A>.
</BODY>
</HTML>