|
|
|
|
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 ReferenceError 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 |
( |
|
) |
|
|
Member Function Documentation
void NLLIGO::CLigoError::clear |
( |
|
) |
|
|
const char * NLLIGO::CLigoError::getStringError |
( |
TError |
errorCode |
) |
[static] |
|
uint NLLIGO::CLigoError::numVertexError |
( |
|
) |
const |
|
void NLLIGO::CLigoError::pushVertexError |
( |
TError |
code, |
|
|
uint |
id, |
|
|
uint |
edge = 0xffffffff |
|
) |
|
|
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]
|
|
TError NLLIGO::CLigoError::MainError
|
|
The documentation for this class was generated from the following files:
|
|