-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
798 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#' ISOProcessParameter | ||
#' | ||
#' @docType class | ||
#' @importFrom R6 R6Class | ||
#' @export | ||
#' @keywords ISO process parameter | ||
#' @return Object of \code{\link{R6Class}} for modelling an ISO process parameter | ||
#' @format \code{\link{R6Class}} object. | ||
#' | ||
#' @references | ||
#' - ISO 19115-3 \url{https://schemas.isotc211.org/19115/-3/mrl/2.0/mrl/#element_LE_ProcessParameter} | ||
#' | ||
#' @author Emmanuel Blondel <emmanuel.blondel1@@gmail.com> | ||
#' | ||
ISOProcessParameter <- R6Class("ISOProcessParameter", | ||
inherit = ISOAbstractParameter, | ||
private = list( | ||
xmlElement = "LE_ProcessParameter", | ||
xmlNamespacePrefix = list( | ||
"19115-3" = "MRL" | ||
) | ||
), | ||
public = list( | ||
|
||
#'@description Initializes object | ||
#'@param xml object of class \link{XMLInternalNode-class} | ||
initialize = function(xml = NULL){ | ||
super$initialize(xml = xml) | ||
} | ||
) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
#' ISOSRVParameterDirection | ||
#' | ||
#' @docType class | ||
#' @importFrom R6 R6Class | ||
#' @export | ||
#' @keywords ISO parameter direction | ||
#' @return Object of \code{\link{R6Class}} for modelling an ISOSRVParameterDirection | ||
#' @format \code{\link{R6Class}} object. | ||
#' | ||
#' @examples | ||
#' #possible values | ||
#' values <- ISOSRVParameterDirection$values(labels = TRUE) | ||
#' | ||
#' #paramDir | ||
#' paramDir <- ISOSRVParameterDirection$new(value = "in") | ||
#' | ||
#' @references | ||
#' - ISO 19119 \url{https://schemas.isotc211.org/19119/srv/srv/#element_SV_ParameterDirection} | ||
#' | ||
#' - ISO 19115-3 \url{https://schemas.isotc211.org/19115/-3/srv/2.0/srv/#element_SV_ParameterDirection} | ||
#' | ||
#' @author Emmanuel Blondel <emmanuel.blondel1@@gmail.com> | ||
#' | ||
ISOSRVParameterDirection <- R6Class("ISOSRVParameterDirection", | ||
inherit = ISOCodeListValue, | ||
private = list( | ||
xmlElement = "SV_ParameterDirection", | ||
xmlNamespacePrefix = list( | ||
"19139" = "SRV", | ||
"19115-3" = "SRV" | ||
) | ||
), | ||
public = list( | ||
|
||
#'@description Initializes object | ||
#'@param xml object of class \link{XMLInternalNode-class} | ||
#'@param value value | ||
#'@param description description | ||
initialize = function(xml = NULL, value, description = NULL){ | ||
super$initialize(xml = xml, id = private$xmlElement, value = value, description = description, | ||
addCodeListAttrs = FALSE, setValue = FALSE) | ||
} | ||
) | ||
) | ||
|
||
ISOSRVParameterDirection$values <- function(labels = FALSE){ | ||
return(ISOCodeListValue$values(ISOSRVParameterDirection, labels)) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.