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  -  CLASS::MAKEMETHODS::DOCS::CATALOG (3)

.ds Aq ’

NAME

Class::MakeMethods::Docs::Catalog - List of Makable Method Types

CONTENTS

DESCRIPTION

This document lists the various subclasses of Class::MakeMethods included in this distribution, and the method types each one provides.

See the documentation for each implementation for more details about the features it provides.

For each class, a parenthetical comment indicates whether the methods it generates are applicable to individual blessed objects (Instances), to class data (Global), or both (Any) =head2 Scoping

The final part of the name of a method-generating subclass typically indicates the scope or applicability of the methods it generates
Hash For object instances based on blessed hashes with named values.
Array For object instances based on blessed arrays with positional values.
Scalar For object instances based on blessed scalars with a single value.
InsideOut For any object instance regardless of underlying data type.
Ref For any object instance regardless of underlying data type.
Inheritable For data which can be set at the class, subclass, or instance level.
Class For class data shared by all instances but different for each subclass
ClassVar For class data shared by all instances but different for each subclass
ClassInherit For class data shared by all instances but different for each subclass
Global For global data shared by a class and all its instances and subclasses
PackageVar For global data shared by a class and all its instances and subclasses
Universal # General method types that are widely applicable

    Summary Charts

This table shows which scopes are available in each generator family:



  SCOPING          Basic      Standard   Evaled     Composite  Template
  Hash               +          +          +          +          +
  Array              +          +                     +          +
  Scalar                                                         +
  InsideOut                                                      +
  Ref                                                            +
  Inheritable                   +                     +          +
  Class                                                          +
  ClassVar                                                       +
  ClassInherit                                                   +
  Global             +          +                     +          +
  PackageVar                                                     +
  Universal                                           +          +



This table shows which types of methods are typically available in each generator family:



  METHOD           Basic      Standard   Evaled     Composite  Template
  new                +          +                     +          +         

  scalar             +          +                     +          +
  string                                                         +
  string_index                                                   +
  number                                                         +
  boolean                                                        +
  boolean_index                                                  +
  bits                                                           +

  array              +          +                     +          +
  struct                                                         +

  hash               +          +                     +          +
  hash_of_arrays                                                 +
  tiedhash                                                       +

  object             +                                +          +
  instance                                                       +
  array_of_objects                                               +

  code                                                           +
  code_or_scalar                                                 +



BASIC CLASSES

    Basic::Hash (Instances)

Methods for objects based on blessed hashes. See Class::MakeMethods::Basic::Hash for details.
o new: create and copy instances
o scalar: get and set scalar values in each instance
o array: get and set values stored in an array refered to in each instance
o hash: get and set values in a hash refered to in each instance

    Basic::Array (Instances)

Methods for manipulating positional values in arrays. See Class::MakeMethods::Basic::Array for details.
o new: create and copy instances
o scalar: get and set scalar values in each instance
o array: get and set values stored in an array refered to in each instance
o hash: get and set values in a hash refered to in each instance

    Basic::Global (Global)

Global methods are not instance-dependent; calling them by class name or from any instance or subclass will consistently access the same value. See Class::MakeMethods::Basic::Global for details.
o scalar: get and set a global scalar value
o array: get and set values in a global array
o hash: get and set values in a global hash

STANDARD CLASSES

    Standard::Hash (Instances)

Methods for objects based on blessed hashes. See Class::MakeMethods::Standard::Hash for details.
o new: create and copy instances
o scalar: get and set scalar values in each instance
o array: get and set values stored in an array refered to in each instance
o hash: get and set values in a hash refered to in each instance
o object: access an object refered to by each instance

    Standard::Array (Instances)

Methods for manipulating positional values in arrays. See Class::MakeMethods::Standard::Array for details.
o new: create and copy instances
o scalar: get and set scalar values in each instance
o array: get and set values stored in an array refered to in each instance
o hash: get and set values in a hash refered to in each instance
o object: access an object refered to by each instance

    Standard::Global (Global)

