NAME
DOCSIS::ConfigFile::Syminfo - Symbolinfo for a DOCSIS config-file
VERSION
See DOCSIS::ConfigFile
SYNOPSIS
use DOCSIS::ConfigFile::Syminfo;
my @objs = DOCSIS::ConfigFile::Syminfo->from_id($ID);
my $obj = DOCSIS::ConfigFile::Syminfo->from_code($CODE, $PCODE);
See The @SYMBOL_TABLE
in this sourcefile for possible values.
CLASS METHODS
add_symbol
$class->add_symbol(\%row);
METHODS
from_id
@objs = $self->from_id($ID);
Returns one DOCSIS::ConfigFile::Syminfo
objects, which might point to siblings.
from_code
$obj = $self->from_code($CODE, $PCODE);
Returns one DOCSIS::ConfigFile::Syminfo
object.
id
Returns the identifier. Returns "" on error.
code
Returns the DOCSIS code. Returns -1 on error.
pcode
Returns the DOCSIS parent code. Returns -1 on error.
func
Returns the name of the function to be used when decoding/encoding. Returns "" on error.
l_limit
Returns the lower limit numeric value. Returns -1 on error.
u_limit
Returns the upper limit numeric value. Returns -1 on error.
length
Tells how many bytes long the length is.
siblings
Used with from_id(): Gives multiple objects, with the same ID.
undef_row
Returns a row template
FUNCTIONS
cmts_mic_codes
Returns a list of all the codes that defines the CMTS MIC.
byte_size(type)
Returns the number of bytes a type takes.