Class::Data::Annotated - Data::Annotated wrapped objects


Class-Data-Annotated documentation  | view source Contained in the Class-Data-Annotated distribution.

Index


NAME

Top

    Class::Data::Annotated - Data::Annotated wrapped objects

SYNOPSIS

Top

    use Class::Data::Annotated;

    my $$obj = Class::Data::Annotated->new();

METHODS

Top

new()

instantiate an Annotated Data Structure

annotate($path, \%annotation)

annotate a peice of the data. if that piece does not exist it will return undef. Otherwise it returns the data annotated.

annotations

Returns a Data::Annotated object holding the dictionary of annotations for this object

get($path)

retrieves the data for this path in the object. returns undef if data location does not exist

get_annotation($path)

returns the annotations for the location in the data specified by the path.

data

Returns a Data::Path object holding the data in this object

INTERNAL METHODS

Top

_validate_path($path)

validates a Data::Path path.


Class-Data-Annotated documentation  | view source Contained in the Class-Data-Annotated distribution.