Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Reaction::InterfaceModUserCContributed)Reaction::InterfaceModel::Collection(3)

NAME
       Reaction::InterfaceModel::Collection - Generic collections of
       Reaction::InterfaceModel::Objects

DESCRIPTION
       The base	class for "InterfaceModel::Collection"s. The functionality
       implemented here	is minimal and it is expected that specialized
       collections be built by sublclassing this and exploiting	the roles
       system.

METHODS
   members
       Returns a list containing all known members of the collection

   add_member $object
       Will add	the object passed to the collection

   remove_member $object
       Removed the object passed from the collection, if present

   count_members
       Returns the number of objects in	the collection.

ATTRIBUTES
   _collection_store
       Read-write & lazy_build.	Holds the arrayref where the collection	of
       objects is presently stored. Has	a clearer of "_clear_collection_store"
       and a predicate of
	"_has_collection_store".

PRIVATE	METHODS
       _build__collection_store

       Builder method for attribute_collection_store, returns an empty
       arrayref

AUTHORS
       See Reaction::Class for authors.

LICENSE
       See Reaction::Class for the license.

perl v5.32.0			  2010-Reaction::InterfaceModel::Collection(3)

NAME | DESCRIPTION | METHODS | ATTRIBUTES | PRIVATE METHODS | AUTHORS | LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Reaction::InterfaceModel::Collection&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help