ILIAS  Release_4_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
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

HFile_c::donothing (   $keywordin)

Definition at line 765 of file HFile_c.php.

{
return $keywordin;
}
HFile_c::HFile_c ( )

Definition at line 7 of file HFile_c.php.

References HFile\HFile().

{
$this->HFile();
/*************************************/
// Beautifier Highlighting Configuration File
// C/C++
/*************************************/
// Flags
$this->nocase = "0";
$this->notrim = "0";
$this->perl = "0";
// Colours
$this->colours = array("blue", "purple", "gray", "brown", "blue");
$this->quotecolour = "blue";
$this->blockcommentcolour = "green";
$this->linecommentcolour = "green";
// Indent Strings
$this->indent = array("{");
$this->unindent = array("}");
// String characters and delimiters
$this->stringchars = array("\"", "'");
$this->delimiters = array("~", "!", "@", "%", "^", "&", "*", "(", ")", "-", "+", "=", "|", "\\", "/", "{", "}", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", " ", ".", "?", " ");
$this->escchar = "\\";
// Comment settings
$this->linecommenton = array("//");
$this->blockcommenton = array("/*");
$this->blockcommentoff = array("*/");
$this->prepro = "#";
$this->preprocolour = "purple";
// Keywords (keyword mapping to colour number)
$this->keywords = array(
"auto" => "1",
"break" => "1",
"case" => "1",
"char" => "1",
"const" => "1",
"continue" => "1",
"default" => "1",
"dllexport2" => "1",
"dllimport2" => "1",
"do" => "1",
"double" => "1",
"else" => "1",
"enum" => "1",
"extern" => "1",
"float" => "1",
"for" => "1",
"goto" => "1",
"if" => "1",
"int" => "1",
"long" => "1",
"register" => "1",
"return" => "1",
"short" => "1",
"signed" => "1",
"sizeof" => "1",
"static" => "1",
"struct" => "1",
"switch" => "1",
"thread2" => "1",
"typedef" => "1",
"union" => "1",
"unsigned" => "1",
"void" => "1",
"volatile" => "1",
"while" => "1",
"__asm" => "1",
"__based1" => "1",
"__cdecl" => "1",
"__declspec" => "1",
"__except" => "1",
"__fastcall" => "1",
"__finally" => "1",
"__inline" => "1",
"__int16" => "1",
"__int32" => "1",
"__int64" => "1",
"__int8" => "1",
"__leave" => "1",
"__stdcall" => "1",
"__try" => "1",
"class" => "2",
"delete" => "2",
"dllexport" => "2",
"dllimport" => "2",
"friend" => "2",
"inline" => "2",
"namespace" => "2",
"new" => "2",
"operator" => "2",
"private" => "2",
"protected" => "2",
"public" => "2",
"template" => "2",
"this" => "2",
"thread" => "2",
"try" => "2",
"using" => "2",
"virtual" => "2",
"__multiple_inheritance" => "2",
"__single_inheritance" => "2",
"__virtual_inheritance" => "2",
"__emit__" => "3",
"_atold" => "3",
"_bios_disk" => "3",
"_bios_equiplist" => "3",
"_bios_keybrd" => "3",
"_bios_memsize" => "3",
"_bios_printer" => "3",
"_bios_serialcom" => "3",
"_bios_timeofday" => "3",
"_c_exit" => "3",
"_cexit" => "3",
"_chain_intr" => "3",
"_chdrive" => "3",
"_chmod" => "3",
"_clear87" => "3",
"_close" => "3",
"_control87" => "3",
"_creat" => "3",
"_disable" => "3",
"_dos_allocmem" => "3",
"_dos_close" => "3",
"_dos_creat" => "3",
"_dos_creatnew" => "3",
"_dos_findfirst" => "3",
"_dos_findnext" => "3",
"_dos_freemem" => "3",
"_dos_getdate" => "3",
"_dos_getdiskfree" => "3",
"_dos_getdrive" => "3",
"_dos_getfileattr" => "3",
"_dos_getftime" => "3",
"_dos_gettime" => "3",
"_dos_getvect" => "3",
"_dos_keep" => "3",
"_dos_open" => "3",
"_dos_read" => "3",
"_dos_setblock" => "3",
"_dos_setdate" => "3",
"_dos_setdrive" => "3",
"_dos_setfileattr" => "3",
"_dos_setftime" => "3",
"_dos_settime" => "3",
"_dos_setvect" => "3",
"_dos_write" => "3",
"_enable" => "3",
"_exit" => "3",
"_fmemccpy" => "3",
"_fmemchr" => "3",
"_fmemcmp" => "3",
"_fmemcpy" => "3",
"_fmemicmp" => "3",
"_fmemset" => "3",
"_fpreset" => "3",
"_fsopen" => "3",
"_fstrcat" => "3",
"_fstrchr" => "3",
"_fstrcmp" => "3",
"_fstrcpy" => "3",
"_fstrcspn" => "3",
"_fstrdup" => "3",
"_fstricmp" => "3",
"_fstrlen" => "3",
"_fstrlwr" => "3",
"_fstrncat" => "3",
"_fstrncmp" => "3",
"_fstrncpy" => "3",
"_fstrnicmp" => "3",
"_fstrnset" => "3",
"_fstrpbrk" => "3",
"_fstrrchr" => "3",
"_fstrrev" => "3",
"_fstrset" => "3",
"_fstrspn" => "3",
"_fstrstr" => "3",
"_fstrtok" => "3",
"_fstrupr" => "3",
"_fullpath" => "3",
"_getdcwd" => "3",
"_getdrive" => "3",
"_graphfreemem" => "3",
"_graphgetmem" => "3",
"_harderr" => "3",
"_hardresume" => "3",
"_hardretn" => "3",
"_lrotl" => "3",
"_lrotr" => "3",
"_makepath" => "3",
"_matherrl" => "3",
"_open" => "3",
"_OvrInitEms" => "3",
"_OvrInitExt" => "3",
"_read" => "3",
"_rotl" => "3",
"_rotr" => "3",
"_searchenv" => "3",
"_setcursortype" => "3",
"_splitpath" => "3",
"_status87" => "3",
"_strdate" => "3",
"_strerror" => "3",
"_strtime" => "3",
"_strtold" => "3",
"_tolower" => "3",
"_toupper" => "3",
"_write" => "3",
"FP_OFF" => "3",
"FP_SEG" => "3",
"MK_FP" => "3",
"abort" => "3",
"abs" => "3",
"absread" => "3",
"abswrite" => "3",
"access" => "3",
"acos" => "3",
"acosl" => "3",
"allocmem" => "3",
"arc" => "3",
"arg" => "3",
"asctime" => "3",
"asin" => "3",
"asinl" => "3",
"assert" => "3",
"atan" => "3",
"atan2" => "3",
"atan2l" => "3",
"atanl" => "3",
"atexit" => "3",
"atof" => "3",
"atoi" => "3",
"atol" => "3",
"bar" => "3",
"bar3d" => "3",
"bcd" => "3",
"bdos" => "3",
"bdosptr" => "3",
"bioscom" => "3",
"biosdisk" => "3",
"biosequip" => "3",
"bioskey" => "3",
"biosmemory" => "3",
"biosprint" => "3",
"biostime" => "3",
"brk" => "3",
"bsearch" => "3",
"cabs" => "3",
"cabsl" => "3",
"calloc" => "3",
"ceil" => "3",
"ceill" => "3",
"cgets" => "3",
"chdir" => "3",
"chmod" => "3",
"chsize" => "3",
"circle" => "3",
"cleardevice" => "3",
"clearerr" => "3",
"clearviewport" => "3",
"clock" => "3",
"close" => "3",
"closedir" => "3",
"closegraph" => "3",
"clreol" => "3",
"clrscr" => "3",
"complex" => "3",
"conj" => "3",
"coreleft" => "3",
"cos" => "3",
"cosh" => "3",
"coshl" => "3",
"cosl" => "3",
"country" => "3",
"cprintf" => "3",
"cputs" => "3",
"creat" => "3",
"creatnew" => "3",
"creattemp" => "3",
"cscanf" => "3",
"ctime" => "3",
"ctrlbrk" => "3",
"cout" => "3",
"cin" => "3",
"cerr" => "3",
"delay" => "3",
"delline" => "3",
"detectgraph" => "3",
"difftime" => "3",
"disable" => "3",
"div" => "3",
"dosexterr" => "3",
"dostounix" => "3",
"drawpoly" => "3",
"dup" => "3",
"dup2" => "3",
"ecvt" => "3",
"ellipse" => "3",
"enable" => "3",
"eof" => "3",
"execl" => "3",
"execle" => "3",
"execlp" => "3",
"execlpe" => "3",
"execv" => "3",
"execve" => "3",
"execvp" => "3",
"execvpe" => "3",
"exit" => "3",
"exp" => "3",
"expl" => "3",
"fabs" => "3",
"fabsl" => "3",
"farcalloc" => "3",
"farcoreleft" => "3",
"farfree" => "3",
"farheapcheck" => "3",
"farheapcheckfree" => "3",
"farheapchecknode" => "3",
"farheapfillfree" => "3",
"farheapwalk" => "3",
"farmalloc" => "3",
"farrealloc" => "3",
"fclose" => "3",
"fcloseall" => "3",
"fcvt" => "3",
"fdopen" => "3",
"feof" => "3",
"ferror" => "3",
"fflush" => "3",
"fgetc" => "3",
"fgetchar" => "3",
"fgetpos" => "3",
"fgets" => "3",
"filelength" => "3",
"fileno" => "3",
"fillellipse" => "3",
"fillpoly" => "3",
"findfirst" => "3",
"findnext" => "3",
"floodfill" => "3",
"floor" => "3",
"floorl" => "3",
"flushall" => "3",
"fmod" => "3",
"fmodl" => "3",
"fnmerge" => "3",
"fnsplit" => "3",
"fopen" => "3",
"fprintf" => "3",
"fputc" => "3",
"fputchar" => "3",
"fputs" => "3",
"fread" => "3",
"free" => "3",
"freemem" => "3",
"freopen" => "3",
"frexp" => "3",
"frexpl" => "3",
"fscanf" => "3",
"fseek" => "3",
"fsetpos" => "3",
"fstat" => "3",
"ftell" => "3",
"ftime" => "3",
"fwrite" => "3",
"gcvt" => "3",
"geninterrupt" => "3",
"getarccoords" => "3",
"getaspectratio" => "3",
"getbkcolor" => "3",
"getc" => "3",
"getcbrk" => "3",
"getch" => "3",
"getchar" => "3",
"getche" => "3",
"getcolor" => "3",
"getcurdir" => "3",
"getcwd" => "3",
"getdate" => "3",
"getdefaultpalette" => "3",
"getdfree" => "3",
"getdisk" => "3",
"getdrivername" => "3",
"getdta" => "3",
"getenv" => "3",
"getfat" => "3",
"getfatd" => "3",
"getfillpattern" => "3",
"getfillsettings" => "3",
"getftime" => "3",
"getgraphmode" => "3",
"getimage" => "3",
"getlinesettings" => "3",
"getmaxcolor" => "3",
"getmaxmode" => "3",
"getmaxx" => "3",
"getmaxy" => "3",
"getmodename" => "3",
"getmoderange" => "3",
"getpalette" => "3",
"getpalettesize" => "3",
"getpass" => "3",
"getpid" => "3",
"getpixel" => "3",
"getpsp" => "3",
"gets" => "3",
"gettext" => "3",
"gettextinfo" => "3",
"gettextsettings" => "3",
"gettime" => "3",
"getvect" => "3",
"getverify" => "3",
"getviewsettings" => "3",
"getw" => "3",
"getx" => "3",
"gety" => "3",
"gmtime" => "3",
"gotoxy" => "3",
"graphdefaults" => "3",
"grapherrormsg" => "3",
"graphresult" => "3",
"harderr" => "3",
"hardresume" => "3",
"hardretn" => "3",
"heapcheck" => "3",
"heapcheckfree" => "3",
"heapchecknode" => "3",
"heapfillfree" => "3",
"heapwalk" => "3",
"highvideo" => "3",
"hypot" => "3",
"hypotl" => "3",
"imag" => "3",
"imagesize" => "3",
"initgraph" => "3",
"inp" => "3",
"inport" => "3",
"inportb" => "3",
"inpw" => "3",
"insline" => "3",
"installuserdriver" => "3",
"installuserfont" => "3",
"int86" => "3",
"int86x" => "3",
"intdos" => "3",
"intdosx" => "3",
"intr" => "3",
"ioctl" => "3",
"isalnum" => "3",
"isalpha" => "3",
"isascii" => "3",
"isatty" => "3",
"iscntrl" => "3",
"isdigit" => "3",
"isgraph" => "3",
"islower" => "3",
"isprint" => "3",
"ispunct" => "3",
"isspace" => "3",
"isupper" => "3",
"isxdigit" => "3",
"itoa" => "3",
"kbhit" => "3",
"keep" => "3",
"labs" => "3",
"ldexp" => "3",
"ldexpl" => "3",
"ldiv" => "3",
"lfind" => "3",
"line" => "3",
"linerel" => "3",
"lineto" => "3",
"localeconv" => "3",
"localtime" => "3",
"lock" => "3",
"locking" => "3",
"log" => "3",
"log10" => "3",
"log10l" => "3",
"logl" => "3",
"longjmp" => "3",
"lowvideo" => "3",
"lsearch" => "3",
"lseek" => "3",
"ltoa" => "3",
"malloc" => "3",
"matherr" => "3",
"max" => "3",
"mblen" => "3",
"mbstowcs" => "3",
"mbtowc" => "3",
"memccpy" => "3",
"memchr" => "3",
"memcmp" => "3",
"memcpy" => "3",
"memicmp" => "3",
"memmove" => "3",
"memset" => "3",
"min" => "3",
"mkdir" => "3",
"mktemp" => "3",
"mktime" => "3",
"modf" => "3",
"modfl" => "3",
"movedata" => "3",
"moverel" => "3",
"movetext" => "3",
"moveto" => "3",
"movmem" => "3",
"norm" => "3",
"normvideo" => "3",
"nosound" => "3",
"open" => "3",
"opendir" => "3",
"outp" => "3",
"outport" => "3",
"outportb" => "3",
"outpw" => "3",
"outtext" => "3",
"outtextxy" => "3",
"parsfnm" => "3",
"peek" => "3",
"peekb" => "3",
"perror" => "3",
"pieslice" => "3",
"poke" => "3",
"pokeb" => "3",
"polar" => "3",
"poly" => "3",
"polyl" => "3",
"pow" => "3",
"pow10" => "3",
"pow10l" => "3",
"powl" => "3",
"printf" => "3",
"putc" => "3",
"putch" => "3",
"putchar" => "3",
"putenv" => "3",
"putimage" => "3",
"putpixel" => "3",
"puts" => "3",
"puttext" => "3",
"putw" => "3",
"qsort" => "3",
"raise" => "3",
"rand" => "3",
"randbrd" => "3",
"randbwr" => "3",
"random" => "3",
"randomize" => "3",
"read" => "3",
"readdir" => "3",
"real" => "3",
"realloc" => "3",
"rectangle" => "3",
"registerbgidriver" => "3",
"registerbgifont" => "3",
"registerfarbgidriver" => "3",
"registerfarbgifont" => "3",
"remove" => "3",
"rename" => "3",
"restorecrtmode" => "3",
"rewind" => "3",
"rewinddir" => "3",
"rmdir" => "3",
"rmtmp" => "3",
"sbrk" => "3",
"scanf" => "3",
"searchpath" => "3",
"sector" => "3",
"segread" => "3",
"set_new_handler" => "3",
"setactivepage" => "3",
"setallpalette" => "3",
"setaspectratio" => "3",
"setbkcolor" => "3",
"setblock" => "3",
"setbuf" => "3",
"setcbrk" => "3",
"setcolor" => "3",
"setdate" => "3",
"setdisk" => "3",
"setdta" => "3",
"setfillpattern" => "3",
"setfillstyle" => "3",
"setftime" => "3",
"setgraphbufsize" => "3",
"setgraphmode" => "3",
"setjmp" => "3",
"setlinestyle" => "3",
"setlocale" => "3",
"setmem" => "3",
"setmode" => "3",
"setpalette" => "3",
"setrgbpalette" => "3",
"settextjustify" => "3",
"settextstyle" => "3",
"settime" => "3",
"setusercharsize" => "3",
"setvbuf" => "3",
"setvect" => "3",
"setverify" => "3",
"setviewport" => "3",
"setvisualpage" => "3",
"setwritemode" => "3",
"signal" => "3",
"sin" => "3",
"sinh" => "3",
"sinhl" => "3",
"sinl" => "3",
"sleep" => "3",
"sopen" => "3",
"sound" => "3",
"spawnl" => "3",
"spawnle" => "3",
"spawnlp" => "3",
"spawnlpe" => "3",
"spawnv" => "3",
"spawnve" => "3",
"spawnvp" => "3",
"spawnvpe" => "3",
"sprintf" => "3",
"sqrt" => "3",
"sqrtl" => "3",
"srand" => "3",
"sscanf" => "3",
"stackavail" => "3",
"stat" => "3",
"stime" => "3",
"stpcpy" => "3",
"strcat" => "3",
"strchr" => "3",
"strcmp" => "3",
"strcmpi" => "3",
"strcoll" => "3",
"strcpy" => "3",
"strcspn" => "3",
"strdup" => "3",
"strerror" => "3",
"strftime" => "3",
"stricmp" => "3",
"strlen" => "3",
"strlwr" => "3",
"strncat" => "3",
"strncmp" => "3",
"strncmpi" => "3",
"strncpy" => "3",
"strnicmp" => "3",
"strnset" => "3",
"strpbrk" => "3",
"strrchr" => "3",
"strrev" => "3",
"strset" => "3",
"strspn" => "3",
"strstr" => "3",
"strtod" => "3",
"strtok" => "3",
"strtol" => "3",
"strtoul" => "3",
"strupr" => "3",
"strxfrm" => "3",
"swab" => "3",
"system" => "3",
"tan" => "3",
"tanh" => "3",
"tanhl" => "3",
"tanl" => "3",
"tell" => "3",
"tempnam" => "3",
"textattr" => "3",
"textbackground" => "3",
"textcolor" => "3",
"textheight" => "3",
"textmode" => "3",
"textwidth" => "3",
"time" => "3",
"tmpfile" => "3",
"tmpnam" => "3",
"toascii" => "3",
"tolower" => "3",
"toupper" => "3",
"tzset" => "3",
"ultoa" => "3",
"umask" => "3",
"ungetc" => "3",
"ungetch" => "3",
"unixtodos" => "3",
"unlink" => "3",
"unlock" => "3",
"utime" => "3",
"va_arg" => "3",
"va_end" => "3",
"va_list" => "3",
"va_start" => "3",
"vfprintf" => "3",
"vfscanf" => "3",
"vprintf" => "3",
"vscanf" => "3",
"vsprintf" => "3",
"vsscanf" => "3",
"wcstombs" => "3",
"wctomb" => "3",
"wherex" => "3",
"wherey" => "3",
"window" => "3",
"write" => "3",
"#define" => "4",
"#error" => "4",
"#include" => "4",
"#elif" => "4",
"#if" => "4",
"#line" => "4",
"#else" => "4",
"#ifdef" => "4",
"#pragma" => "4",
"#endif" => "4",
"#ifndef" => "4",
"#undef" => "4",
"+" => "5",
"-" => "5",
"=" => "5",
"//" => "5",
"/" => "5",
"%" => "5",
"&" => "5",
">" => "5",
"<" => "5",
"^" => "5",
"!" => "5",
"|" => "5");
// Special extensions
// Each category can specify a PHP function that returns an altered
// version of the keyword.
$this->linkscripts = array(
"1" => "donothing",
"2" => "donothing",
"3" => "donothing",
"4" => "donothing",
"5" => "donothing");
}

+ Here is the call graph for this function:


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