Dicop::Data::Charset - a charset


Dicop-Server documentation  | view source Contained in the Dicop-Server distribution.

Index


NAME

Top

Dicop::Data::Charset - a charset

SYNOPSIS

Top

    use Dicop::Data::Charset;

REQUIRES

Top

perl5.005, Exporter, Dicop::Item, Dicop, Math::String, Math::String::Charset

EXPORTS

Top

Exports nothing on default.

DESCRIPTION

Top

For a description of fields a charset has, see doc/Objects.pod.

METHODS

Top

check()

Perform an internal check and return '' for okay, otherwise an error message.

check_strings()
	my $error = $charset->check_string();

Check that start and end are valid strings. Returns error message or empty string.

charset()

Return the internal Math::String::Charset object.

type()

Return the type of the charset as string.

check_strings()
	$error = $self->check_strings ($hash, @keys);

Take a hash reference and a list of keys. For each of the keys in the hash, check that it is an object of the underlying charset (Math::String, usually).

If not, create an object out of it.

BUGS

Top

None known yet.

AUTHOR

Top

(c) Bundesamt fuer Sicherheit in der Informationstechnik 1998-2006

DiCoP is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

See http://www.bsi.de/ for more information.


Dicop-Server documentation  | view source Contained in the Dicop-Server distribution.