معلومات البرنامج Class::IntrospectionMethods 1.003

مرات التنزيل
26
متطلبات التشغيل
الحجم 0
الترخيص
الاصدار 0
اضيف في
06/03/2007
اجمالي الاصوات
0
الموقع علي الانترنت
التقييم
0.0000
قيم هذا البرنامج

 
Description
Class::IntrospectionMethods is a Perl module that creates methods with introspection.

SYNOPSIS

use Class::IntrospectionMethods qw/make_methods/;

make_methods
(
parent,
global_catalog =>
{
name => 'metacat',
list =>
[
[qw/foo/] => f_cat,
[qw/bar baz/] => b_cat,
],
}
new_with_init => 'new',
get_set => [ qw /foo bar baz / ];
) ;

This module provides:
A way to set up a lot of get/set method. These get/set methods can access plain scalars, array, hash. These scalar, hash or array can be tied (See perltie) with classes specified by the user. The element of these arrays or hashes can be constrained to be object, tied scalar.
A way to later query the object or class to retrieve the list of methods (aka slots) created by this module.

A way to organize these slots in several catalogs.
When a slot contains object or tied scalars hashes or arrays, the contained object can be queried for the container object. In other words, the parent object (the one constructed by Class::IntrospectionMethods contains a child object in one of its slots either as a plain object or an object hidden behind a tied construct. Class::IntrospectionMethods will provide the child object a method to retrieve the parent object reference.

For instance, you can use this module to create a tree where each node or leaf is an object. In this case, this module provides methods to navigate up the tree of objects with the installed "parent" method.

In other words, this module provides special methods to enable the user to navigate up or down a tree (or directed graph) using introspection (to go down) and the "parent" method to go up.

You may notice similarities between this module and Class::MethodMaker. In fact this module was written from Class::MethodMaker v1.08, but it does not provide most of the fancy methods of Class::MethodMaker. Only scalar, array and hash accessors (with their tied and objects variants) are provided.

Originally, the introspection and "parent" functionalities were implemented in Class::MethodMaker. Unfortunately, they were not accepted by Class::MethodMaker's author since they did not fit his own vision of his module (fair enough).
The old API of Class::MethodMaker is provided as deprecated methods. Using the new (and hopefully more consistent) API is prefered.

Requirements:
· Perl

 

الترجمة الالية للوصف

تنزيل Class::IntrospectionMethods 1.003  Free Download Class::IntrospectionMethods 1.003 تنزيل:   Class::IntrospectionMethods 1.003
اخبر صديق Class::IntrospectionMethods 1.003



أكثر البرامج تنزيلا في هذا القسم
LimeWire 4.12.11
Sound Converter 0.9.4
Get YouTube Video 1.3e
Subtitle Editor 0.13.4
Advanced Guestbook Script 2.4.2
Javascript Flickr Slideshow 0.2
FlowPlayer 1.11
Text::Emoticon 0.04
Jazz Radio 1.0.1.29
SMPlayer 0.4.19



اخترنا لك من البرامج المميزة
Sahih_Bukhariالترجمه باللغه الانجليزيه ل ...
Keynote Animations 4.0
McAfee Virus Definitions 4905 (Freeware)
Poster Calendar 1.0 (Freeware)
FTP Commander Pro 7.90 (Trial)
Aglare MP3 to AMR Converter 6.9 (Demo)
AudioActiveبرنامج سمعيّ جيّد أخر للشّبكة
ChrisTV Professional 5.00 (Shareware)
Fantasy Waterscapes 3D 1.0 (Trial)
Disco XT 1.8
WinZip 11.0.7291 Beta / 10.0.7245 (Trial ...
DVD To WMA Ripper 1.00 (Demo)
Geometer 1.4 Beta 2
Acala DVD Ripper iPod PSP Converter Bund ...
Pop-Up Stopper v2.9 برنامج مجاني للقضاء ...






البرنامج السابق : More Tools Menu 1.0.7 for Firefox More Tools Menu 1.0.7 for Firefox البرنامج التالي : XBase::FAQ 0.241 XBase::FAQ 0.241


بحث
ClassIntrospectionMethods , Perl , module , that , creates , methods , with , introspection. SYNOPSIS , ClassIntrospectionMethods , qw/makemethods/; , makemethods , parent , globalcatalog , { , name , metacat , list , [ , [qw/foo/] , fcat , [qw/bar , baz/] , bcat , ] , } , newwithinit , new , getset , /foo ,

التصنيف:
Copyright (©) Moshax 2008. All rights reserved.