Changeset 632 for trunk/idldoc/src/doc_system__define.pro
- Timestamp:
- 02/26/10 13:14:41 (2 years ago)
- Files:
-
- 1 modified
-
trunk/idldoc/src/doc_system__define.pro (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/idldoc/src/doc_system__define.pro
r629 r632 79 79 'system': return, self 80 80 81 'idldoc_version': return, self. version81 'idldoc_version': return, self.idldoc_version 82 82 'charset': return, self.charset 83 83 'date': return, systime() … … 99 99 'output_root': return, self.output 100 100 'relative_root': return, '' 101 102 'has_author_info': return, self.hasAuthorInfo 103 104 'has_author': return, obj_valid(self.author) 105 'author': return, self->processComments(self.author) 106 'plain_author': return, self->processPlainComments(self.author) 107 108 'has_copyright': return, obj_valid(self.copyright) 109 'copyright': return, self->processComments(self.copyright) 110 111 'has_history': return, obj_valid(self.history) 112 'history': return, self->processComments(self.history) 113 114 'has_version': return, obj_valid(self.version) 115 'version': return, self->processComments(self.version) 101 116 102 117 'n_dirs': return, self.directories->count() … … 292 307 ; Set properties of the system. 293 308 ;- 294 pro doc_system::setProperty, overview_comments=overviewComments 309 pro doc_system::setProperty, overview_comments=overviewComments, $ 310 author=author, copyright=copyright, $ 311 history=history, version=version 295 312 compile_opt strictarr, hidden 296 313 … … 298 315 self.overviewComments = overviewComments 299 316 endif 317 318 ; "author info" attributes 319 if (n_elements(author) gt 0) then begin 320 self.hasAuthorInfo = 1B 321 self.author = author 322 endif 323 324 if (n_elements(copyright) gt 0) then begin 325 self.hasAuthorInfo = 1B 326 self.copyright = copyright 327 endif 328 329 if (n_elements(history) gt 0) then begin 330 self.hasAuthorInfo = 1B 331 self.history = history 332 endif 333 334 if (n_elements(version) gt 0) then begin 335 self.hasAuthorInfo = 1B 336 self.version = version 337 endif 300 338 end 301 339 … … 377 415 compile_opt strictarr, hidden 378 416 379 msg = ['IDLdoc ' + self. version, $417 msg = ['IDLdoc ' + self.idldoc_version, $ 380 418 '', $ 381 419 'Usage:', $ … … 1158 1196 if (nCategories gt 0) then obj_destroy, categoryLists 1159 1197 obj_destroy, self.categories 1160 1198 1199 obj_destroy, [self.author, self.copyright, self.history, self.version] 1200 1161 1201 obj_destroy, self.overviewComments 1162 1202 … … 1273 1313 compile_opt strictarr, hidden 1274 1314 1275 self. version = idldoc_version()1315 self.idldoc_version = idldoc_version() 1276 1316 1277 1317 self.isTty = keyword_set(colorOutputlog) ? 1B : self->_findIfTty() 1278 1318 1279 1319 if (keyword_set(version)) then begin 1280 self->print, 'IDLdoc ' + self. version1320 self->print, 'IDLdoc ' + self.idldoc_version 1281 1321 return, 0 1282 1322 endif … … 1467 1507 ; 1468 1508 ; :Fields: 1469 ; version1509 ; idldoc_version 1470 1510 ; IDLdoc version 1471 1511 ; root … … 1528 1568 1529 1569 define = { DOC_System, $ 1530 version: '', $1570 idldoc_version: '', $ 1531 1571 1532 1572 root: '', $ … … 1539 1579 1540 1580 sourceLocation: '', $ 1541 1581 1582 hasAuthorInfo: 0B, $ 1583 author: obj_new(), $ 1584 copyright: obj_new(), $ 1585 history: obj_new(), $ 1586 version: obj_new(), $ 1587 1542 1588 directories: obj_new(), $ 1543 1589
