From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- .../nel/classNLAISCRIPT_1_1CConstraintDebug.html | 880 +++++++++++++++++++++ 1 file changed, 880 insertions(+) create mode 100644 docs/doxygen/nel/classNLAISCRIPT_1_1CConstraintDebug.html (limited to 'docs/doxygen/nel/classNLAISCRIPT_1_1CConstraintDebug.html') diff --git a/docs/doxygen/nel/classNLAISCRIPT_1_1CConstraintDebug.html b/docs/doxygen/nel/classNLAISCRIPT_1_1CConstraintDebug.html new file mode 100644 index 00000000..2a549acb --- /dev/null +++ b/docs/doxygen/nel/classNLAISCRIPT_1_1CConstraintDebug.html @@ -0,0 +1,880 @@ + + + + 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  
+

NLAISCRIPT::CConstraintDebug Class Reference

A debug constraint. +More... +

+#include <constraint_debug.h> +

+

Inheritance diagram for NLAISCRIPT::CConstraintDebug: +

+ +NLAISCRIPT::IConstraint +NLAIC::IPointerGestion +NLMISC::IStreamable +NLMISC::IClassable + +List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

 CConstraintDebug (int lin, int col)
 Constructor param lin Line number in the source code. More...

virtual ~CConstraintDebug ()
 Destructor. More...

void addIndex (int i, CCodeBrancheRun *c)
 Fix the opCode adress. More...

void getError (char *) const
 Get the error message. More...

int getLine () const
 Get the opCode line number in source texte. More...

int getColone () const
 Get the opCode colone number in source texte. More...

IConstraint method.
void run (CCompilateur &c)
 Run with a CCompilateur dependency. More...

void run (IConstraint *c)
 Run with a IConstraint dependency. More...

bool satisfied ()
 If the constraint is resolved. More...

const IConstraintclone () const
 Get a clone pointer memory. More...

ConstraintTypeEnum getTypeOfClass () const
 get the type of class. the type must be in the ConstraintTypeEnum enumeration. More...

IConstraint method.
Not used.

bool operator== (const IConstraint &) const
 Not used. More...

const NLAIC::CIdentTypegetConstraintTypeOf ()
 Not used. More...

const char * getInfo ()
 Not used. More...

bool dependOn (const IConstraint *) const
 Not used. More...


Private Attributes

bool _Satisfied
int _Lin
 Is the constraint satified ? More...

int _Col
 OpCode line number in source texte. More...

int _I
 OpCode colone number in source texte. More...

CCodeBrancheRun_Code
 Index in the CCodeBrancheRun. More...

char * _Txt
 Pointer to the CCodeBrancheRun. More...

+

Detailed Description

+A debug constraint. +

+It keep a trace between original source code and OpCode.

+Author:
+Gabriel ROBERT , Nevrax France
+Date:
+2000
+

+ +

+Definition at line 41 of file constraint_debug.h.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
NLAISCRIPT::CConstraintDebug::CConstraintDebug int   lin,
int   col
+
+ + + + + +
+   + + +

+Constructor param lin Line number in the source code. +

+param col Colonne number in the source code. +

+Definition at line 30 of file constraint_debug.cpp. +

+References _Code, and _Txt. +

+Referenced by clone.

+

+ + + + +
+ + + + + + + + + +
NLAISCRIPT::CConstraintDebug::~CConstraintDebug   [virtual]
+
+ + + + + +
+   + + +

+Destructor. +

+ +

+Definition at line 37 of file constraint_debug.cpp. +

+References _Txt.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NLAISCRIPT::CConstraintDebug::addIndex int   i,
CCodeBrancheRun  c
[virtual]
+
+ + + + + +
+   + + +

+Fix the opCode adress. +

+It must be call before run(CCompilateur & c). WARNING : This function will self-destruct the constraint.

+Parameters:
+ + + +
i  +Index in the CCodeBrancheRun
c  +pointer to the CCodeBrancheRun
+
+

+Implements NLAISCRIPT::IConstraint. +

+Definition at line 47 of file constraint_debug.cpp. +

+References _Code, _I, _Lin, and NLAIC::IPointerGestion::release.

+

+ + + + +
+ + + + + + + + + +
const IConstraint * NLAISCRIPT::CConstraintDebug::clone   const [virtual]
+
+ + + + + +
+   + + +

+Get a clone pointer memory. +

+ +

+Implements NLAISCRIPT::IConstraint. +

+Definition at line 87 of file constraint_debug.cpp. +

+References _Col, _Lin, CConstraintDebug, NLAISCRIPT::IConstraint::IConstraint, and x.

+

+ + + + +
+ + + + + + + + + + +
bool NLAISCRIPT::CConstraintDebug::dependOn const IConstraint  const [virtual]
+
+ + + + + +
+   + + +

+Not used. +

+ +

+Implements NLAISCRIPT::IConstraint. +

+Definition at line 100 of file constraint_debug.cpp.

+

+ + + + +
+ + + + + + + + + +
int NLAISCRIPT::CConstraintDebug::getColone   const [inline, virtual]
+
+ + + + + +
+   + + +

+Get the opCode colone number in source texte. +

+ +