Methods for manipulating global data. See Class::MakeMethods::Standard::Global for details.
o scalar: get and set global scalar
o array: get and set values stored in a global array
o hash: get and set values in a global hash
o object: global access to an object ref

    Standard::Inheritable (Any)

Methods for manipulating data which may be overridden per class or instance. Uses external data storage, so it works with objects of any underlying data type. See Class::MakeMethods::Standard::Inheritable for details.
o scalar: get and set scalar values for each instance or class

COMPOSITE CLASSES

    Composite::Hash (Instances)

Methods for objects based on blessed hashes. See Class::MakeMethods::Composite::Hash for details.
o new: create and copy instances
o scalar: get and set scalar values in each instance
o array: get and set values stored in an array refered to in each instance
o hash: get and set values in a hash refered to in each instance
o object: access an object refered to by each instance

    Composite::Array (Instances)

Methods for manipulating positional values in arrays. See Class::MakeMethods::Composite::Array for details.
o new: create and copy instances
o scalar: get and set scalar values in each instance
o array: get and set values stored in an array refered to in each instance
o hash: get and set values in a hash refered to in each instance
o object: access an object refered to by each instance

    Composite::Global (Global)

Methods for manipulating global data. See Class::MakeMethods::Composite::Global for details.
o scalar: get and set global scalar
o array: get and set values stored in a global array
o hash: get and set values in a global hash
o object: global access to an object ref

    Composite::Inheritable (Any)

Methods for manipulating data which may be overridden per class or instance. Uses external data storage, so it works with objects of any underlying data type. See Class::MakeMethods::Composite::Inheritable for details.
o scalar: get and set scalar values for each instance or class
o hook: create a subroutine intended to have operations added to it

    Composite::Universal (Any)

Methods for padding pre- and post-conditions to any class. See Class::MakeMethods::Composite::Universal for details.
o patch: add pre and post operations to an existing subroutine

TEMPLATE CLASSES

    Template::Universal (Any)

Meta-methods for any type of object. See Class::MakeMethods::Template::Universal.
o no_op - a method with an empty body
o croak - a method which will croak if called
o method_init - calls other methods from a list of method name => argument pairs
o forward_methods - delegates to an object provided by another method

    Template::Ref (Any Instance)

Methods for deep copies and comparisons. See Class::MakeMethods::Template::Ref.
o clone: make a deep copy of an object instance
o prototype: make new objects by cloning a typical instance
o compare: compare one object to another

    Template::Generic (Abstract)

The remaining subclasses inherit a similar collection of templates from Template::Generic, and provide a different type of scoping or binding for the functionality defined by the Generic template. See Class::MakeMethods::Template::Generic for details.

    Template::Hash (Instances)

The most commonly used implementation, for objects based on blessed hashes. See Class::MakeMethods::Template::Hash.
o new: create and copy instances
o scalar: get and set scalar values in each instance
o string: get and set string values in each instance
o number: get and set numeric values in each instance
o boolean: get and set boolean values in each instance
o bits: get and set boolean values stored in a single value in each instance
o array: get and set values stored in an array refered to in each instance
o struct - methods for acccessing values which are stored by position in an array
o hash: get and set values in a hash refered to in each instance
o tiedhash: get and set values in a tied hash refered to in each instance
o hash_of_arrays: for references to hashes of arrays contained in each instance
o object: set or access a reference to an object contained in each instance
o array_of_objects: manipulate an array of object references within in each instance
o code: set or call a function reference contained in each instance

    Template::Array (Instances)

Methods for manipulating positional values in arrays. See Class::MakeMethods::Template::Array.
o new: create and copy array instances
o scalar: get and set scalar values in a given array position
o string: get and set string values in a given array position
o number: get and set numeric values in a given array position
o boolean: get and set boolean values in a given array position
o builtin_isa: generates a wrapper around some builtin function, cacheing the results in the object and providing a by-name interface

    Template::Scalar (Instances)

For objects based on blessed scalars. See Class::MakeMethods::Template::Scalar.

