abstractClass {biodb}R Documentation

Declares a class as abstract.

Description

Forbids instantiation of an abstract class. This method must be called from within a constructor of an abstract class. It will throw an error if a direct call is made to this constructor.

Usage

abstractClass(cls, obj)

Arguments

cls

The name of the abstract class to check.

obj

The object being instantiated.

Value

Nothing.


[Package biodb version 1.1.16 Index]