Class mib_compiler

Description

Asn1Objects

Base class for all Asn1Objects. This is only intended to support a specific subset of ASN1 stuff as defined by the RFCs to keep things as simple as possible.

Located in /mib_compiler.php (line 51)


	
			
Variable Summary
 mixed $outfile
 mixed $parsed
Method Summary
 mib_compiler mib_compiler ()
 void add_mib (string $filename)
 void add_mibs (string $path)
 void compile ()
 array get_tokens (string $text)
 void parse (string $mibtext, [boolean $full = false])
 array parse_bracket_token (array $tokens, integer &$index, integer $start, integer $end)
 array parse_simple_token (array $tokens, integer &$index, [array $allowed = NULL])
 array parse_SYNTAX_token (array $tokens, integer &$index)
Variables
mixed $outfile = 'oid_format.data' (line 54)
mixed $parsed = array() (line 53)
Methods
Constructor mib_compiler (line 59)

Constructor

mib_compiler mib_compiler ()
add_mib (line 84)

Add a mib

void add_mib (string $filename)
  • string $filename
add_mibs (line 68)

Add mibs

void add_mibs (string $path)
  • string $path
compile (line 93)

Compile mibs

void compile ()
get_tokens (line 207)

Get Tokens

array get_tokens (string $text)
  • string $text
parse (line 139)

Parse a MIB file

void parse (string $mibtext, [boolean $full = false])
  • string $mibtext
  • boolean $full
parse_bracket_token (line 417)

Parse bracket token

array parse_bracket_token (array $tokens, integer &$index, integer $start, integer $end)
  • array $tokens
  • integer $index
  • integer $start
  • integer $end
parse_simple_token (line 318)

Parse simple token

array parse_simple_token (array $tokens, integer &$index, [array $allowed = NULL])
  • array $tokens
  • integer $index
  • array $allowed
parse_SYNTAX_token (line 343)

Parse SYNTAX token

array parse_SYNTAX_token (array $tokens, integer &$index)
  • array $tokens
  • integer $index

Documentation generated on Mon, 14 Nov 2005 17:54:52 -0700 by phpDocumentor 1.3.0RC3