diff options
Diffstat (limited to 'docs/doxygen/nel/a02757.html')
-rw-r--r-- | docs/doxygen/nel/a02757.html | 598 |
1 files changed, 598 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02757.html b/docs/doxygen/nel/a02757.html new file mode 100644 index 00000000..b2e94e90 --- /dev/null +++ b/docs/doxygen/nel/a02757.html @@ -0,0 +1,598 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>NeL: NLLIGO::CLigoError class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NLLIGO::CLigoError Class Reference</h1><code>#include <<a class="el" href="a05906.html">ligo_error.h</a>></code> +<p> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Error handling<p> +<dl compact><dt><b>Author:</b></dt><dd>Cyril 'Hulud' Corvazier <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a05906.html#l00043">43</a> of file <a class="el" href="a05906.html">ligo_error.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Types</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14">TError</a> { <br> + <a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw8">NoError</a> = 0, +<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw7">NoEdgeVertices</a>, +<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw13">OpenedEdge</a>, +<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw4">MultipleEdge</a>, +<br> + <a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw18">VertexList</a>, +<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw9">NotInserted</a>, +<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw3">Inserted</a>, +<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw2">FlatZone</a>, +<br> + <a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw5">MustHave4Edges</a>, +<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw12">NotSymetrical</a>, +<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw11">NotSameVerticesNumber</a>, +<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw10">NotSameVertex</a>, +<br> + <a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw6">NoCornerFound</a>, +<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw15">TwoCornerVertices</a>, +<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw0">CornerIsMissing</a>, +<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw17">VertexAlreadyUsed</a>, +<br> + <a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw16">UnknownError</a>, +<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw1">ErrorCount</a> +<br> + }</td></tr> + +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02757.html#NLLIGO_1_1CLigoErrora0">clear</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Clear the container. <a href="#NLLIGO_1_1CLigoErrora0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02757.html#NLLIGO_1_1CLigoErrora1">CLigoError</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#NLLIGO_1_1CLigoErrora1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14">TError</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02757.html#NLLIGO_1_1CLigoErrora2">getVertexError</a> (<a class="el" href="a04558.html#a15">uint</a> error, <a class="el" href="a04558.html#a15">uint</a> &<a class="el" href="a04223.html#a564">id</a>, <a class="el" href="a04558.html#a15">uint</a> &edge) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get a vertex error. <a href="#NLLIGO_1_1CLigoErrora2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02757.html#NLLIGO_1_1CLigoErrora3">numVertexError</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get num vertex error. <a href="#NLLIGO_1_1CLigoErrora3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02757.html#NLLIGO_1_1CLigoErrora4">pushVertexError</a> (<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14">TError</a> code, <a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a564">id</a>, <a class="el" href="a04558.html#a15">uint</a> edge=0xffffffff)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Push a vertex error code. <a href="#NLLIGO_1_1CLigoErrora4"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const char * </td><td class="memItemRight" valign=bottom><a class="el" href="a02757.html#NLLIGO_1_1CLigoErrore0">getStringError</a> (<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14">TError</a> errorCode)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get an error string. <a href="#NLLIGO_1_1CLigoErrore0"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Data Fields</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14">TError</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02757.html#NLLIGO_1_1CLigoErroro0">MainError</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Main error code. <a href="#NLLIGO_1_1CLigoErroro0"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a02758.html">CVertex</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorr0">_VertexError</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Vertex error. <a href="#NLLIGO_1_1CLigoErrorr0"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Static Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const char * </td><td class="memItemRight" valign=bottom><a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorv0">_StringError</a> []</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Error string. <a href="#NLLIGO_1_1CLigoErrorv0"></a><br><br></td></tr> +</table> +<hr><h2>Member Enumeration Documentation</h2> +<a class="anchor" name="NLLIGO_1_1CLigoErrorw14" doxytag="NLLIGO::CLigoError::TError" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> enum <a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14">NLLIGO::CLigoError::TError</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw8" doxytag="NoError" ></a>NoError</em> </td><td> +No error. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw7" doxytag="NoEdgeVertices" ></a>NoEdgeVertices</em> </td><td> +No vertices in the edge list. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw13" doxytag="OpenedEdge" ></a>OpenedEdge</em> </td><td> +Opened edges detected. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw4" doxytag="MultipleEdge" ></a>MultipleEdge</em> </td><td> +Mulitple edge on the boundary. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw18" doxytag="VertexList" ></a>VertexList</em> </td><td> +Vertex list invalid. One vertex should be a corner. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw9" doxytag="NotInserted" ></a>NotInserted</em> </td><td> +The vertex has not been inserted in the edge list. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw3" doxytag="Inserted" ></a>Inserted</em> </td><td> +The vertex has been inserted in the edge list. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw2" doxytag="FlatZone" ></a>FlatZone</em> </td><td> +Flat zone, all vertex are in the same corner. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw5" doxytag="MustHave4Edges" ></a>MustHave4Edges</em> </td><td> +4 edge to define a material </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw12" doxytag="NotSymetrical" ></a>NotSymetrical</em> </td><td> +4 edge to define a material </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw11" doxytag="NotSameVerticesNumber" ></a>NotSameVerticesNumber</em> </td><td> +Not same number of vertices. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw10" doxytag="NotSameVertex" ></a>NotSameVertex</em> </td><td> +Vertex is not the same. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw6" doxytag="NoCornerFound" ></a>NoCornerFound</em> </td><td> +No corner found. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw15" doxytag="TwoCornerVertices" ></a>TwoCornerVertices</em> </td><td> +Two corner vertices. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw0" doxytag="CornerIsMissing" ></a>CornerIsMissing</em> </td><td> +Corner is missing. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw17" doxytag="VertexAlreadyUsed" ></a>VertexAlreadyUsed</em> </td><td> +Boundary vertex used by multiple edge. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw16" doxytag="UnknownError" ></a>UnknownError</em> </td><td> +Unkown error. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw1" doxytag="ErrorCount" ></a>ErrorCount</em> </td><td> +Error count. </td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a05906.html#l00046">46</a> of file <a class="el" href="a05906.html">ligo_error.h</a>. +<p> +<div class="fragment"><pre>00047 { +00049 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw8">NoError</a> =0, +00050 +00052 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw7">NoEdgeVertices</a>, +00053 +00055 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw13">OpenedEdge</a>, +00056 +00058 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw4">MultipleEdge</a>, +00059 +00061 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw18">VertexList</a>, +00062 +00064 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw9">NotInserted</a>, +00065 +00067 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw3">Inserted</a>, +00068 +00070 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw2">FlatZone</a>, +00071 +00073 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw5">MustHave4Edges</a>, +00074 +00076 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw12">NotSymetrical</a>, +00077 +00079 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw11">NotSameVerticesNumber</a>, +00080 +00082 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw10">NotSameVertex</a>, +00083 +00085 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw6">NoCornerFound</a>, +00086 +00088 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw15">TwoCornerVertices</a>, +00089 +00091 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw0">CornerIsMissing</a>, +00092 +00094 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw17">VertexAlreadyUsed</a>, +00095 +00097 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw16">UnknownError</a>, +00098 +00100 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw1">ErrorCount</a> +00101 }; +</pre></div> </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NLLIGO_1_1CLigoErrora1" doxytag="NLLIGO::CLigoError::CLigoError" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLLIGO::CLigoError::CLigoError </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Constructor. +<p> + +<p> +Definition at line <a class="el" href="a05905.html#l00033">33</a> of file <a class="el" href="a05905.html">ligo_error.cpp</a>. +<p> +References <a class="el" href="a05905.html#l00080">clear()</a>. +<p> +<div class="fragment"><pre>00034 { +00035 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrora0">clear</a> (); +00036 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLLIGO_1_1CLigoErrora0" doxytag="NLLIGO::CLigoError::clear" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLIGO::CLigoError::clear </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Clear the container. +<p> + +<p> +Definition at line <a class="el" href="a05905.html#l00080">80</a> of file <a class="el" href="a05905.html">ligo_error.cpp</a>. +<p> +References <a class="el" href="a05906.html#l00153">_VertexError</a>, <a class="el" href="a05906.html#l00124">MainError</a>, and <a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw8">NoError</a>. +<p> +Referenced by <a class="el" href="a06780.html#l00107">NLLIGO::CZoneTemplate::build()</a>, <a class="el" href="a06766.html#l00041">NLLIGO::CZoneEdge::build()</a>, <a class="el" href="a05907.html#l00038">NLLIGO::CMaterial::build()</a>, <a class="el" href="a05905.html#l00033">CLigoError()</a>, and <a class="el" href="a06766.html#l00089">NLLIGO::CZoneEdge::isSymetrical()</a>. +<p> +<div class="fragment"><pre>00081 { +00082 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErroro0">MainError</a> = <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw8">NoError</a>; +00083 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorr0">_VertexError</a>.clear (); +00084 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CLigoErrore0" doxytag="NLLIGO::CLigoError::getStringError" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const char * NLLIGO::CLigoError::getStringError </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14">TError</a> </td> + <td class="mdname1" valign="top" nowrap> <em>errorCode</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get an error string. +<p> + +<p> +Definition at line <a class="el" href="a05905.html#l00111">111</a> of file <a class="el" href="a05905.html">ligo_error.cpp</a>. +<p> +References <a class="el" href="a05905.html#l00088">_StringError</a>, <a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw1">ErrorCount</a>, and <a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw16">UnknownError</a>. +<p> +<div class="fragment"><pre>00112 { +00113 <span class="keywordflow">if</span> (errorCode<=<a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw1">ErrorCount</a>) +00114 { +00115 <span class="keywordflow">return</span> <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorv0">_StringError</a>[errorCode]; +00116 } +00117 <span class="keywordflow">else</span> +00118 { +00119 <span class="keywordflow">return</span> <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorv0">_StringError</a>[<a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw16">UnknownError</a>]; +00120 } +00121 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CLigoErrora2" doxytag="NLLIGO::CLigoError::getVertexError" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14">CLigoError::TError</a> NLLIGO::CLigoError::getVertexError </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>error</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> & </td> + <td class="mdname" nowrap> <em>id</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> & </td> + <td class="mdname" nowrap> <em>edge</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get a vertex error. +<p> + +<p> +Definition at line <a class="el" href="a05905.html#l00070">70</a> of file <a class="el" href="a05905.html">ligo_error.cpp</a>. +<p> +References <a class="el" href="a05906.html#l00153">_VertexError</a>, <a class="el" href="a05906.html#l00143">NLLIGO::CLigoError::CVertex::Code</a>, <a class="el" href="a05906.html#l00149">NLLIGO::CLigoError::CVertex::Edge</a>, <a class="el" href="a05906.html#l00146">NLLIGO::CLigoError::CVertex::Id</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00071 { +00072 <span class="keyword">const</span> CVertex &vertex = <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorr0">_VertexError</a>[error]; +00073 <span class="keywordtype">id</span> = vertex.Id; +00074 edge = vertex.Edge; +00075 <span class="keywordflow">return</span> vertex.Code; +00076 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CLigoErrora3" doxytag="NLLIGO::CLigoError::numVertexError" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a15">uint</a> NLLIGO::CLigoError::numVertexError </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get num vertex error. +<p> + +<p> +Definition at line <a class="el" href="a05905.html#l00063">63</a> of file <a class="el" href="a05905.html">ligo_error.cpp</a>. +<p> +References <a class="el" href="a05906.html#l00153">_VertexError</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00064 { +00065 <span class="keywordflow">return</span> <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorr0">_VertexError</a>.size (); +00066 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CLigoErrora4" doxytag="NLLIGO::CLigoError::pushVertexError" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLIGO::CLigoError::pushVertexError </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14">TError</a> </td> + <td class="mdname" nowrap> <em>code</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>id</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>edge</em> = 0xffffffff</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Push a vertex error code. +<p> + +<p> +Definition at line <a class="el" href="a05905.html#l00040">40</a> of file <a class="el" href="a05905.html">ligo_error.cpp</a>. +<p> +References <a class="el" href="a05906.html#l00153">_VertexError</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a06780.html#l00107">NLLIGO::CZoneTemplate::build()</a>, <a class="el" href="a06766.html#l00041">NLLIGO::CZoneEdge::build()</a>, <a class="el" href="a06766.html#l00089">NLLIGO::CZoneEdge::isSymetrical()</a>, and <a class="el" href="a06766.html#l00138">NLLIGO::CZoneEdge::isTheSame()</a>. +<p> +<div class="fragment"><pre>00041 { +00042 <span class="comment">// Check if this vertex exist in the error list</span> +00043 <a class="code" href="a04558.html#a15">uint</a> vertex; +00044 <span class="keywordflow">for</span> (vertex=0; vertex<<a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorr0">_VertexError</a>.size(); vertex++) +00045 { +00046 <span class="keywordflow">if</span> (<a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorr0">_VertexError</a>[vertex].Id == <span class="keywordtype">id</span>) +00047 { +00048 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorr0">_VertexError</a>[vertex] = CVertex (code, <span class="keywordtype">id</span>, edge); +00049 <span class="keywordflow">break</span>; +00050 } +00051 } +00052 +00053 <span class="comment">// Not found ?</span> +00054 <span class="keywordflow">if</span> (vertex == <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorr0">_VertexError</a>.size()) +00055 { +00056 <span class="comment">// Add a vertex error</span> +00057 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorr0">_VertexError</a>.push_back (CVertex (code, <span class="keywordtype">id</span>, edge)); +00058 } +00059 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NLLIGO_1_1CLigoErrorv0" doxytag="NLLIGO::CLigoError::_StringError" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const char * <a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorv0">NLLIGO::CLigoError::_StringError</a><code> [static, private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<b>Initial value:</b><div class="fragment"><pre> +{ + <span class="stringliteral">"No error"</span>, + <span class="stringliteral">"No vertex in the edge list"</span>, + <span class="stringliteral">"Opened edges detected"</span>, + <span class="stringliteral">"Mulitple edge on the boundary"</span>, + <span class="stringliteral">"Vertex list invalid. One vertex should be a corner"</span>, + <span class="stringliteral">"The vertex has not been inserted in the edge list"</span>, + <span class="stringliteral">"The vertex has been inserted in the edge list"</span>, + <span class="stringliteral">"Flat zone, all vertices are in the same corner"</span>, + <span class="stringliteral">"The zone must have 4 edges to define a material"</span>, + <span class="stringliteral">"A edge of the zone is not symetrical"</span>, + <span class="stringliteral">"Not the same number of vertex"</span>, + <span class="stringliteral">"Some vertices are not the same"</span>, + <span class="stringliteral">"No corner found"</span>, + <span class="stringliteral">"A edge has two times the same corner"</span>, + <span class="stringliteral">"A corner is missing in this edge"</span>, + <span class="stringliteral">"A boundary vertex is used by multiple edges"</span>, + <span class="stringliteral">"Unkown error"</span>, +} +</pre></div>Error string. +<p> + +<p> +Definition at line <a class="el" href="a05905.html#l00088">88</a> of file <a class="el" href="a05905.html">ligo_error.cpp</a>. +<p> +Referenced by <a class="el" href="a05905.html#l00111">getStringError()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CLigoErrorr0" doxytag="NLLIGO::CLigoError::_VertexError" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::vector<<a class="el" href="a02758.html">CVertex</a>> <a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorr0">NLLIGO::CLigoError::_VertexError</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Vertex error. +<p> + +<p> +Definition at line <a class="el" href="a05906.html#l00153">153</a> of file <a class="el" href="a05906.html">ligo_error.h</a>. +<p> +Referenced by <a class="el" href="a05905.html#l00080">clear()</a>, <a class="el" href="a05905.html#l00070">getVertexError()</a>, <a class="el" href="a05905.html#l00063">numVertexError()</a>, and <a class="el" href="a05905.html#l00040">pushVertexError()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CLigoErroro0" doxytag="NLLIGO::CLigoError::MainError" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14">TError</a> <a class="el" href="a02757.html#NLLIGO_1_1CLigoErroro0">NLLIGO::CLigoError::MainError</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Main error code. +<p> + +<p> +Definition at line <a class="el" href="a05906.html#l00124">124</a> of file <a class="el" href="a05906.html">ligo_error.h</a>. +<p> +Referenced by <a class="el" href="a06780.html#l00107">NLLIGO::CZoneTemplate::build()</a>, <a class="el" href="a06578.html#l00068">NLLIGO::CTransition::build()</a>, <a class="el" href="a05907.html#l00038">NLLIGO::CMaterial::build()</a>, <a class="el" href="a05905.html#l00080">clear()</a>, <a class="el" href="a06766.html#l00089">NLLIGO::CZoneEdge::isSymetrical()</a>, and <a class="el" href="a06766.html#l00138">NLLIGO::CZoneEdge::isTheSame()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a05906.html">ligo_error.h</a><li><a class="el" href="a05905.html">ligo_error.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 12:47:52 2004 for NeL by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.6 </small></address> +</body> +</html> |