getWriteProtected.Alphabet: Check if the object is write protected

Description Usage Arguments Value Author(s) See Also Examples

Description

Check if the object is write protected. Write protected objects cannot be modified through get/set methods and virtual fields.

Usage

1
2
## S3 method for class 'Alphabet'
getWriteProtected(this, ...)

Arguments

this

An object.

...

Not used.

Value

TRUE or FALSE.

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see Alphabet.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
       # create an object
       o<-Alphabet()
       # toggle write protection
       o$writeProtected<-TRUE
       # check if it's write protected
       getWriteProtected(o)
       # check write protection via virtual field
       o$writeProtected

 

phylosim documentation built on May 29, 2017, 3:21 p.m.