ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
HFile_c Class Reference
+ Inheritance diagram for HFile_c:
+ Collaboration diagram for HFile_c:

Public Member Functions

 __construct ()
 
 donothing ($keywordin)
 

Detailed Description

Definition at line 7 of file HFile_c.php.

Constructor & Destructor Documentation

◆ __construct()

HFile_c::__construct ( )

Definition at line 9 of file HFile_c.php.

10 {
11 parent::__construct();
12 /*************************************/
13 // Beautifier Highlighting Configuration File
14 // C/C++
15 /*************************************/
16 // Flags
17
18 $this->nocase = "0";
19 $this->notrim = "0";
20 $this->perl = "0";
21
22 // Colours
23
24 $this->colours = array("blue", "purple", "gray", "brown", "blue");
25 $this->quotecolour = "blue";
26 $this->blockcommentcolour = "green";
27 $this->linecommentcolour = "green";
28
29 // Indent Strings
30
31 $this->indent = array("{");
32 $this->unindent = array("}");
33
34 // String characters and delimiters
35
36 $this->stringchars = array("\"", "'");
37 $this->delimiters = array("~", "!", "@", "%", "^", "&", "*", "(", ")", "-", "+", "=", "|", "\\", "/", "{", "}", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", " ", ".", "?", " ");
38 $this->escchar = "\\";
39
40 // Comment settings
41
42 $this->linecommenton = array("//");
43 $this->blockcommenton = array("/*");
44 $this->blockcommentoff = array("*/");
45 $this->prepro = "#";
46 $this->preprocolour = "purple";
47
48 // Keywords (keyword mapping to colour number)
49
50 $this->keywords = array(
51 "auto" => "1",
52 "break" => "1",
53 "case" => "1",
54 "char" => "1",
55 "const" => "1",
56 "continue" => "1",
57 "default" => "1",
58 "dllexport2" => "1",
59 "dllimport2" => "1",
60 "do" => "1",
61 "double" => "1",
62 "else" => "1",
63 "enum" => "1",
64 "extern" => "1",
65 "float" => "1",
66 "for" => "1",
67 "goto" => "1",
68 "if" => "1",
69 "int" => "1",
70 "long" => "1",
71 "register" => "1",
72 "return" => "1",
73 "short" => "1",
74 "signed" => "1",
75 "sizeof" => "1",
76 "static" => "1",
77 "struct" => "1",
78 "switch" => "1",
79 "thread2" => "1",
80 "typedef" => "1",
81 "union" => "1",
82 "unsigned" => "1",
83 "void" => "1",
84 "volatile" => "1",
85 "while" => "1",
86 "__asm" => "1",
87 "__based1" => "1",
88 "__cdecl" => "1",
89 "__declspec" => "1",
90 "__except" => "1",
91 "__fastcall" => "1",
92 "__finally" => "1",
93 "__inline" => "1",
94 "__int16" => "1",
95 "__int32" => "1",
96 "__int64" => "1",
97 "__int8" => "1",
98 "__leave" => "1",
99 "__stdcall" => "1",
100 "__try" => "1",
101 "class" => "2",
102 "delete" => "2",
103 "dllexport" => "2",
104 "dllimport" => "2",
105 "friend" => "2",
106 "inline" => "2",
107 "namespace" => "2",
108 "new" => "2",
109 "operator" => "2",
110 "private" => "2",
111 "protected" => "2",
112 "public" => "2",
113 "template" => "2",
114 "this" => "2",
115 "thread" => "2",
116 "try" => "2",
117 "using" => "2",
118 "virtual" => "2",
119 "__multiple_inheritance" => "2",
120 "__single_inheritance" => "2",
121 "__virtual_inheritance" => "2",
122 "__emit__" => "3",
123 "_atold" => "3",
124 "_bios_disk" => "3",
125 "_bios_equiplist" => "3",
126 "_bios_keybrd" => "3",
127 "_bios_memsize" => "3",
128 "_bios_printer" => "3",
129 "_bios_serialcom" => "3",
130 "_bios_timeofday" => "3",
131 "_c_exit" => "3",
132 "_cexit" => "3",
133 "_chain_intr" => "3",
134 "_chdrive" => "3",
135 "_chmod" => "3",
136 "_clear87" => "3",
137 "_close" => "3",
138 "_control87" => "3",
139 "_creat" => "3",
140 "_disable" => "3",
141 "_dos_allocmem" => "3",
142 "_dos_close" => "3",
143 "_dos_creat" => "3",
144 "_dos_creatnew" => "3",
145 "_dos_findfirst" => "3",
146 "_dos_findnext" => "3",
147 "_dos_freemem" => "3",
148 "_dos_getdate" => "3",
149 "_dos_getdiskfree" => "3",
150 "_dos_getdrive" => "3",
151 "_dos_getfileattr" => "3",
152 "_dos_getftime" => "3",
153 "_dos_gettime" => "3",
154 "_dos_getvect" => "3",
155 "_dos_keep" => "3",
156 "_dos_open" => "3",
157 "_dos_read" => "3",
158 "_dos_setblock" => "3",
159 "_dos_setdate" => "3",
160 "_dos_setdrive" => "3",
161 "_dos_setfileattr" => "3",
162 "_dos_setftime" => "3",
163 "_dos_settime" => "3",
164 "_dos_setvect" => "3",
165 "_dos_write" => "3",
166 "_enable" => "3",
167 "_exit" => "3",
168 "_fmemccpy" => "3",
169 "_fmemchr" => "3",
170 "_fmemcmp" => "3",
171 "_fmemcpy" => "3",
172 "_fmemicmp" => "3",
173 "_fmemset" => "3",
174 "_fpreset" => "3",
175 "_fsopen" => "3",
176 "_fstrcat" => "3",
177 "_fstrchr" => "3",
178 "_fstrcmp" => "3",
179 "_fstrcpy" => "3",
180 "_fstrcspn" => "3",
181 "_fstrdup" => "3",
182 "_fstricmp" => "3",
183 "_fstrlen" => "3",
184 "_fstrlwr" => "3",
185 "_fstrncat" => "3",
186 "_fstrncmp" => "3",
187 "_fstrncpy" => "3",
188 "_fstrnicmp" => "3",
189 "_fstrnset" => "3",
190 "_fstrpbrk" => "3",
191 "_fstrrchr" => "3",
192 "_fstrrev" => "3",
193 "_fstrset" => "3",
194 "_fstrspn" => "3",
195 "_fstrstr" => "3",
196 "_fstrtok" => "3",
197 "_fstrupr" => "3",
198 "_fullpath" => "3",
199 "_getdcwd" => "3",
200 "_getdrive" => "3",
201 "_graphfreemem" => "3",
202 "_graphgetmem" => "3",
203 "_harderr" => "3",
204 "_hardresume" => "3",
205 "_hardretn" => "3",
206 "_lrotl" => "3",
207 "_lrotr" => "3",
208 "_makepath" => "3",
209 "_matherrl" => "3",
210 "_open" => "3",
211 "_OvrInitEms" => "3",
212 "_OvrInitExt" => "3",
213 "_read" => "3",
214 "_rotl" => "3",
215 "_rotr" => "3",
216 "_searchenv" => "3",
217 "_setcursortype" => "3",
218 "_splitpath" => "3",
219 "_status87" => "3",
220 "_strdate" => "3",
221 "_strerror" => "3",
222 "_strtime" => "3",
223 "_strtold" => "3",
224 "_tolower" => "3",
225 "_toupper" => "3",
226 "_write" => "3",
227 "FP_OFF" => "3",
228 "FP_SEG" => "3",
229 "MK_FP" => "3",
230 "abort" => "3",
231 "abs" => "3",
232 "absread" => "3",
233 "abswrite" => "3",
234 "access" => "3",
235 "acos" => "3",
236 "acosl" => "3",
237 "allocmem" => "3",
238 "arc" => "3",
239 "arg" => "3",
240 "asctime" => "3",
241 "asin" => "3",
242 "asinl" => "3",
243 "assert" => "3",
244 "atan" => "3",
245 "atan2" => "3",
246 "atan2l" => "3",
247 "atanl" => "3",
248 "atexit" => "3",
249 "atof" => "3",
250 "atoi" => "3",
251 "atol" => "3",
252 "bar" => "3",
253 "bar3d" => "3",
254 "bcd" => "3",
255 "bdos" => "3",
256 "bdosptr" => "3",
257 "bioscom" => "3",
258 "biosdisk" => "3",
259 "biosequip" => "3",
260 "bioskey" => "3",
261 "biosmemory" => "3",
262 "biosprint" => "3",
263 "biostime" => "3",
264 "brk" => "3",
265 "bsearch" => "3",
266 "cabs" => "3",
267 "cabsl" => "3",
268 "calloc" => "3",
269 "ceil" => "3",
270 "ceill" => "3",
271 "cgets" => "3",
272 "chdir" => "3",
273 "chmod" => "3",
274 "chsize" => "3",
275 "circle" => "3",
276 "cleardevice" => "3",
277 "clearerr" => "3",
278 "clearviewport" => "3",
279 "clock" => "3",
280 "close" => "3",
281 "closedir" => "3",
282 "closegraph" => "3",
283 "clreol" => "3",
284 "clrscr" => "3",
285 "complex" => "3",
286 "conj" => "3",
287 "coreleft" => "3",
288 "cos" => "3",
289 "cosh" => "3",
290 "coshl" => "3",
291 "cosl" => "3",
292 "country" => "3",
293 "cprintf" => "3",
294 "cputs" => "3",
295 "creat" => "3",
296 "creatnew" => "3",
297 "creattemp" => "3",
298 "cscanf" => "3",
299 "ctime" => "3",
300 "ctrlbrk" => "3",
301 "cout" => "3",
302 "cin" => "3",
303 "cerr" => "3",
304 "delay" => "3",
305 "delline" => "3",
306 "detectgraph" => "3",
307 "difftime" => "3",
308 "disable" => "3",
309 "div" => "3",
310 "dosexterr" => "3",
311 "dostounix" => "3",
312 "drawpoly" => "3",
313 "dup" => "3",
314 "dup2" => "3",
315 "ecvt" => "3",
316 "ellipse" => "3",
317 "enable" => "3",
318 "eof" => "3",
319 "execl" => "3",
320 "execle" => "3",
321 "execlp" => "3",
322 "execlpe" => "3",
323 "execv" => "3",
324 "execve" => "3",
325 "execvp" => "3",
326 "execvpe" => "3",
327 "exit" => "3",
328 "exp" => "3",
329 "expl" => "3",
330 "fabs" => "3",
331 "fabsl" => "3",
332 "farcalloc" => "3",
333 "farcoreleft" => "3",
334 "farfree" => "3",
335 "farheapcheck" => "3",
336 "farheapcheckfree" => "3",
337 "farheapchecknode" => "3",
338 "farheapfillfree" => "3",
339 "farheapwalk" => "3",
340 "farmalloc" => "3",
341 "farrealloc" => "3",
342 "fclose" => "3",
343 "fcloseall" => "3",
344 "fcvt" => "3",
345 "fdopen" => "3",
346 "feof" => "3",
347 "ferror" => "3",
348 "fflush" => "3",
349 "fgetc" => "3",
350 "fgetchar" => "3",
351 "fgetpos" => "3",
352 "fgets" => "3",
353 "filelength" => "3",
354 "fileno" => "3",
355 "fillellipse" => "3",
356 "fillpoly" => "3",
357 "findfirst" => "3",
358 "findnext" => "3",
359 "floodfill" => "3",
360 "floor" => "3",
361 "floorl" => "3",
362 "flushall" => "3",
363 "fmod" => "3",
364 "fmodl" => "3",
365 "fnmerge" => "3",
366 "fnsplit" => "3",
367 "fopen" => "3",
368 "fprintf" => "3",
369 "fputc" => "3",
370 "fputchar" => "3",
371 "fputs" => "3",
372 "fread" => "3",
373 "free" => "3",
374 "freemem" => "3",
375 "freopen" => "3",
376 "frexp" => "3",
377 "frexpl" => "3",
378 "fscanf" => "3",
379 "fseek" => "3",
380 "fsetpos" => "3",
381 "fstat" => "3",
382 "ftell" => "3",
383 "ftime" => "3",
384 "fwrite" => "3",
385 "gcvt" => "3",
386 "geninterrupt" => "3",
387 "getarccoords" => "3",
388 "getaspectratio" => "3",
389 "getbkcolor" => "3",
390 "getc" => "3",
391 "getcbrk" => "3",
392 "getch" => "3",
393 "getchar" => "3",
394 "getche" => "3",
395 "getcolor" => "3",
396 "getcurdir" => "3",
397 "getcwd" => "3",
398 "getdate" => "3",
399 "getdefaultpalette" => "3",
400 "getdfree" => "3",
401 "getdisk" => "3",
402 "getdrivername" => "3",
403 "getdta" => "3",
404 "getenv" => "3",
405 "getfat" => "3",
406 "getfatd" => "3",
407 "getfillpattern" => "3",
408 "getfillsettings" => "3",
409 "getftime" => "3",
410 "getgraphmode" => "3",
411 "getimage" => "3",
412 "getlinesettings" => "3",
413 "getmaxcolor" => "3",
414 "getmaxmode" => "3",
415 "getmaxx" => "3",
416 "getmaxy" => "3",
417 "getmodename" => "3",
418 "getmoderange" => "3",
419 "getpalette" => "3",
420 "getpalettesize" => "3",
421 "getpass" => "3",
422 "getpid" => "3",
423 "getpixel" => "3",
424 "getpsp" => "3",
425 "gets" => "3",
426 "gettext" => "3",
427 "gettextinfo" => "3",
428 "gettextsettings" => "3",
429 "gettime" => "3",
430 "getvect" => "3",
431 "getverify" => "3",
432 "getviewsettings" => "3",
433 "getw" => "3",
434 "getx" => "3",
435 "gety" => "3",
436 "gmtime" => "3",
437 "gotoxy" => "3",
438 "graphdefaults" => "3",
439 "grapherrormsg" => "3",
440 "graphresult" => "3",
441 "harderr" => "3",
442 "hardresume" => "3",
443 "hardretn" => "3",
444 "heapcheck" => "3",
445 "heapcheckfree" => "3",
446 "heapchecknode" => "3",
447 "heapfillfree" => "3",
448 "heapwalk" => "3",
449 "highvideo" => "3",
450 "hypot" => "3",
451 "hypotl" => "3",
452 "imag" => "3",
453 "imagesize" => "3",
454 "initgraph" => "3",
455 "inp" => "3",
456 "inport" => "3",
457 "inportb" => "3",
458 "inpw" => "3",
459 "insline" => "3",
460 "installuserdriver" => "3",
461 "installuserfont" => "3",
462 "int86" => "3",
463 "int86x" => "3",
464 "intdos" => "3",
465 "intdosx" => "3",
466 "intr" => "3",
467 "ioctl" => "3",
468 "isalnum" => "3",
469 "isalpha" => "3",
470 "isascii" => "3",
471 "isatty" => "3",
472 "iscntrl" => "3",
473 "isdigit" => "3",
474 "isgraph" => "3",
475 "islower" => "3",
476 "isprint" => "3",
477 "ispunct" => "3",
478 "isspace" => "3",
479 "isupper" => "3",
480 "isxdigit" => "3",
481 "itoa" => "3",
482 "kbhit" => "3",
483 "keep" => "3",
484 "labs" => "3",
485 "ldexp" => "3",
486 "ldexpl" => "3",
487 "ldiv" => "3",
488 "lfind" => "3",
489 "line" => "3",
490 "linerel" => "3",
491 "lineto" => "3",
492 "localeconv" => "3",
493 "localtime" => "3",
494 "lock" => "3",
495 "locking" => "3",
496 "log" => "3",
497 "log10" => "3",
498 "log10l" => "3",
499 "logl" => "3",
500 "longjmp" => "3",
501 "lowvideo" => "3",
502 "lsearch" => "3",
503 "lseek" => "3",
504 "ltoa" => "3",
505 "malloc" => "3",
506 "matherr" => "3",
507 "max" => "3",
508 "mblen" => "3",
509 "mbstowcs" => "3",
510 "mbtowc" => "3",
511 "memccpy" => "3",
512 "memchr" => "3",
513 "memcmp" => "3",
514 "memcpy" => "3",
515 "memicmp" => "3",
516 "memmove" => "3",
517 "memset" => "3",
518 "min" => "3",
519 "mkdir" => "3",
520 "mktemp" => "3",
521 "mktime" => "3",
522 "modf" => "3",
523 "modfl" => "3",
524 "movedata" => "3",
525 "moverel" => "3",
526 "movetext" => "3",
527 "moveto" => "3",
528 "movmem" => "3",
529 "norm" => "3",
530 "normvideo" => "3",
531 "nosound" => "3",
532 "open" => "3",
533 "opendir" => "3",
534 "outp" => "3",
535 "outport" => "3",
536 "outportb" => "3",
537 "outpw" => "3",
538 "outtext" => "3",
539 "outtextxy" => "3",
540 "parsfnm" => "3",
541 "peek" => "3",
542 "peekb" => "3",
543 "perror" => "3",
544 "pieslice" => "3",
545 "poke" => "3",
546 "pokeb" => "3",
547 "polar" => "3",
548 "poly" => "3",
549 "polyl" => "3",
550 "pow" => "3",
551 "pow10" => "3",
552 "pow10l" => "3",
553 "powl" => "3",
554 "printf" => "3",
555 "putc" => "3",
556 "putch" => "3",
557 "putchar" => "3",
558 "putenv" => "3",
559 "putimage" => "3",
560 "putpixel" => "3",
561 "puts" => "3",
562 "puttext" => "3",
563 "putw" => "3",
564 "qsort" => "3",
565 "raise" => "3",
566 "rand" => "3",
567 "randbrd" => "3",
568 "randbwr" => "3",
569 "random" => "3",
570 "randomize" => "3",
571 "read" => "3",
572 "readdir" => "3",
573 "real" => "3",
574 "realloc" => "3",
575 "rectangle" => "3",
576 "registerbgidriver" => "3",
577 "registerbgifont" => "3",
578 "registerfarbgidriver" => "3",
579 "registerfarbgifont" => "3",
580 "remove" => "3",
581 "rename" => "3",
582 "restorecrtmode" => "3",
583 "rewind" => "3",
584 "rewinddir" => "3",
585 "rmdir" => "3",
586 "rmtmp" => "3",
587 "sbrk" => "3",
588 "scanf" => "3",
589 "searchpath" => "3",
590 "sector" => "3",
591 "segread" => "3",
592 "set_new_handler" => "3",
593 "setactivepage" => "3",
594 "setallpalette" => "3",
595 "setaspectratio" => "3",
596 "setbkcolor" => "3",
597 "setblock" => "3",
598 "setbuf" => "3",
599 "setcbrk" => "3",
600 "setcolor" => "3",
601 "setdate" => "3",
602 "setdisk" => "3",
603 "setdta" => "3",
604 "setfillpattern" => "3",
605 "setfillstyle" => "3",
606 "setftime" => "3",
607 "setgraphbufsize" => "3",
608 "setgraphmode" => "3",
609 "setjmp" => "3",
610 "setlinestyle" => "3",
611 "setlocale" => "3",
612 "setmem" => "3",
613 "setmode" => "3",
614 "setpalette" => "3",
615 "setrgbpalette" => "3",
616 "settextjustify" => "3",
617 "settextstyle" => "3",
618 "settime" => "3",
619 "setusercharsize" => "3",
620 "setvbuf" => "3",
621 "setvect" => "3",
622 "setverify" => "3",
623 "setviewport" => "3",
624 "setvisualpage" => "3",
625 "setwritemode" => "3",
626 "signal" => "3",
627 "sin" => "3",
628 "sinh" => "3",
629 "sinhl" => "3",
630 "sinl" => "3",
631 "sleep" => "3",
632 "sopen" => "3",
633 "sound" => "3",
634 "spawnl" => "3",
635 "spawnle" => "3",
636 "spawnlp" => "3",
637 "spawnlpe" => "3",
638 "spawnv" => "3",
639 "spawnve" => "3",
640 "spawnvp" => "3",
641 "spawnvpe" => "3",
642 "sprintf" => "3",
643 "sqrt" => "3",
644 "sqrtl" => "3",
645 "srand" => "3",
646 "sscanf" => "3",
647 "stackavail" => "3",
648 "stat" => "3",
649 "stime" => "3",
650 "stpcpy" => "3",
651 "strcat" => "3",
652 "strchr" => "3",
653 "strcmp" => "3",
654 "strcmpi" => "3",
655 "strcoll" => "3",
656 "strcpy" => "3",
657 "strcspn" => "3",
658 "strdup" => "3",
659 "strerror" => "3",
660 "strftime" => "3",
661 "stricmp" => "3",
662 "strlen" => "3",
663 "strlwr" => "3",
664 "strncat" => "3",
665 "strncmp" => "3",
666 "strncmpi" => "3",
667 "strncpy" => "3",
668 "strnicmp" => "3",
669 "strnset" => "3",
670 "strpbrk" => "3",
671 "strrchr" => "3",
672 "strrev" => "3",
673 "strset" => "3",
674 "strspn" => "3",
675 "strstr" => "3",
676 "strtod" => "3",
677 "strtok" => "3",
678 "strtol" => "3",
679 "strtoul" => "3",
680 "strupr" => "3",
681 "strxfrm" => "3",
682 "swab" => "3",
683 "system" => "3",
684 "tan" => "3",
685 "tanh" => "3",
686 "tanhl" => "3",
687 "tanl" => "3",
688 "tell" => "3",
689 "tempnam" => "3",
690 "textattr" => "3",
691 "textbackground" => "3",
692 "textcolor" => "3",
693 "textheight" => "3",
694 "textmode" => "3",
695 "textwidth" => "3",
696 "time" => "3",
697 "tmpfile" => "3",
698 "tmpnam" => "3",
699 "toascii" => "3",
700 "tolower" => "3",
701 "toupper" => "3",
702 "tzset" => "3",
703 "ultoa" => "3",
704 "umask" => "3",
705 "ungetc" => "3",
706 "ungetch" => "3",
707 "unixtodos" => "3",
708 "unlink" => "3",
709 "unlock" => "3",
710 "utime" => "3",
711 "va_arg" => "3",
712 "va_end" => "3",
713 "va_list" => "3",
714 "va_start" => "3",
715 "vfprintf" => "3",
716 "vfscanf" => "3",
717 "vprintf" => "3",
718 "vscanf" => "3",
719 "vsprintf" => "3",
720 "vsscanf" => "3",
721 "wcstombs" => "3",
722 "wctomb" => "3",
723 "wherex" => "3",
724 "wherey" => "3",
725 "window" => "3",
726 "write" => "3",
727 "#define" => "4",
728 "#error" => "4",
729 "#include" => "4",
730 "#elif" => "4",
731 "#if" => "4",
732 "#line" => "4",
733 "#else" => "4",
734 "#ifdef" => "4",
735 "#pragma" => "4",
736 "#endif" => "4",
737 "#ifndef" => "4",
738 "#undef" => "4",
739 "+" => "5",
740 "-" => "5",
741 "=" => "5",
742 "//" => "5",
743 "/" => "5",
744 "%" => "5",
745 "&" => "5",
746 ">" => "5",
747 "<" => "5",
748 "^" => "5",
749 "!" => "5",
750 "|" => "5");
751
752 // Special extensions
753
754 // Each category can specify a PHP function that returns an altered
755 // version of the keyword.
756
757
758
759 $this->linkscripts = array(
760 "1" => "donothing",
761 "2" => "donothing",
762 "3" => "donothing",
763 "4" => "donothing",
764 "5" => "donothing");
765 }

Member Function Documentation

◆ donothing()

HFile_c::donothing (   $keywordin)

Definition at line 768 of file HFile_c.php.

769 {
770 return $keywordin;
771 }

The documentation for this class was generated from the following file: