GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MOUSE::META::CLASS (3)

.ds Aq ’

NAME

Mouse::Meta::Class - The Mouse class metaclass

CONTENTS

VERSION

This document describes Mouse version v2.4.5

DESCRIPTION

This class is a meta object protocol for Mouse classes, which is a subset of Moose::Meta:::Class.

METHODS

CWinitialize(ClassName) -> Mouse::Meta::Class

Finds or creates a Mouse::Meta::Class instance for the given ClassName. Only one instance should exist for a given class.

CWname -> ClassName

Returns the name of the owner class.

CWsuperclasses -> ClassNames CWsuperclass(ClassNames)

Gets (or sets) the list of superclasses of the owner class.

CWadd_method(name => CodeRef)

Adds a method to the owner class.

CWhas_method(name) -> Bool

Returns whether we have a method with the given name.

CWget_method(name) -> Mouse::Meta::Method | undef

Returns a Mouse::Meta::Method with the given name.

Note that you can also use $metaclass->name->can($name) for a method body.

CWget_method_list -> Names

Returns a list of method names which are defined in the local class. If you want a list of all applicable methods for a class, use the get_all_methods method.

CWget_all_methods -> (Mouse::Meta::Method)

Return the list of all Mouse::Meta::Method instances associated with the class and its superclasses.

CWadd_attribute(name => spec | Mouse::Meta::Attribute)

Begins keeping track of the existing Mouse::Meta::Attribute for the owner class.

CWhas_attribute(Name) -> Bool

Returns whether we have a Mouse::Meta::Attribute with the given name.

CWget_attribute Name -> Mouse::Meta::Attribute | undef

Returns the Mouse::Meta::Attribute with the given name.

CWget_attribute_list -> Names

Returns a list of attribute names which are defined in the local class. If you want a list of all applicable attributes for a class, use the get_all_attributes method.

CWget_all_attributes -> (Mouse::Meta::Attribute)

Returns the list of all Mouse::Meta::Attribute instances associated with this class and its superclasses.

CWlinearized_isa -> [ClassNames]

Returns the list of classes in method dispatch order, with duplicates removed.

CWnew_object(Parameters) -> Instance

Creates a new instance.

CWclone_object(Instance, Parameters) -> Instance

Clones the given instance which must be an instance governed by this metaclass.

CWthrow_error(Message, Parameters)

Throws an error with the given message.

SEE ALSO

Mouse::Meta::Module

Moose::Meta::Class

Class::MOP::Class

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MOUSE::META::CLASS (3) 2016-03-17

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.