Note that these objects can generally only have one value accessor method, as all such accessors will refer to the same value.
o new: create and copy instances
o scalar: get and set scalar values in each instance
o string: get and set a string value in each instance
o number: get and set a numeric value in each instance
o boolean: get and set a boolean value in each instance
o bits: get and set boolean values stored in a single value in each instance
o code: set or call a function reference contained in each instance

    Template::InsideOut (Instances)

Stores values for objects in an external location hashed by identity. See Class::MakeMethods::Template::InsideOut.

Note that while the below constructor creates and returns scalar references, accessor methods can be created with this implementation for use with any type of object.
o new: create and copy instances
o scalar: get and set scalar values associated with each instance
o string: get and set string values associated with each instance
o string_index: get and set string values associated with each instance, and maintain an index of instances by value
o number: get and set numeric values associated with each instance
o boolean: get and set boolean values associated with each instance
o boolean_index: get and set boolean values associated with each instance, and maintain a list of items which have the flag set
o bits: get and set boolean values stored in a single value associated with each instance
o array: get and set values stored in an array associated with each instance
o hash: get and set values in a hash associated with each instance
o code: set or call a function reference associated with each instance

    Template::Global (Global)

Global methods are not instance-dependent; calling them by class name or from any instance will consistently access the same value. See Class::MakeMethods::Template::Static.
o scalar: get and set a global scalar value
o string: get and set a global string value
o number: get and set a global number value
o boolean: get and set a global boolean value
o array: get and set values in a global array
o hash: get and set values in a global hash
o tiedhash: get and set values in a global tied hash
o hash_of_arrays: get and set values in a global hash of arrays
o object: set and access a global reference to an object
o instance: set and access a global reference to an object of the declaring class
o code: set and access a global reference to a subroutine.

    Template::PackageVar (Global)

PackageVar methods access a variable in the declaring package. Thus, they have the same effect as Static methods, while keeping their value accessible via the symbol table. See Class::MakeMethods::Template::PackageVar.
o scalar: get and set a global scalar value
o string: get and set a global string value
o number: get and set a global number value
o boolean: get and set a global boolean value
o array: get and set values in a global array
o hash: get and set values in a global hash

    Template::Class (Global)

Class methods are similar to Static methods, except that each subclass and its instances will access a distinct value. See Class::MakeMethods::Template::Class.
o scalar: get and set a class-specific scalar value
o string: get and set a class-specific string value
o number: get and set a class-specific number value
o boolean: get and set a class-specific boolean value
o array: get and set values in a class-specific array
o hash: get and set values in a class-specific hash

    Template::ClassVar (Global)

ClassVar methods access a variable in the package on which they are called. Thus, they have the same effect as Class methods, while keeping their value accessible via the symbol table, like PackageVar. See Class::MakeMethods::Template::ClassVar.
o scalar: get and set a class-specific scalar value
o string: get and set a class-specific string value
o number: get and set a class-specific number value
o boolean: get and set a class-specific boolean value
o array: get and set values in a class-specific array
o hash: get and set values in a class-specific hash

    Template::ClassInherit (Global)

ClassInherit methods are an intermediate point between Static and Class methods; subclasses inherit their superclass’s value until they set their own value, after which they become distinct. See Class::MakeMethods::Template::ClassInherit.
o scalar: get and set an inheritable class-specific scalar value
o string: get and set an inheritable class-specific string value
o number: get and set an inheritable class-specific number value
o boolean: get and set an inheritable class-specific boolean value
o array: get and set values in an inheritable class-specific array
o hash: get and set values in an inheritable class-specific hash

    Template::Inheritable (Any)

Methods for manipulating data which may be overridden per class or instance. Uses external data storage, so it works with objects of any underlying data type. See Class::MakeMethods::Template::Inheritable for details.
o scalar: get and set scalar values for each instance or class
o string: get and set string values for each instance or class
o number: get and set numeric values for each instance or class
o boolean: get and set boolean values for each instance or class
o hash: get and set values in a hash refered to in each instance

SEE ALSO

See Class::MakeMethods for general information about this distribution.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MAKEMETHODS::DOCS::CATALOG (3) 2004-09-06

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