/misc/RdWpget
http://github.com/sbotond/phylosim · #! · 42 lines · 42 code · 0 blank · 0 comment · 0 complexity · bc6e940ea23bbf3e79f52c9fed797587 MD5 · raw file
- ###########################################################################/**
- #
- # @RdocMethod getWriteProtected
- #
- # @title "Check if the object is write protected"
- #
- # \description{
- # @get "title".
- # Write protected objects cannot be modified through get/set methods and virtual fields.
- # }
- #
- # @synopsis
- #
- # \arguments{
- # \item{this}{An object.}
- # \item{...}{Not used.}
- # }
- #
- # \value{
- # TRUE or FALSE
- # }
- #
- # \examples{
- #
- # # 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
- #
- # }
- #
- # @author
- #
- # \seealso{
- # @seeclass
- # }
- #
- #*/###########################################################################