From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/classNLLIGO_1_1CLigoError.html | 554 ++++++++++++++++++++++++ 1 file changed, 554 insertions(+) create mode 100644 docs/doxygen/nel/classNLLIGO_1_1CLigoError.html (limited to 'docs/doxygen/nel/classNLLIGO_1_1CLigoError.html') diff --git a/docs/doxygen/nel/classNLLIGO_1_1CLigoError.html b/docs/doxygen/nel/classNLLIGO_1_1CLigoError.html new file mode 100644 index 00000000..30940404 --- /dev/null +++ b/docs/doxygen/nel/classNLLIGO_1_1CLigoError.html @@ -0,0 +1,554 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
Documentation 
+ +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  
+

NLLIGO::CLigoError Class Reference

Error handling. +More... +

+#include <ligo_error.h> +

+List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Types

enum  TError {
+  NoError = 0, +NoEdgeVertices, +OpenedEdge, +MultipleEdge, +
+  VertexList, +NotInserted, +Inserted, +FlatZone, +
+  MustHave4Edges, +NotSymetrical, +NotSameVerticesNumber, +NotSameVertex, +
+  NoCornerFound, +TwoCornerVertices, +CornerIsMissing, +VertexAlreadyUsed, +
+  UnknownError, +ErrorCount +
+ }

Public Methods

 CLigoError ()
 Constructor. More...

void clear ()
 Clear the container. More...

void pushVertexError (TError code, uint id, uint edge=0xffffffff)
 Push a vertex error code. More...

uint numVertexError () const
 Get num vertex error. More...

TError getVertexError (uint error, uint &id, uint &edge) const
 Get a vertex error. More...


Static Public Methods

const char * getStringError (TError errorCode)
 Get an error string. More...


Public Attributes

TError MainError
 Main error code. More...


Private Attributes

std::vector< CVertex_VertexError
 Vertex error. More...


Static Private Attributes

const char * _StringError []
 Error string. More...

+


Detailed Description

+Error handling. +

+

+Author:
+Cyril 'Hulud' Corvazier , Nevrax France
+Date:
+2001
+

+ +

+Definition at line 43 of file ligo_error.h.


Member Enumeration Documentation

+

+ + + + +
+ + +
enum NLLIGO::CLigoError::TError +
+
+ + + + + +
+   + + +

+

+Enumeration values:
+ + + + + + + + + + + + + + + + + + + +
NoError  +No error.
NoEdgeVertices  +No vertices in the edge list.
OpenedEdge  +Opened edges detected.
MultipleEdge  +Mulitple edge on the boundary.
VertexList  +Vertex list invalid. One vertex should be a corner.
NotInserted  +The vertex has not been inserted in the edge list.
Inserted  +The vertex has been inserted in the edge list.
FlatZone  +Flat zone, all vertex are in the same corner.
MustHave4Edges  +4 edge to define a material.
NotSymetrical  +4 edge to define a material.
NotSameVerticesNumber  +Not same number of vertices.
NotSameVertex  +Vertex is not the same.
NoCornerFound  +No corner found.
TwoCornerVertices  +Two corner vertices.
CornerIsMissing  +Corner is missing.
VertexAlreadyUsed  +Boundary vertex used by multiple edge.
UnknownError  +Unkown error.
ErrorCount  +Error count.
+
+ +

+Definition at line 46 of file ligo_error.h.

+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NLLIGO::CLigoError::CLigoError  
+
+ + + + + +
+   + + +

+Constructor. +

+ +

+Definition at line 33 of file ligo_error.cpp. +

+References clear.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + +
void NLLIGO::CLigoError::clear  
+
+ + + + + +
+   + + +

+Clear the container. +

+ +

+Definition at line 80 of file ligo_error.cpp. +

+References _VertexError, MainError, and NoError. +

+Referenced by CLigoError.

+

+ + + + +
+ + + + + + + + + + +
const char * NLLIGO::CLigoError::getStringError TError   errorCode [static]
+
+ + + + + +
+   + + +

+Get an error string. +

+ +

+Definition at line 111 of file ligo_error.cpp. +

+References _StringError, ErrorCount, and UnknownError.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
CLigoError::TError NLLIGO::CLigoError::getVertexError uint   error,
uint  id,
uint  edge
const
+
+ + + + + +
+   + + +

+Get a vertex error. +

+ +

+Definition at line 70 of file ligo_error.cpp. +

+References _VertexError, and id.

+

+ + + + +
+ + + + + + + + + +
uint NLLIGO::CLigoError::numVertexError   const
+
+ + + + + +
+   + + +

+Get num vertex error. +

+ +

+Definition at line 63 of file ligo_error.cpp. +

+References _VertexError.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
void NLLIGO::CLigoError::pushVertexError TError   code,
uint   id,
uint   edge = 0xffffffff
+
+ + + + + +
+   + + +

+Push a vertex error code. +

+ +

+Definition at line 40 of file ligo_error.cpp. +

+References _VertexError, and id.

+


Member Data Documentation

+

+ + + + +
+ + +
const char * NLLIGO::CLigoError::_StringError [static, private] +
+
+ + + + + +
+   + + +

+Initial value:

+{
+        "No error",                                             
+        "No vertex in the edge list",   
+        "Opened edges detected",                
+        "Mulitple edge on the boundary",
+        "Vertex list invalid. One vertex should be a corner",   
+        "The vertex has not been inserted in the edge list",    
+        "The vertex has been inserted in the edge list",                
+        "Flat zone, all vertices are in the same corner",               
+        "The zone must have 4 edges to define a material",      
+        "A edge of the zone is not symetrical",         
+        "Not the same number of vertex",        
+        "Some vertices are not the same",       
+        "No corner found",                                      
+        "A edge has two times the same corner", 
+        "A corner is missing in this edge", 
+        "A boundary vertex is used by multiple edges", 
+        "Unkown error",                                         
+}
Error string. +

+ +

+Definition at line 88 of file ligo_error.cpp. +

+Referenced by getStringError.

+

+ + + + +
+ + +
std::vector<CVertex> NLLIGO::CLigoError::_VertexError [private] +
+
+ + + + + +
+   + + +

+Vertex error. +

+ +

+Definition at line 153 of file ligo_error.h. +

+Referenced by clear, getVertexError, numVertexError, and pushVertexError.

+

+ + + + +
+ + +
TError NLLIGO::CLigoError::MainError +
+
+ + + + + +
+   + + +

+Main error code. +

+ +

+Definition at line 124 of file ligo_error.h. +

+Referenced by clear.

+


The documentation for this class was generated from the following files: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1