+Implements NLAISCRIPT::IConstraint. +

+Definition at line 85 of file constraint_debug.h. +

+References _Col.

+

+ + + + +
+ + + + + + + + + +
const NLAIC::CIdentType * NLAISCRIPT::CConstraintDebug::getConstraintTypeOf   [virtual]
+
+ + + + + +
+   + + +

+Not used. +

+ +

+Implements NLAISCRIPT::IConstraint. +

+Definition at line 82 of file constraint_debug.cpp.

+

+ + + + +
+ + + + + + + + + + +
void NLAISCRIPT::CConstraintDebug::getError char *   const [virtual]
+
+ + + + + +
+   + + +

+Get the error message. +

+ +

+Implements NLAISCRIPT::IConstraint. +

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

+References _Txt.

+

+ + + + +
+ + + + + + + + + +
const char * NLAISCRIPT::CConstraintDebug::getInfo   [virtual]
+
+ + + + + +
+   + + +

+Not used. +

+ +

+Implements NLAISCRIPT::IConstraint. +

+Definition at line 94 of file constraint_debug.cpp.

+

+ + + + +
+ + + + + + + + + +
int NLAISCRIPT::CConstraintDebug::getLine   const [inline, virtual]
+
+ + + + + +
+   + + +

+Get the opCode line number in source texte. +

+ +

+Implements NLAISCRIPT::IConstraint. +

+Definition at line 82 of file constraint_debug.h. +

+References _Lin.

+

+ + + + +
+ + + + + + + + + +
ConstraintTypeEnum NLAISCRIPT::CConstraintDebug::getTypeOfClass   const [inline, virtual]
+
+ + + + + +
+   + + +

+get the type of class. the type must be in the ConstraintTypeEnum enumeration. +

+ +

+Implements NLAISCRIPT::IConstraint. +

+Definition at line 67 of file constraint_debug.h. +

+References NLAISCRIPT::IConstraint::constraintDebug, and NLAISCRIPT::IConstraint::ConstraintTypeEnum.

+

+ + + + +
+ + + + + + + + + + +
bool NLAISCRIPT::CConstraintDebug::operator== const IConstraint  const [virtual]
+
+ + + + + +
+   + + +

+Not used. +

+ +

+Implements NLAISCRIPT::IConstraint. +

+Definition at line 76 of file constraint_debug.cpp.

+

+ + + + +
+ + + + + + + + + + +
void NLAISCRIPT::CConstraintDebug::run IConstraint  c [virtual]
+
+ + + + + +
+   + + +

+Run with a IConstraint dependency. +

+ +

+Implements NLAISCRIPT::IConstraint. +

+Definition at line 65 of file constraint_debug.cpp. +

+References _Satisfied.

+

+ + + + +
+ + + + + + + + + + +
void NLAISCRIPT::CConstraintDebug::run CCompilateur  c [virtual]
+
+ + + + + +
+   + + +

+Run with a CCompilateur dependency. +

+ +

+Implements NLAISCRIPT::IConstraint. +

+Definition at line 60 of file constraint_debug.cpp. +

+References _Satisfied.

+

+ + + + +
+ + + + + + + + + +
bool NLAISCRIPT::CConstraintDebug::satisfied   [virtual]
+
+ + + + + +
+   + + +

+If the constraint is resolved. +

+ +

+Implements NLAISCRIPT::IConstraint. +

+Definition at line 42 of file constraint_debug.cpp. +

+References _Satisfied.

+


Member Data Documentation

+

+ + + + +
+ + +
CCodeBrancheRun* NLAISCRIPT::CConstraintDebug::_Code [private] +
+
+ + + + + +
+   + + +

+Index in the CCodeBrancheRun. +

+ +

+Definition at line 48 of file constraint_debug.h. +

+Referenced by addIndex, and CConstraintDebug.

+

+ + + + +
+ + +
int NLAISCRIPT::CConstraintDebug::_Col [private] +
+
+ + + + + +
+   + + +

+OpCode line number in source texte. +

+ +

+Definition at line 46 of file constraint_debug.h. +

+Referenced by clone, and getColone.

+

+ + + + +
+ + +
int NLAISCRIPT::CConstraintDebug::_I [private] +
+
+ + + + + +
+   + + +

+OpCode colone number in source texte. +

+ +

+Definition at line 47 of file constraint_debug.h. +

+Referenced by addIndex.

+

+ + + + +
+ + +
int NLAISCRIPT::CConstraintDebug::_Lin [private] +
+
+ + + + + +
+   + + +

+Is the constraint satified ? +

+ +

+Definition at line 45 of file constraint_debug.h. +

+Referenced by addIndex, clone, and getLine.

+

+ + + + +
+ + +
bool NLAISCRIPT::CConstraintDebug::_Satisfied [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 44 of file constraint_debug.h. +

+Referenced by run, and satisfied.

+

+ + + + +
+ + +
char* NLAISCRIPT::CConstraintDebug::_Txt [private] +
+
+ + + + + +
+   + + +

+Pointer to the CCodeBrancheRun. +

+ +

+Definition at line 49 of file constraint_debug.h. +

+Referenced by CConstraintDebug, getError, and ~CConstraintDebug.

+


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