File Coverage

blib/lib/StateML/Class.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package StateML::Class;
2              
3             $VERSION = 0.000_1;
4              
5             =head1 NAME
6              
7             StateML::Class - An abstract class object for StateML
8              
9             =head1 SYNOPSIS
10              
11             =head1 DESCRIPTION
12              
13             StateML files (.stml files) support an instance-based inheritence scheme
14             that allows any object to inherit from one or more parent objects of
15             its type or of type .
16              
17             The object is an untyped base object that allows inheritance
18             from objects that may carry any attribute and which will not appear
19             on the graph.
20              
21             Someday, a object may contain zero or one real objects which
22             will not appear on the graph but which carry attributes and values that
23             will be searched for.
24              
25             This takes effect for all scalar attributes at run-time (as opposed to
26             compile time).
27              
28             List attributes (...) are not affected
29             quite yet. Not sure how to allow mixins vs. replacements in
30             derived objects.
31              
32             The special class "#DEFAULT" is the base class of any object with no
33             explicit base classes.
34              
35             NOTE: Not all attributes are good about searching up the class hierarchy
36             at this time.
37              
38             =cut
39              
40 4     4   5218 use strict;
  4         7  
  4         124  
41              
42 4     4   17 use base qw( StateML::Object ) ;
  4         8  
  4         713  
43              
44             =head1 LIMITATIONS
45              
46             =head1 COPYRIGHT
47              
48             Copyright 2003, R. Barrie Slaymaker, Jr., All Rights Reserved
49              
50             =head1 LICENSE
51              
52             You may use this module under the terms of the BSD, Artistic, or GPL licenses,
53             any version.
54              
55             =head1 AUTHOR
56              
57             Barrie Slaymaker
58              
59             =cut
60              
61             1;