ILIAS  Release_3_10_x_branch Revision 61812
 All Data Structures Namespaces Files Functions Variables Groups Pages
HFile_netcdf Class Reference
+ Inheritance diagram for HFile_netcdf:
+ Collaboration diagram for HFile_netcdf:

Public Member Functions

 HFile_netcdf ()
 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_netcdf.php.

Member Function Documentation

HFile_netcdf::donothing (   $keywordin)

Definition at line 86 of file HFile_netcdf.php.

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

Definition at line 6 of file HFile_netcdf.php.

References HFile\HFile().

{
$this->HFile();
/*************************************/
// Beautifier Highlighting Configuration File
// netCDF CDL 3.3
/*************************************/
// Flags
$this->nocase = "0";
$this->notrim = "0";
$this->perl = "0";
// Colours
$this->colours = array("blue", "purple", "gray");
$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("");
// Keywords (keyword mapping to colour number)
$this->keywords = array(
"data" => "1",
"dimensions" => "1",
"netcdf" => "1",
"variables" => "1",
"byte" => "2",
"char" => "2",
"double" => "2",
"float" => "2",
"int" => "2",
"long" => "2",
"real" => "2",
"short" => "2",
"C_format" => "3",
"Conventions" => "3",
"add_offset" => "3",
"history" => "3",
"long_name" => "3",
"missing_value" => "3",
"scale_factor" => "3",
"signedness" => "3",
"title" => "3",
"units" => "3",
"valid_max" => "3",
"valid_min" => "3",
"valid_range" => "3",
"_FillValue" => "3");
// 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");
}

+ Here is the call graph for this function:


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