makeCollectionClass: Create a Collection Class Definition

Description Usage Arguments Details Value See Also

Description

Create a subclass to Collection named <elementClass>List and return a constructor function.

Usage

1
  makeCollectionClass(elementClass)

Arguments

elementClass

Class name of the elements.

Details

The constructor function is generated by a call to collectionConstructor, a simple validity-checking method is supplied by a call to collectionConstructor.

If a show method has been defined for the Collection elements, a generic show method can be constructed by a call to collectionShower.

Value

A constructor function for <elementClass>List-Class.

See Also

Collection, collectionConstructor, collectionValidator, collectionShower.


gschofl/ncbi documentation built on May 17, 2019, 8:53 a.m.