ILIAS  release_4-4 Revision
HFile_c Class Reference
+ Inheritance diagram for HFile_c:
+ Collaboration diagram for HFile_c:

Public Member Functions

 HFile_c ()
 
 donothing ($keywordin)
 
- Public Member Functions inherited from HFile
 HFile ()
 
 parse_file ($file)
 
 to_perl ($stub, $tofile=1)
 
 to_php ($stub, $tofile=1)
 
 _get_categories ()
 
 _dump_linkscripts ()
 
 _dump_perl_linkscripts ()
 
 _dump_perl_defaultscripts ()
 
 _dump_colours ()
 
 _dump_var ($variable, $name)
 
 _dump_array ($array, $name)
 
 _dump_perl_array ($array, $name)
 
 _dump_hash ($hash, $name)
 
 _dump_perl_hash ($hash, $name)
 

Detailed Description

Definition at line 5 of file HFile_c.php.

Member Function Documentation

◆ donothing()

HFile_c::donothing (   $keywordin)

Definition at line 765 of file HFile_c.php.

766 {
767  return $keywordin;
768 }

◆ HFile_c()

HFile_c::HFile_c ( )

Definition at line 7 of file HFile_c.php.

References HFile\HFile().

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

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