Nothing
# libsoc - Library to handle standardised output files
# Copyright (C) 2015 Rikard Nordgren
#
# This file was autogenerated and should not be edited
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
# his library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, see <http://www.gnu.org/licenses/>.
so_Message_new <- function() {
obj = .Call("r_so_Message_new")
}
so_Message_copy <- function(self) {
.Call("r_so_Message_copy", self)
}
so_Message_free <- function(self) {
.Call("r_so_Message_free", self)
}
so_Message_ref <- function(self) {
.Call("r_so_Message_ref", self)
}
so_Message_unref <- function(self) {
.Call("r_so_Message_unref", self)
}
so_Message_get_type <- function(self) {
.Call("r_so_Message_get_type", self)
}
so_Message_set_type <- function(self, value) {
.Call("r_so_Message_set_type", self, value)
}
so_Message_get_Toolname <- function(self) {
.Call("r_so_Message_get_Toolname", self)
}
so_Message_set_Toolname <- function(self, value) {
.Call("r_so_Message_set_Toolname", self, value)
}
so_Message_get_Name <- function(self) {
.Call("r_so_Message_get_Name", self)
}
so_Message_set_Name <- function(self, value) {
.Call("r_so_Message_set_Name", self, value)
}
so_Message_get_Content <- function(self) {
.Call("r_so_Message_get_Content", self)
}
so_Message_set_Content <- function(self, value) {
.Call("r_so_Message_set_Content", self, value)
}
so_Message_get_Severity <- function(self) {
.Call("r_so_Message_get_Severity", self)
}
so_Message_set_Severity <- function(self, value) {
.Call("r_so_Message_set_Severity", self, value)
}
type_acc <- function(value)
{
if (!isnull(.self$.cobj)) {
if (missing(value)) {
so_Message_get_type(.self$.cobj)
} else {
stopifnot(is.character(value), length(value) == 1)
so_Message_set_type(.self$.cobj, value)
}
}
}
Toolname_acc <- function(value)
{
if (!isnull(.self$.cobj)) {
if (missing(value)) {
so_Message_get_Toolname(.self$.cobj)
} else {
if (!is(value, "character")) {
stop("object must be of type 'character'")
}
so_Message_set_Toolname(.self$.cobj, value)
}
}
}
Name_acc <- function(value)
{
if (!isnull(.self$.cobj)) {
if (missing(value)) {
so_Message_get_Name(.self$.cobj)
} else {
if (!is(value, "character")) {
stop("object must be of type 'character'")
}
so_Message_set_Name(.self$.cobj, value)
}
}
}
Content_acc <- function(value)
{
if (!isnull(.self$.cobj)) {
if (missing(value)) {
so_Message_get_Content(.self$.cobj)
} else {
if (!is(value, "character")) {
stop("object must be of type 'character'")
}
so_Message_set_Content(.self$.cobj, value)
}
}
}
Severity_acc <- function(value)
{
if (!isnull(.self$.cobj)) {
if (missing(value)) {
so_Message_get_Severity(.self$.cobj)
} else {
if (!is(value, "integer")) {
stop("object must be of type 'integer'")
}
so_Message_set_Severity(.self$.cobj, value)
}
}
}
so_Message = setRefClass("so_Message",
fields=list(
type = type_acc,
Toolname = Toolname_acc,
Name = Name_acc,
Content = Content_acc,
Severity = Severity_acc,
.cobj = "externalptr"
),
methods=list(
copy = function() {
copy = so_Message_copy(.self$.cobj)
so_Message$new(cobj=copy)
},
initialize = function(cobj) {
if (missing(cobj)) {
.cobj <<- so_Message_new()
} else {
.cobj <<- cobj
}
},
finalize = function() {
so_Message_unref(.self$.cobj)
}
)
)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.