1MooseX::Types::Base(3)User Contributed Perl DocumentationMooseX::Types::Base(3)
2
3
4
6 MooseX::Types::Base - Type library base class
7
9 You normally won't need to interact with this class by yourself. It is
10 merely a collection of functionality that type libraries need to
11 interact with moose and the rest of the MooseX::Types module.
12
14 import
15 Provides the import mechanism for your library. See "LIBRARY USAGE" in
16 MooseX::Types for syntax details on this.
17
18 get_type
19 This returns a type from the library's store by its name.
20
21 type_names
22 Returns a list of all known types by their name.
23
24 add_type
25 Adds a new type to the library.
26
27 has_type
28 Returns true or false depending on if this library knows a type by that
29 name.
30
31 type_storage
32 Returns the library's type storage hash reference. You shouldn't use
33 this method directly unless you know what you are doing. It is not an
34 internal method because overriding it makes virtual libraries very
35 easy.
36
37 registered_class_types
38 Returns the class types registered within this library. Don't use
39 directly.
40
41 register_class_type
42 Register a "class_type" for use in this library by class name.
43
44 get_registered_class_type
45 Get a "class_type" registered in this library by name.
46
47 registered_role_types
48 Returns the role types registered within this library. Don't use
49 directly.
50
51 register_role_type
52 Register a "role_type" for use in this library by role name.
53
54 get_registered_role_type
55 Get a "role_type" registered in this library by role name.
56
58 MooseX::Types::Moose
59
61 See "AUTHOR" in MooseX::Types.
62
64 This program is free software; you can redistribute it and/or modify it
65 under the same terms as perl itself.
66
67
68
69perl v5.12.1 2010-06-01 MooseX::Types::Base(3)