| 1 |
|
|---|
| 2 |
|
|---|
| 3 | ///////////////////////////////////////////////////////////////////////////
|
|---|
| 4 | // Proceso de limpieza de TOL previo al desarrollo de OISS
|
|---|
| 5 | ///////////////////////////////////////////////////////////////////////////
|
|---|
| 6 |
|
|---|
| 7 | El propósito fundamental del presente proceso de limpieza de TOL es dejar una versión de TOL algo más despejada de elementos estériles y confusos así como prepararla para el desarrollo de sistemas OISS que le den una mayor agilidad y robustez a los proyectos desarrollados en TOL, de forma que dé tiempo al equipo de desarrollo a diseñar e implementar un nuevo lenguaje TOL sin bloquear por ello a los analistas de forma excesiva.
|
|---|
| 8 |
|
|---|
| 9 | En términos del código C++, el objetivo principal era más que nada disponer los templates básicos adecuados para más adelante poder instanciar objetos TOL serializables de forma indexada y probablemente utilizando memoria externa, lo cual se consigue bássicamente virtualizando los métodos principales de los objetos Name, Description, Contens, etc.; y esa ha sido mi principal labor. Sin embargo aprovechando el tirón le he dado un repasito general a TOL haciendo esa limpieza de la que tanto habíamos hablado, eliminando campos superfluos e incorporándolos eventualmente en su lugar correspondiente en la jerarquía de clases. A las clases BText y sobretodo BSet también les he dado un hachazo importante.
|
|---|
| 10 |
|
|---|
| 11 | Como efecto colateral se consigue que desaparezcan algunos errores en la recompilación, especialmente de funciones TOL de usuario, y una disminución de en torno a un 40% de la memoria usada por TOL y un pequeño aumento de la velocidad que en modo alguno alguno justificarían el trabajo hecho, el cual cobra sentido sólo por el hecho de conseguir una jerarquía de clases más limpia y potente.
|
|---|
| 12 |
|
|---|
| 13 | El principal problema de memoria se debe a que los objetos siguen sin borrarse convenientemente como deberían debido al lío que supone el tratamiento de las referencias vía BList y BSet, las cuales llevan bastante mala vida, pues se manipulan en exeso a veces, además de las llamadas directas a InNRefs y DecNRefs. He mejorado parcialmente esto devolvíéndose ahora bastante más memoria que antes por lo que en algunas ocasiones, cuando se hacen procesos repetitivos muy pesados, el ahorro de memoria puede ser brutal.
|
|---|
| 14 |
|
|---|
| 15 | Sin embargo, en el momento en el que se produzca cualquier pequeño desorden en los procesos de destrucción se empiezan a quedar objetos huérfanos de lista que les pueda ordenar destruirse y por eso pasa lo que pasa. Eso es realmente muy complicado de detectar sin tener casos de código TOL sencillo que reproduzcan y aislen los problemas por lo que no he dedicado apenas tiempo a ello aunque algo sí ha mejorado la situación. En cualquer caso es algo a lo que no merece la pena dedicarle tiempo a no ser que salte algo a la vista en cuaquier momento.
|
|---|
| 16 |
|
|---|
| 17 | Además este problema quedará salvado, o al menos paliado en gran medida, con el desarrollo de OISS, en cuanto disponga del tiempo necesario para ello.
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 | ///////////////////////////////////////////////////////////////////////////
|
|---|
| 23 | //Basic objects related changes
|
|---|
| 24 | ///////////////////////////////////////////////////////////////////////////
|
|---|
| 25 | bbasic/tol_batom.h :
|
|---|
| 26 | -virtual methods IsDeadObj and System are been downloaded from BSyntaxObject to this level to allow a best memory tracing
|
|---|
| 27 |
|
|---|
| 28 | bbasic/atm.cpp :
|
|---|
| 29 | -Changed memory trace handling
|
|---|
| 30 |
|
|---|
| 31 | bbasic/tol_barray.h :
|
|---|
| 32 | -Constant factor 2 for Add reallocation replaced by ReallocMarginFactor defined as 1.2
|
|---|
| 33 |
|
|---|
| 34 | bbasic/txt.cpp :
|
|---|
| 35 | -BText::defectSize_ = 0 instead of old unused value of 64, due to constant 1 was used;
|
|---|
| 36 |
|
|---|
| 37 | bbasic/tol_btext.h
|
|---|
| 38 | bbasic/txt.cpp
|
|---|
| 39 | bbasic/tol_bdir.h
|
|---|
| 40 | bbasic/dir.cpp
|
|---|
| 41 | bbasic/dirtext.cpp
|
|---|
| 42 | bbasic/tol_bopt.h
|
|---|
| 43 | bbasic/opt.cpp
|
|---|
| 44 | bbasic/opttext.cpp
|
|---|
| 45 | bparser/par.cpp : Now BText doesn't inherites from BAtom. To insert strings in lists BObject will be used.
|
|---|
| 46 |
|
|---|
| 47 | bbasic/tol_btimer.h
|
|---|
| 48 | bbasic/timer.cpp : New access functions to miliseconds and string formated of process elapsed time
|
|---|
| 49 |
|
|---|
| 50 |
|
|---|
| 51 | ///////////////////////////////////////////////////////////////////////////
|
|---|
| 52 | //Math objects related changes
|
|---|
| 53 | ///////////////////////////////////////////////////////////////////////////
|
|---|
| 54 | bmath/bstat/stat.cpp:
|
|---|
| 55 | -Frequency(...) must divide in just n parts instead of n+1
|
|---|
| 56 |
|
|---|
| 57 | ///////////////////////////////////////////////////////////////////////////
|
|---|
| 58 | //Kernel-grammar related changes
|
|---|
| 59 | ///////////////////////////////////////////////////////////////////////////
|
|---|
| 60 | btol/bgrammar/tol_bstruct.h
|
|---|
| 61 | btol/bgrammar/str.cpp : BField inherites from BObject instead of BSyntaxObject
|
|---|
| 62 |
|
|---|
| 63 | btol/bgrammar/tol_bgrammar.h
|
|---|
| 64 | btol/bgrammar/graacc.cpp : New IsAutoContens() method of grammars to be used in future
|
|---|
| 65 |
|
|---|
| 66 | btol/bgrammar/graimp.cpp
|
|---|
| 67 | Unparsing is used just in Evaluate(BText expression) instead of Evaluate(BTree tree) to save memory and process time.
|
|---|
| 68 |
|
|---|
| 69 |
|
|---|
| 70 | ///////////////////////////////////////////////////////////////////////////
|
|---|
| 71 | //Syntax-hierarchy related changes
|
|---|
| 72 | ///////////////////////////////////////////////////////////////////////////
|
|---|
| 73 | btol/bgrammar/tol_bsyntax.h
|
|---|
| 74 | btol/bgrammar/syn.cpp
|
|---|
| 75 | btol/bgrammar/tol_bgrammar.h
|
|---|
| 76 | btol/bgrammar/graacc.cpp
|
|---|
| 77 | btol/bgrammar/tol_bmethod.h
|
|---|
| 78 | btol/bgrammar/met.cpp :
|
|---|
| 79 | -Unused class BSyntaxImage and related functions has been eliminated
|
|---|
| 80 |
|
|---|
| 81 | btol/bgrammar/tol_bsyntax.h
|
|---|
| 82 | btol/bgrammar/tol_bgencon.h
|
|---|
| 83 | btol/bgrammar/tol_bgenobj.h
|
|---|
| 84 | btol/lang/language.cpp :
|
|---|
| 85 | -Boolean members system_, released_, calculated_, and calculating_ are compacted in a protected bit-struct flags_ member at BSyntaxObject using just a byte all together
|
|---|
| 86 |
|
|---|
| 87 | tol_bcommon.h,
|
|---|
| 88 | btol/bgrammar/tol_bsyntax.h
|
|---|
| 89 | btol/bgrammar/syn.cpp :
|
|---|
| 90 | -BSyntaxObject Mode constants are moved to tol_bsyntax.h
|
|---|
| 91 |
|
|---|
| 92 | btol/bgrammar/tol_bsyntax.h
|
|---|
| 93 | lang/language.cpp:
|
|---|
| 94 | -flags_.system_ is set to true for all BSyntaxObjects until TOLHasBeenInitialized() return true, when InitGrammars ends
|
|---|
| 95 |
|
|---|
| 96 | btol/bgrammar/tol_bsyntax.h
|
|---|
| 97 | btol/bgrammar/syn.cpp:
|
|---|
| 98 | -Old BSyntaxObject tolPath_ is restricted to BSetFromFile to be used in new method ParentPath() to access to path of the file where the object was created in.
|
|---|
| 99 | -New BSynObjOptInfo class to optional storement of name_, description_, localName_ and parent_ in BSyntaxObject just when needed
|
|---|
| 100 | -Changed memory trace handling
|
|---|
| 101 |
|
|---|
| 102 | btol/bgrammar/tol_bgentmp.h
|
|---|
| 103 | btol/bgrammar/tol_bgencon.h
|
|---|
| 104 | btol/bgrammar/tol_bgenobj.h
|
|---|
| 105 | lang/language.cpp :
|
|---|
| 106 | -class BRenamed is eliminated
|
|---|
| 107 | -BRenamedGen is renamed as BRefObject
|
|---|
| 108 | -In BTmpObject args_ member is now a BList* instead of a BSet and a short card_, and BSyntaxObject** array_ are used to accelerate accesses to arguments.
|
|---|
| 109 | -New template classes has been inserted in *Contens* template hierarchy
|
|---|
| 110 | ·A new template BGraContensBase<Any> without contens_ to save memory when is this member is not needed and allowing virtual access to it
|
|---|
| 111 | ·A new template BGraContensFND<Any,Name_,Description_> usefull to returned objects by built-in functions saving memory in each instance
|
|---|
| 112 | ·A new temlpate BCopyContens<Any> to use instead of BRenContens<Any> to low size types as Real, Complex, Date, Text, Polyn, Ration. This objects copy the contens of referenced object and try to destroy it. If nos possible destroyer is delayed to the live end of encapsulating object
|
|---|
| 113 |
|
|---|
| 114 | btol\matrix_type\matgra.cpp
|
|---|
| 115 | btol\set_type\setgra.cpp
|
|---|
| 116 | btol\bgrammar\tol_bgentmp.h:
|
|---|
| 117 | -Access to BSet BTmpObject<Any>::Args() must be replaced by BList* ArgList() or DupArgList()
|
|---|
| 118 |
|
|---|
| 119 | btol\bmonte\mc-integrator.cpp
|
|---|
| 120 | btol\matrix_type\matgra.cpp
|
|---|
| 121 | btol\real_type\armseval.cpp
|
|---|
| 122 | btol\real_type\datgrapr.cpp
|
|---|
| 123 | btol\real_type\datgrast.cpp
|
|---|
| 124 | btol\real_type\datgrav.cpp
|
|---|
| 125 | btol\set_type\setgra.cpp
|
|---|
| 126 | btol\timeset_type\tmsgrav.cpp
|
|---|
| 127 | btol\bgrammar\tol_bgentmp.h:
|
|---|
| 128 | lang\language.cpp
|
|---|
| 129 | -Access to BSet BTmpObject<Any>::Args().Card() must be replaced by NumArgs()
|
|---|
| 130 |
|
|---|
| 131 | btol\bmonte\mc-integrator.cpp
|
|---|
| 132 | btol\cseries_type\ctsrgra.cpp
|
|---|
| 133 | btol\matrix_type\multimin.cpp
|
|---|
| 134 | btol\serie_type\tsrgra.cpp
|
|---|
| 135 | btol\set_type\setgra.cpp
|
|---|
| 136 | btol\bgrammar\tol_bgencon.h
|
|---|
| 137 | btol\bgrammar\tol_bgenobj.h
|
|---|
| 138 | btol\bgrammar\tol_bsyntax.h
|
|---|
| 139 | btol\set_type\tol_bsetgra.h:
|
|---|
| 140 | lang\language.cpp
|
|---|
| 141 | -Access to BSyntaxObject or inherited boolean members system_, released_, calculated_, and calculating_ must be changed to flags_.* or BSyntaxObject::Put* functions
|
|---|
| 142 |
|
|---|
| 143 | btol\matrix_type\matgra.cpp
|
|---|
| 144 | btol\real_type\datgra.cpp
|
|---|
| 145 | btol\real_type\datgsrst.cpp
|
|---|
| 146 | btol\text_type\txtgra.cpp
|
|---|
| 147 | lang\language.cpp
|
|---|
| 148 | -BSystem* objects that shouldn't be system constants are changed to BUser* to inherite from BGraContens<Any> instead of undeletable system class BGraConstant<Any>
|
|---|
| 149 |
|
|---|
| 150 |
|
|---|
| 151 | ///////////////////////////////////////////////////////////////////////////
|
|---|
| 152 | //TOL Functions and Code-type related changes
|
|---|
| 153 | ///////////////////////////////////////////////////////////////////////////
|
|---|
| 154 | btol/bgrammar/tol_boper.h
|
|---|
| 155 | btol/bgrammar/opr.cpp :
|
|---|
| 156 | -New BOperator::AddSystemOperator() to control different creating processes of built-in and user functions that were never deleted internally
|
|---|
| 157 |
|
|---|
| 158 | btol/bgrammar/met.cpp :
|
|---|
| 159 | -New bool BuildingMethod() function to special treatment of overloading of method's functions
|
|---|
| 160 |
|
|---|
| 161 | btol/bgrammar/txthash.cpp :
|
|---|
| 162 | -Fixed forbidden accesses to code->Contens() for non BUSerFunction objects
|
|---|
| 163 | -When BuildingMethod() is false Mode() must be equal to so.Mode() to match
|
|---|
| 164 |
|
|---|
| 165 | btol/code_type/tol_bcode.h
|
|---|
| 166 | btol/code_type/cod.cpp :
|
|---|
| 167 | -Internal BCode::operator_ is changed from BUserFunction* to BStandardOperator*
|
|---|
| 168 |
|
|---|
| 169 | btol/code_type/tol_bcodgra.h :
|
|---|
| 170 | -BUserFunCode::Mode() is changed to BOBJECTMODE instead of BUSERFUNMODE that is reserved to internal operators
|
|---|
| 171 | -Unused class BCodeCreator is eliminated
|
|---|
| 172 |
|
|---|
| 173 |
|
|---|
| 174 | ///////////////////////////////////////////////////////////////////////////
|
|---|
| 175 | //Set-type related changes
|
|---|
| 176 | ///////////////////////////////////////////////////////////////////////////
|
|---|
| 177 | btol\bdb\bdb.cpp
|
|---|
| 178 | btol\bdb\bdspool.cpp
|
|---|
| 179 | btol\bgrammar\graimp.cpp
|
|---|
| 180 | btol\bgrammar\spfuninst.cpp
|
|---|
| 181 | btol\bmodel\aia.cpp
|
|---|
| 182 | btol\bmodel\estim.cpp
|
|---|
| 183 | btol\bmodel\foread.cpp
|
|---|
| 184 | btol\bmodel\modcalc.cpp
|
|---|
| 185 | btol\bmodel\model.cpp
|
|---|
| 186 | btol\bmonte\mc-integrator.cpp
|
|---|
| 187 | btol\matrix_type\matgra.cpp
|
|---|
| 188 | btol\matrix_type\multimin.cpp
|
|---|
| 189 | btol\polynomial_type\polgra.cpp
|
|---|
| 190 | btol\real_type\datgrast.cpp
|
|---|
| 191 | btol\set_type\set.cpp
|
|---|
| 192 | btol\set_type\setgra.cpp
|
|---|
| 193 | btol\set_type\tol_bset.h
|
|---|
| 194 | btol\text_type\txtgra.cpp
|
|---|
| 195 | lang\language.cpp :
|
|---|
| 196 | -At BSet class BList* element_ is eliminated. When a list is needed a copy is available through ToList()
|
|---|
| 197 | -Access to BSet BTmpObject<Any>::Args() must be replaced by BList* ArgList() or DupArgList()
|
|---|
| 198 | -New class BGraContensFNDSet<BSet, Name_, Description_> inherited from BGraContensFND<Any,Name_,Description_> to allow special constructors of bulit-in functions returned sets
|
|---|
| 199 | -BSet constructor from BList* and operator= to BList* are eliminated to replace in this case by PutElement or RobElement
|
|---|
| 200 |
|
|---|
| 201 |
|
|---|
| 202 | ///////////////////////////////////////////////////////////////////////////
|
|---|
| 203 | //Real-type related changes
|
|---|
| 204 | ///////////////////////////////////////////////////////////////////////////
|
|---|
| 205 | btol/real_type/datgra.cpp
|
|---|
| 206 | bbasic/out.cpp :
|
|---|
| 207 | -New controls about number of errors and warnings exported to TOL user
|
|---|
| 208 |
|
|---|
| 209 |
|
|---|
| 210 | ///////////////////////////////////////////////////////////////////////////
|
|---|
| 211 | //Complex-type related changes
|
|---|
| 212 | ///////////////////////////////////////////////////////////////////////////
|
|---|
| 213 | btol/complex_type/cmpgra.cpp :
|
|---|
| 214 | -BCmpConstant* i_ is changed to BParamCmp
|
|---|
| 215 |
|
|---|
| 216 |
|
|---|
| 217 | ///////////////////////////////////////////////////////////////////////////
|
|---|
| 218 | //Serie-type related changes
|
|---|
| 219 | ///////////////////////////////////////////////////////////////////////////
|
|---|
| 220 | btol/serie_type/tol_btmser.h
|
|---|
| 221 | btol/serie_type/tsrgra.cpp :
|
|---|
| 222 | -dating_ nRefs_ is not touched by BTimeSerie because is non needed feature.
|
|---|
| 223 | -unused hashDat_ member has been eliminated
|
|---|
| 224 |
|
|---|
| 225 | btol\bdb\bdb.cpp
|
|---|
| 226 | btol\bdb\bdspool.cpp
|
|---|
| 227 | btol\bmodel\modprev.cpp
|
|---|
| 228 | btol\serie_type\srg.cpp
|
|---|
| 229 | btol\serie_type\tsr.cpp:
|
|---|
| 230 | btol\serie_type\tsrgra.cpp:
|
|---|
| 231 | btol\serie_type\tsrgrav.cpp:
|
|---|
| 232 | btol\serie_type\tol_btmser.h:
|
|---|
| 233 | btol\serie_type\tol_btsrgrp.h
|
|---|
| 234 | btol\set_type\setgra.cpp:
|
|---|
| 235 | -BData data_ is now really protected eliminating GetDataBuffer() access
|
|---|
| 236 | -New BTimeSerie member functions PutBufDat to change a dat, or Realloc, Alloc and Delete to manage memory
|
|---|
| 237 | bmath/mathobjects/tol_bdat.h
|
|---|
| 238 | bmath/mathobjects/dat.cpp:
|
|---|
| 239 | -New BData class inherited from BArray<BDat> to control Time Series used volume
|
|---|
| 240 |
|
|---|
| 241 |
|
|---|
| 242 | btol\bdb\bdspool.cpp
|
|---|
| 243 | btol\bmodel\estim.cpp
|
|---|
| 244 | btol\bmodel\modcalc.cpp
|
|---|
| 245 | btol\bmodel\tol_bmodel.h
|
|---|
| 246 | btol\matrix_type\matgra.cpp
|
|---|
| 247 | btol\real_type\datgra.cpp
|
|---|
| 248 | btol\real_type\datgsrst.cpp
|
|---|
| 249 | btol\serie_type\srg.cpp
|
|---|
| 250 | btol\serie_type\tol_btsrgrp.h
|
|---|
| 251 | btol\serie_type\tsrgrai.cpp
|
|---|
| 252 | btol\text_type\txtgra.cpp
|
|---|
| 253 | lang\language.cpp
|
|---|
| 254 | -BSerieGroup and BSerieTable use now a BArray<BUserTimeSerie*> instead of a BSet to store Series in order to avoid secondary effects of references over them
|
|---|
| 255 | -Now the only one creator for BSerieGroup and BSerieTable has no arguments.
|
|---|
| 256 | -Then you can add a Serie, a BList*, a BSet or another BSerieGroup or BSerieTable
|
|---|
| 257 | -After you can use BSerieGroup to prepare operations between series or test dating and date bounds of a collection of series
|
|---|
| 258 | or you can filla BSerieTable with data from collected series.
|
|---|
| 259 |
|
|---|
| 260 | btol/bmodel/foread.cpp
|
|---|
| 261 | btol/bmodel/modcalc.cpp
|
|---|
| 262 | btol/bmodel/model.cpp
|
|---|
| 263 | btol/bmodel/tol_bmodel.h
|
|---|
| 264 | -BList* outLst_ and inLst_ are eliminated from BModel to apply new BSerieTable advantages
|
|---|
| 265 |
|
|---|
| 266 |
|
|---|
| 267 | ///////////////////////////////////////////////////////////////////////////
|
|---|
| 268 | //Console related changes
|
|---|
| 269 | ///////////////////////////////////////////////////////////////////////////
|
|---|
| 270 | lang/language.cpp :
|
|---|
| 271 | -revisited commands and user help for interactive console mode of tol.exe
|
|---|
| 272 |
|
|---|
| 273 |
|
|---|
| 274 |
|
|---|
| 275 | sizeof(BAtom)=8
|
|---|
| 276 | sizeof(BSyntaxObject)=16
|
|---|
| 277 | sizeof(BText)=12
|
|---|
| 278 | sizeof(BGraContens < BText >)=28
|
|---|
| 279 | sizeof(BGraConstant< BText >)=28
|
|---|
| 280 | sizeof(BRenContens < BText >)=20
|
|---|
| 281 | sizeof(BCopyContens < BText >)=32
|
|---|
| 282 | sizeof(BTmpContens < BText >)=40
|
|---|
| 283 | sizeof(BDat)=16
|
|---|
| 284 | sizeof(BGraContens < BDat >)=32
|
|---|
| 285 | sizeof(BGraConstant< BDat >)=32
|
|---|
| 286 | sizeof(BRenContens < BDat >)=20
|
|---|
| 287 | sizeof(BCopyContens < BDat >)=40
|
|---|
| 288 | sizeof(BTmpContens < BDat >)=48
|
|---|
| 289 | sizeof(BDate)=32
|
|---|
| 290 | sizeof(BGraContens < BDate >)=48
|
|---|
| 291 | sizeof(BGraConstant< BDate >)=48
|
|---|
| 292 | sizeof(BRenContens < BDate >)=20
|
|---|
| 293 | sizeof(BCopyContens < BDate >)=56
|
|---|
| 294 | sizeof(BTmpContens < BDate >)=64
|
|---|
| 295 | sizeof(BCode)=4
|
|---|
| 296 | sizeof(BGraContens < BCode >)=20
|
|---|
| 297 | sizeof(BGraConstant< BCode >)=20
|
|---|
| 298 | sizeof(BRenContens < BCode >)=20
|
|---|
| 299 | sizeof(BCopyContens < BCode >)=24
|
|---|
| 300 | sizeof(BTmpContens < BCode >)=32
|
|---|
| 301 | sizeof(BSet)=20
|
|---|
| 302 | sizeof(BGraContens < BSet >)=36
|
|---|
| 303 | sizeof(BGraConstant< BSet >)=36
|
|---|
| 304 | sizeof(BRenContens < BSet >)=20
|
|---|
| 305 | sizeof(BCopyContens < BSet >)=40
|
|---|
| 306 | sizeof(BTmpContens < BSet >)=48
|
|---|
| 307 | sizeof(BMatrix<BDat>)=44
|
|---|
| 308 | sizeof(BGraContens < BMatrix<BDat> >)=60
|
|---|
| 309 | sizeof(BGraConstant< BMatrix<BDat> >)=60
|
|---|
| 310 | sizeof(BRenContens < BMatrix<BDat> >)=20
|
|---|
| 311 | sizeof(BCopyContens < BMatrix<BDat> >)=64
|
|---|
| 312 | sizeof(BTmpContens < BMatrix<BDat> >)=72
|
|---|
| 313 | sizeof(BComplex)=72
|
|---|
| 314 | sizeof(BGraContens < BComplex >)=88
|
|---|
| 315 | sizeof(BGraConstant< BComplex >)=88
|
|---|
| 316 | sizeof(BRenContens < BComplex >)=20
|
|---|
| 317 | sizeof(BCopyContens < BComplex >)=96
|
|---|
| 318 | sizeof(BTmpContens < BComplex >)=104
|
|---|
| 319 | sizeof(BPolyn < BDat >)=12
|
|---|
| 320 | sizeof(BGraContens < BPolyn < BDat > >)=28
|
|---|
| 321 | sizeof(BGraConstant< BPolyn < BDat > >)=28
|
|---|
| 322 | sizeof(BRenContens < BPolyn < BDat > >)=20
|
|---|
| 323 | sizeof(BCopyContens < BPolyn < BDat > >)=32
|
|---|
| 324 | sizeof(BTmpContens < BPolyn < BDat > >)=40
|
|---|
| 325 | sizeof(BRational < BDat >)=24
|
|---|
| 326 | sizeof(BGraContens < BRational < BDat > >)=40
|
|---|
| 327 | sizeof(BGraConstant< BRational < BDat > >)=40
|
|---|
| 328 | sizeof(BRenContens < BRational < BDat > >)=20
|
|---|
| 329 | sizeof(BCopyContens < BRational < BDat > >)=44
|
|---|
| 330 | sizeof(BTmpContens < BRational < BDat > >)=52
|
|---|
| 331 |
|
|---|
| 332 |
|
|---|
| 333 | ===================================================================
|
|---|
| 334 | ===================================================================
|
|---|
| 335 | ===================================================================
|
|---|
| 336 | Revisite
|
|---|
| 337 |
|
|---|
| 338 |
|
|---|
| 339 |
|
|---|
| 340 | bgrammar/txthash.cpp :
|
|---|
| 341 | if((Mode() == BUSERFUNMODE) && (so.Mode() == BUSERFUNMODE))
|
|---|
| 342 |
|
|---|
| 343 |
|
|---|
| 344 | ===================================================================
|
|---|
| 345 | RCS file: /home/cvsroot/tolp/tol/bbasic/tol_batom.h,v
|
|---|
| 346 | retrieving revision 1.1.1.1
|
|---|
| 347 | diff -r1.1.1.1 tol_batom.h
|
|---|
| 348 | 44c44
|
|---|
| 349 | < BInt nRefs_; //!< Number of atom references
|
|---|
| 350 | ---
|
|---|
| 351 | > unsigned short nRefs_; //!< Number of atom references
|
|---|
| 352 | 57c57
|
|---|
| 353 |
|
|---|
| 354 |
|
|---|
| 355 | ===================================================================
|
|---|
| 356 | RCS file: /home/cvsroot/tolp/tol/bbasic/tol_butil.h,v
|
|---|
| 357 | retrieving revision 1.1.1.1
|
|---|
| 358 | diff -r1.1.1.1 tol_butil.h
|
|---|
| 359 | 153a154,222
|
|---|
| 360 | >
|
|---|
| 361 | > //----------------------------------------------------------------------------
|
|---|
| 362 | > class TOL_API BUInt24
|
|---|
| 363 | > //----------------------------------------------------------------------------
|
|---|
| 364 |
|
|---|
| 365 |
|
|---|
| 366 | ===================================================================
|
|---|
| 367 | RCS file: /home/cvsroot/tolp/tol/bbasic/txtalgeb.cpp,v
|
|---|
| 368 | retrieving revision 1.6
|
|---|
| 369 | diff -r1.6 txtalgeb.cpp
|
|---|
| 370 | 1363c1363,1364
|
|---|
| 371 | < buffer_ = new BChar[size_ = maxChars+1];
|
|---|
| 372 | ---
|
|---|
| 373 | > size_ = maxChars+1;
|
|---|
| 374 | > buffer_ = new BChar[maxChars+1];
|
|---|
| 375 | 1378c1379,1380
|
|---|
| 376 | < BChar *newBuf = new BChar[size_=(1+length_*2)];
|
|---|
| 377 | ---
|
|---|
| 378 | > size_=(1+length_*2);
|
|---|
| 379 | > BChar *newBuf = new BChar[size_];
|
|---|
| 380 |
|
|---|
| 381 |
|
|---|
| 382 | Index: btol/bgrammar/gra.cpp
|
|---|
| 383 | ===================================================================
|
|---|
| 384 | RCS file: /home/cvsroot/tolp/tol/btol/bgrammar/gra.cpp,v
|
|---|
| 385 | retrieving revision 1.6
|
|---|
| 386 | diff -r1.6 gra.cpp
|
|---|
| 387 | 59a60
|
|---|
| 388 | > bool autoContens,
|
|---|
| 389 | 76a78
|
|---|
| 390 | > autoContens_(autoContens),
|
|---|
| 391 | 85c87
|
|---|
| 392 |
|
|---|
| 393 |
|
|---|
| 394 |
|
|---|
| 395 | ===================================================================
|
|---|
| 396 | Fallo del interfaz en proyectos
|
|---|
| 397 | [root]
|
|---|
| 398 | Children=1 2 3 4
|
|---|
| 399 | Description=Root node
|
|---|
| 400 | Exclude=0
|
|---|
| 401 | ExcludeTOL=0
|
|---|
| 402 | FileName=estimamg.prj
|
|---|
| 403 | Label=estimamg.prj
|
|---|
| 404 | Type=ROOT
|
|---|
| 405 | [1]
|
|---|
| 406 | Children=
|
|---|
| 407 | Description=Parámetros de la estimación
|
|---|
| 408 | Exclude=0
|
|---|
| 409 | ExcludeTOL=1
|
|---|
| 410 | FileName=paramicmg.tol
|
|---|
| 411 | Label=paramicmg.tol
|
|---|
| 412 | Type=TOL
|
|---|
| 413 | [2]
|
|---|
| 414 | Children=
|
|---|
| 415 | Description=Inicializa los parametros de la estimación, abre la conexión con la BBDD e incluye las funciones
|
|---|
| 416 | Exclude=0
|
|---|
| 417 | ExcludeTOL=1
|
|---|
| 418 | FileName=initestimationmg.tol
|
|---|
| 419 | Label=initestimationmg.tol
|
|---|
| 420 | Type=TOL
|
|---|
| 421 | [3]
|
|---|
| 422 | Children=
|
|---|
| 423 | Description=
|
|---|
| 424 | Exclude=0
|
|---|
| 425 | ExcludeTOL=0
|
|---|
| 426 | FileName=estimationmg.tol
|
|---|
| 427 | Label=estimationmg.tol
|
|---|
| 428 | Type=TOL
|
|---|
| 429 | [4]
|
|---|
| 430 | Children=
|
|---|
| 431 | Description=Cierra la conexión con la BDD
|
|---|
| 432 | Exclude=0
|
|---|
| 433 | ExcludeTOL=1
|
|---|
| 434 | FileName=../_end.tol
|
|---|
| 435 | Label=../_end.tol
|
|---|
| 436 | Type=TOL
|
|---|
| 437 | [Included TOL Files]
|
|---|
| 438 | Set estimamg.1=Include("paramicmg.tol");
|
|---|
| 439 | Set estimamg.2=Include("initestimationmg.tol");
|
|---|
| 440 | Set estimamg.3=Include("estimationmg.tol");
|
|---|
| 441 | Set estimamg.4=Include("../_end.tol");
|
|---|
| 442 |
|
|---|
| 443 |
|
|---|
| 444 |
|
|---|
| 445 | : BCTmsTemporary()
|
|---|
| 446 | {
|
|---|
| 447 | PutName(name);
|
|---|
| 448 | PutDescription(description);
|
|---|
| 449 | Grammar()->AddObject(this);
|
|---|
| 450 |
|
|---|
| 451 |
|
|---|
| 452 |
|
|---|
| 453 | {
|
|---|
| 454 | if(HasName()) {Grammar()->DelObject(this);}
|
|---|
| 455 | }
|
|---|
| 456 |
|
|---|
| 457 |
|
|---|
| 458 |
|
|---|
| 459 |
|
|---|
| 460 | Name: NObject
|
|---|
| 461 | Value: 21670
|
|---|
| 462 |
|
|---|
| 463 | Name: NCore
|
|---|
| 464 | Value: 798573
|
|---|
| 465 |
|
|---|
| 466 |
|
|---|
| 467 |
|
|---|
| 468 | Name: NObject
|
|---|
| 469 | Value: 13930
|
|---|
| 470 |
|
|---|
| 471 | Name: NCore
|
|---|
| 472 | Value: 389026
|
|---|
| 473 |
|
|---|