NAME
Siebel::Srvrmgr::ListParser::Output::Tabular::Struct::Fixed - subclass to parse fixed width output from srvrmgr
DESCRIPTION
This class is a subclass of Siebel::Srvrmgr::ListParser::Output::Tabular::Struct to parse fixed width output from srvrmgr
.
ATTRIBUTES
fields_pattern
This is a read-only attribute which is defined internally by invoking the define_fields_pattern
method during parsing execution.
It is a string representing the pattern of the fields to be used with unpack
function.
METHODS
define_fields_pattern
Overrided from the parent class.
Based on the first two rows of a srvrmgr
output with fixed width format, it will define the fields pattern to be used with unpack
to retrieve the fields values.
Expects the "------------" line under the header with the fields names.
get_fields
Overrided from parent class.
Returns the fields values as an array reference.
Expects a string with fields values to be parsed.
SEE ALSO
AUTHOR
Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>.
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 of Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>.
This file is part of Siebel Monitoring Tools.
Siebel Monitoring Tools is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Siebel Monitoring Tools is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Siebel Monitoring Tools. If not, see http://www.gnu.org/licenses/.