# This file was automatically generated by SWIG (http://www.swig.org).
# Version 4.0.1
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
## Generated via the command line invocation:
## /sas3rd/dev/mva-vb025/lax/swig/swig-4.0.1/bin/swig-exec -r -module rswat -I/sas/dev/mva-vbviya/TKLAX/h -I/sas/dev/mva-vbviya/TKPOS/h -I/u/kesmit/pp/swat.vbviya/GTKLAXND/h -I/u/kesmit/pp/swat.vbviya/tkcas/h -I/sas/dev/mva-vbviya/GTKLAXND/h -I/sas/dev/mva-vbviya/tkcas/h -I/sas/dev/mva-vbviya/tklua/h -I/sas/dev/mva-vbviya/tkaasubs/h -I/sas/dev/mva-vbviya/tkpublic/public/h -I/sas/dev/mva-vbviya/tkmk/public/h -I/sas/dev/mva-vbviya/tkext/h -I/sas/dev/mva-vbviya/tkcommon/h -I/sas/dev/mva-vbviya/tkhostcm/h -I/sas/dev/mva-vbviya/tksubs/h -I/sas/dev/mva-vbviya/tkvsubs/h -I/sas/dev/mva-vbviya/tk/h -I/sasjdk/jdk/LAX/oracle-1.5.0_06/include -I/sasjdk/jdk/LAX/oracle-1.5.0_06/include/linux -outdir /usr/tmp/dev_mva-vbviya_laxnd_en_r_swat_85886690 -o /usr/tmp/dev_mva-vbviya_laxnd_en_r_swat_1573667632 /u/kesmit/pp/swat.vbviya/tkcas/misc/swat.i
# srun.swg #
#
# This is the basic code that is needed at run time within R to
# provide and define the relevant classes. It is included
# automatically in the generated code by copying the contents of
# srun.swg into the newly created binding code.
# This could be provided as a separate run-time library but this
# approach allows the code to be included directly into the
# generated bindings and so removes the need to have and install an
# additional library. We may however end up with multiple copies of
# this and some confusion at run-time as to which class to use. This
# is an issue when we use NAMESPACES as we may need to export certain
# classes.
######################################################################
if(length(getClassDef("RSWIGStruct")) == 0)
setClass("RSWIGStruct", representation("VIRTUAL"))
if(length(getClassDef("ExternalReference")) == 0)
# Should be virtual but this means it loses its slots currently
#representation("VIRTUAL")
setClass("ExternalReference", representation( ref = "externalptr"))
if(length(getClassDef("NativeRoutinePointer")) == 0)
setClass("NativeRoutinePointer",
representation(parameterTypes = "character",
returnType = "character",
"VIRTUAL"),
contains = "ExternalReference")
if(length(getClassDef("CRoutinePointer")) == 0)
setClass("CRoutinePointer", contains = "NativeRoutinePointer")
if(length(getClassDef("EnumerationValue")) == 0)
setClass("EnumerationValue", contains = "integer")
if(!isGeneric("copyToR"))
setGeneric("copyToR",
function(value, obj = new(gsub("Ref$", "", class(value))))
standardGeneric("copyToR"
))
setGeneric("delete", function(obj) standardGeneric("delete"))
SWIG_createNewRef =
function(className, ..., append = TRUE)
{
f = get(paste("new", className, sep = "_"), mode = "function")
f(...)
}
if(!isGeneric("copyToC"))
setGeneric("copyToC",
function(value, obj = SWIG_createNewRef(class(value)))
standardGeneric("copyToC"
))
#
defineEnumeration =
function(name, .values, where = topenv(parent.frame()), suffix = "Value")
{
# Mirror the class definitions via the E analogous to .__C__
defName = paste(".__E__", name, sep = "")
delayedAssign(defName, .values, assign.env = where)
if(nchar(suffix))
name = paste(name, suffix, sep = "")
setClass(name, contains = "EnumerationValue", where = where)
}
enumToInteger <- function(name,type)
{
if (is.character(name)) {
ans <- as.integer(get(paste(".__E__", type, sep = ""))[name])
if (is.na(ans)) {warning("enum not found ", name, " ", type)}
ans
}
}
enumFromInteger =
function(i,type)
{
itemlist <- get(paste(".__E__", type, sep=""))
names(itemlist)[match(i, itemlist)]
}
coerceIfNotSubclass =
function(obj, type)
{
if(!is(obj, type)) {as(obj, type)} else obj
}
setClass("SWIGArray", representation(dims = "integer"), contains = "ExternalReference")
setMethod("length", "SWIGArray", function(x) x@dims[1])
defineEnumeration("SCopyReferences",
.values = c( "FALSE" = 0, "TRUE" = 1, "DEEP" = 2))
assert =
function(condition, message = "")
{
if(!condition)
stop(message)
TRUE
}
if(FALSE) {
print.SWIGFunction =
function(x, ...)
{
}
}
#######################################################################
R_SWIG_getCallbackFunctionStack =
function()
{
# No PACKAGE argument as we don't know what the DLL is.
.Call("R_SWIG_debug_getCallbackFunctionData")
}
R_SWIG_addCallbackFunctionStack =
function(fun, userData = NULL)
{
# No PACKAGE argument as we don't know what the DLL is.
.Call("R_SWIG_R_pushCallbackFunctionData", fun, userData)
}
#######################################################################
setClass('_p_CASConnection', contains = 'ExternalReference')
setClass("CASConnection",
representation(
),
contains = "RSWIGStruct")
# End class CASConnection
setClass('_p_CASConnection', contains = 'ExternalReference')
setClass('_p_CASRequest', contains = 'ExternalReference')
setClass("CASRequest",
representation(
),
contains = "RSWIGStruct")
# End class CASRequest
setClass('_p_CASRequest', contains = 'ExternalReference')
setClass('_p_CASMessage', contains = 'ExternalReference')
setClass("CASMessage",
representation(
),
contains = "RSWIGStruct")
# End class CASMessage
setClass('_p_CASMessage', contains = 'ExternalReference')
setClass('_p_CASResponse', contains = 'ExternalReference')
setClass("CASResponse",
representation(
),
contains = "RSWIGStruct")
# End class CASResponse
setClass('_p_CASResponse', contains = 'ExternalReference')
setClass('_p_CASValue', contains = 'ExternalReference')
setClass("CASValue",
representation(
),
contains = "RSWIGStruct")
# End class CASValue
setClass('_p_CASValue', contains = 'ExternalReference')
setClass('_p_CASValueList', contains = 'ExternalReference')
setClass("CASValueList",
representation(
),
contains = "RSWIGStruct")
# End class CASValueList
setClass('_p_CASValueList', contains = 'ExternalReference')
setClass('_p_CASTable', contains = 'ExternalReference')
setClass("CASTable",
representation(
),
contains = "RSWIGStruct")
# End class CASTable
setClass('_p_CASTable', contains = 'ExternalReference')
setClass('_p_CASFormatter', contains = 'ExternalReference')
setClass("CASFormatter",
representation(
),
contains = "RSWIGStruct")
# End class CASFormatter
setClass('_p_CASFormatter', contains = 'ExternalReference')
setClass('_p_CASConnectionEventWatcher', contains = 'ExternalReference')
setClass("CASConnectionEventWatcher",
representation(
),
contains = "RSWIGStruct")
# End class CASConnectionEventWatcher
setClass('_p_CASConnectionEventWatcher', contains = 'ExternalReference')
setClass('_p_CASDataBuffer', contains = 'ExternalReference')
setClass("CASDataBuffer",
representation(
),
contains = "RSWIGStruct")
# End class CASDataBuffer
setClass('_p_CASDataBuffer', contains = 'ExternalReference')
setClass('_p_CASError', contains = 'ExternalReference')
setClass("CASError",
representation(
),
contains = "RSWIGStruct")
# End class CASError
setClass('_p_CASError', contains = 'ExternalReference')
setMethod('[', "ExternalReference",
function(x,i,j, ..., drop=TRUE)
if (!is.null(x$"__getitem__"))
sapply(i, function(n) x$"__getitem__"(i=as.integer(n-1))))
setMethod('[<-' , "ExternalReference",
function(x,i,j, ..., value)
if (!is.null(x$"__setitem__")) {
sapply(1:length(i), function(n)
x$"__setitem__"(i=as.integer(i[n]-1), x=value[n]))
x
})
setAs('ExternalReference', 'character',
function(from) {if (!is.null(from$"__str__")) from$"__str__"()})
suppressMessages(suppressWarnings(setMethod('print', 'ExternalReference',
function(x) {print(as(x, "character"))})))
# Start of InitializeTK
`InitializeTK` = function(tkpath, .copy = FALSE)
{
tkpath = as(tkpath, "character");
;ans = .Call('R_swig_InitializeTK', tkpath, as.logical(.copy), PACKAGE='rswat');
ans <- if (is.null(ans)) ans
else new("_p_void", ref=ans);
ans
}
attr(`InitializeTK`, 'returnType') = '_p_void'
attr(`InitializeTK`, "inputTypes") = c('character')
class(`InitializeTK`) = c("SWIGFunction", class('InitializeTK'))
# Start of TKVersion
`TKVersion` = function()
{
;.Call('R_swig_TKVersion', PACKAGE='rswat');
}
attr(`TKVersion`, 'returnType') = 'character'
class(`TKVersion`) = c("SWIGFunction", class('TKVersion'))
# Start of new_SW_CASConnection
`SW_CASConnection` = function(hostname, port, username, password, soptions, error, .copy = FALSE)
{
hostname = as(hostname, "character");
port = as.integer(port);
if(length(port) > 1) {
warning("using only the first element of port");
};
username = as(username, "character");
password = as(password, "character");
soptions = as(soptions, "character");
if (inherits(error, "ExternalReference")) error = slot(error,"ref")
;ans = .Call('R_swig_new_SW_CASConnection', hostname, port, username, password, soptions, error, as.logical(.copy), PACKAGE='rswat');
ans <- if (is.null(ans)) ans
else new("_p_CASConnection", ref=ans);
reg.finalizer(ans@ref, delete_SW_CASConnection)
ans
}
attr(`SW_CASConnection`, 'returnType') = '_p_CASConnection'
attr(`SW_CASConnection`, "inputTypes") = c('character', 'integer', 'character', 'character', 'character', '_p_CASError')
class(`SW_CASConnection`) = c("SWIGFunction", class('SW_CASConnection'))
# Start of delete_SW_CASConnection
`delete_SW_CASConnection` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_delete_SW_CASConnection', self, PACKAGE='rswat');
}
attr(`delete_SW_CASConnection`, 'returnType') = 'void'
attr(`delete_SW_CASConnection`, "inputTypes") = c('_p_CASConnection')
class(`delete_SW_CASConnection`) = c("SWIGFunction", class('delete_SW_CASConnection'))
# Start of SW_CASConnection_getTypeName
`SW_CASConnection_getTypeName` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASConnection_getTypeName', self, PACKAGE='rswat');
}
attr(`SW_CASConnection_getTypeName`, 'returnType') = 'character'
attr(`SW_CASConnection_getTypeName`, "inputTypes") = c('_p_CASConnection')
class(`SW_CASConnection_getTypeName`) = c("SWIGFunction", class('SW_CASConnection_getTypeName'))
# Start of SW_CASConnection_getSOptions
`SW_CASConnection_getSOptions` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASConnection_getSOptions', self, PACKAGE='rswat');
}
attr(`SW_CASConnection_getSOptions`, 'returnType') = 'character'
attr(`SW_CASConnection_getSOptions`, "inputTypes") = c('_p_CASConnection')
class(`SW_CASConnection_getSOptions`) = c("SWIGFunction", class('SW_CASConnection_getSOptions'))
# Start of SW_CASConnection_destroy
`SW_CASConnection_destroy` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASConnection_destroy', self, PACKAGE='rswat');
}
attr(`SW_CASConnection_destroy`, 'returnType') = 'void'
attr(`SW_CASConnection_destroy`, "inputTypes") = c('_p_CASConnection')
class(`SW_CASConnection_destroy`) = c("SWIGFunction", class('SW_CASConnection_destroy'))
# Start of SW_CASConnection_isNULL
`SW_CASConnection_isNULL` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASConnection_isNULL', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASConnection_isNULL`, 'returnType') = 'integer'
attr(`SW_CASConnection_isNULL`, "inputTypes") = c('_p_CASConnection')
class(`SW_CASConnection_isNULL`) = c("SWIGFunction", class('SW_CASConnection_isNULL'))
# Start of SW_CASConnection_isConnected
`SW_CASConnection_isConnected` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASConnection_isConnected', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASConnection_isConnected`, 'returnType') = 'integer'
attr(`SW_CASConnection_isConnected`, "inputTypes") = c('_p_CASConnection')
class(`SW_CASConnection_isConnected`) = c("SWIGFunction", class('SW_CASConnection_isConnected'))
# Start of SW_CASConnection_hasPendingResponses
`SW_CASConnection_hasPendingResponses` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASConnection_hasPendingResponses', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASConnection_hasPendingResponses`, 'returnType') = 'integer'
attr(`SW_CASConnection_hasPendingResponses`, "inputTypes") = c('_p_CASConnection')
class(`SW_CASConnection_hasPendingResponses`) = c("SWIGFunction", class('SW_CASConnection_hasPendingResponses'))
# Start of SW_CASConnection_setZeroIndexedParameters
`SW_CASConnection_setZeroIndexedParameters` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASConnection_setZeroIndexedParameters', self, PACKAGE='rswat');
}
attr(`SW_CASConnection_setZeroIndexedParameters`, 'returnType') = 'void'
attr(`SW_CASConnection_setZeroIndexedParameters`, "inputTypes") = c('_p_CASConnection')
class(`SW_CASConnection_setZeroIndexedParameters`) = c("SWIGFunction", class('SW_CASConnection_setZeroIndexedParameters'))
# Start of SW_CASConnection_copy
`SW_CASConnection_copy` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;ans = .Call('R_swig_SW_CASConnection_copy', self, PACKAGE='rswat');
ans <- if (is.null(ans)) ans
else new("_p_CASConnection", ref=ans);
ans
}
attr(`SW_CASConnection_copy`, 'returnType') = '_p_CASConnection'
attr(`SW_CASConnection_copy`, "inputTypes") = c('_p_CASConnection')
class(`SW_CASConnection_copy`) = c("SWIGFunction", class('SW_CASConnection_copy'))
# Start of SW_CASConnection_getHostname
`SW_CASConnection_getHostname` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASConnection_getHostname', self, PACKAGE='rswat');
}
attr(`SW_CASConnection_getHostname`, 'returnType') = 'character'
attr(`SW_CASConnection_getHostname`, "inputTypes") = c('_p_CASConnection')
class(`SW_CASConnection_getHostname`) = c("SWIGFunction", class('SW_CASConnection_getHostname'))
# Start of SW_CASConnection_getUsername
`SW_CASConnection_getUsername` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASConnection_getUsername', self, PACKAGE='rswat');
}
attr(`SW_CASConnection_getUsername`, 'returnType') = 'character'
attr(`SW_CASConnection_getUsername`, "inputTypes") = c('_p_CASConnection')
class(`SW_CASConnection_getUsername`) = c("SWIGFunction", class('SW_CASConnection_getUsername'))
# Start of SW_CASConnection_getPort
`SW_CASConnection_getPort` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASConnection_getPort', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASConnection_getPort`, 'returnType') = 'integer'
attr(`SW_CASConnection_getPort`, "inputTypes") = c('_p_CASConnection')
class(`SW_CASConnection_getPort`) = c("SWIGFunction", class('SW_CASConnection_getPort'))
# Start of SW_CASConnection_getSession
`SW_CASConnection_getSession` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASConnection_getSession', self, PACKAGE='rswat');
}
attr(`SW_CASConnection_getSession`, 'returnType') = 'character'
attr(`SW_CASConnection_getSession`, "inputTypes") = c('_p_CASConnection')
class(`SW_CASConnection_getSession`) = c("SWIGFunction", class('SW_CASConnection_getSession'))
# Start of SW_CASConnection_receive
`SW_CASConnection_receive` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;ans = .Call('R_swig_SW_CASConnection_receive', self, PACKAGE='rswat');
ans <- if (is.null(ans)) ans
else new("_p_CASMessage", ref=ans);
ans
}
attr(`SW_CASConnection_receive`, 'returnType') = '_p_CASMessage'
attr(`SW_CASConnection_receive`, "inputTypes") = c('_p_CASConnection')
class(`SW_CASConnection_receive`) = c("SWIGFunction", class('SW_CASConnection_receive'))
# Start of SW_CASConnection_close
`SW_CASConnection_close` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASConnection_close', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASConnection_close`, 'returnType') = 'integer'
attr(`SW_CASConnection_close`, "inputTypes") = c('_p_CASConnection')
class(`SW_CASConnection_close`) = c("SWIGFunction", class('SW_CASConnection_close'))
# Start of SW_CASConnection_invoke
`SW_CASConnection_invoke` = function(self, action_name, params, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
action_name = as(action_name, "character");
if (inherits(params, "ExternalReference")) params = slot(params,"ref")
;.Call('R_swig_SW_CASConnection_invoke', self, action_name, params, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASConnection_invoke`, 'returnType') = 'integer'
attr(`SW_CASConnection_invoke`, "inputTypes") = c('_p_CASConnection', 'character', '_p_CASValueList')
class(`SW_CASConnection_invoke`) = c("SWIGFunction", class('SW_CASConnection_invoke'))
# Start of SW_CASConnection_upload
`SW_CASConnection_upload` = function(self, file_name, params)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
file_name = as(file_name, "character");
if (inherits(params, "ExternalReference")) params = slot(params,"ref")
;ans = .Call('R_swig_SW_CASConnection_upload', self, file_name, params, PACKAGE='rswat');
ans <- if (is.null(ans)) ans
else new("_p_CASResponse", ref=ans);
ans
}
attr(`SW_CASConnection_upload`, 'returnType') = '_p_CASResponse'
attr(`SW_CASConnection_upload`, "inputTypes") = c('_p_CASConnection', 'character', '_p_CASValueList')
class(`SW_CASConnection_upload`) = c("SWIGFunction", class('SW_CASConnection_upload'))
# Start of SW_CASConnection_stopAction
`SW_CASConnection_stopAction` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASConnection_stopAction', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASConnection_stopAction`, 'returnType') = 'integer'
attr(`SW_CASConnection_stopAction`, "inputTypes") = c('_p_CASConnection')
class(`SW_CASConnection_stopAction`) = c("SWIGFunction", class('SW_CASConnection_stopAction'))
# Start of SW_CASConnection_getOptionType
`SW_CASConnection_getOptionType` = function(self, option)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
option = as(option, "character");
;.Call('R_swig_SW_CASConnection_getOptionType', self, option, PACKAGE='rswat');
}
attr(`SW_CASConnection_getOptionType`, 'returnType') = 'character'
attr(`SW_CASConnection_getOptionType`, "inputTypes") = c('_p_CASConnection', 'character')
class(`SW_CASConnection_getOptionType`) = c("SWIGFunction", class('SW_CASConnection_getOptionType'))
# Start of SW_CASConnection_setBooleanOption
`SW_CASConnection_setBooleanOption` = function(self, option, value, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
option = as(option, "character");
value = as.integer(value);
if(length(value) > 1) {
warning("using only the first element of value");
};
;.Call('R_swig_SW_CASConnection_setBooleanOption', self, option, value, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASConnection_setBooleanOption`, 'returnType') = 'integer'
attr(`SW_CASConnection_setBooleanOption`, "inputTypes") = c('_p_CASConnection', 'character', 'integer')
class(`SW_CASConnection_setBooleanOption`) = c("SWIGFunction", class('SW_CASConnection_setBooleanOption'))
# Start of SW_CASConnection_getBooleanOption
`SW_CASConnection_getBooleanOption` = function(self, option, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
option = as(option, "character");
;.Call('R_swig_SW_CASConnection_getBooleanOption', self, option, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASConnection_getBooleanOption`, 'returnType') = 'integer'
attr(`SW_CASConnection_getBooleanOption`, "inputTypes") = c('_p_CASConnection', 'character')
class(`SW_CASConnection_getBooleanOption`) = c("SWIGFunction", class('SW_CASConnection_getBooleanOption'))
# Start of SW_CASConnection_setInt32Option
`SW_CASConnection_setInt32Option` = function(self, option, value, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
option = as(option, "character");
value = as.integer(value);
if(length(value) > 1) {
warning("using only the first element of value");
};
;.Call('R_swig_SW_CASConnection_setInt32Option', self, option, value, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASConnection_setInt32Option`, 'returnType') = 'integer'
attr(`SW_CASConnection_setInt32Option`, "inputTypes") = c('_p_CASConnection', 'character', 'integer')
class(`SW_CASConnection_setInt32Option`) = c("SWIGFunction", class('SW_CASConnection_setInt32Option'))
# Start of SW_CASConnection_getInt32Option
`SW_CASConnection_getInt32Option` = function(self, option, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
option = as(option, "character");
;.Call('R_swig_SW_CASConnection_getInt32Option', self, option, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASConnection_getInt32Option`, 'returnType') = 'integer'
attr(`SW_CASConnection_getInt32Option`, "inputTypes") = c('_p_CASConnection', 'character')
class(`SW_CASConnection_getInt32Option`) = c("SWIGFunction", class('SW_CASConnection_getInt32Option'))
# Start of SW_CASConnection_setInt64Option
`SW_CASConnection_setInt64Option` = function(self, option, value, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
option = as(option, "character");
value = as.integer(value);
if(length(value) > 1) {
warning("using only the first element of value");
};
;.Call('R_swig_SW_CASConnection_setInt64Option', self, option, value, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASConnection_setInt64Option`, 'returnType') = 'integer'
attr(`SW_CASConnection_setInt64Option`, "inputTypes") = c('_p_CASConnection', 'character', 'integer')
class(`SW_CASConnection_setInt64Option`) = c("SWIGFunction", class('SW_CASConnection_setInt64Option'))
# Start of SW_CASConnection_setInt64OptionFromString
`SW_CASConnection_setInt64OptionFromString` = function(self, option, value, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
option = as(option, "character");
value = as(value, "character");
;.Call('R_swig_SW_CASConnection_setInt64OptionFromString', self, option, value, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASConnection_setInt64OptionFromString`, 'returnType') = 'integer'
attr(`SW_CASConnection_setInt64OptionFromString`, "inputTypes") = c('_p_CASConnection', 'character', 'character')
class(`SW_CASConnection_setInt64OptionFromString`) = c("SWIGFunction", class('SW_CASConnection_setInt64OptionFromString'))
# Start of SW_CASConnection_getInt64Option
`SW_CASConnection_getInt64Option` = function(self, option, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
option = as(option, "character");
;.Call('R_swig_SW_CASConnection_getInt64Option', self, option, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASConnection_getInt64Option`, 'returnType') = 'integer'
attr(`SW_CASConnection_getInt64Option`, "inputTypes") = c('_p_CASConnection', 'character')
class(`SW_CASConnection_getInt64Option`) = c("SWIGFunction", class('SW_CASConnection_getInt64Option'))
# Start of SW_CASConnection_setStringOption
`SW_CASConnection_setStringOption` = function(self, option, value, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
option = as(option, "character");
value = as(value, "character");
;.Call('R_swig_SW_CASConnection_setStringOption', self, option, value, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASConnection_setStringOption`, 'returnType') = 'integer'
attr(`SW_CASConnection_setStringOption`, "inputTypes") = c('_p_CASConnection', 'character', 'character')
class(`SW_CASConnection_setStringOption`) = c("SWIGFunction", class('SW_CASConnection_setStringOption'))
# Start of SW_CASConnection_getStringOption
`SW_CASConnection_getStringOption` = function(self, option)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
option = as(option, "character");
;.Call('R_swig_SW_CASConnection_getStringOption', self, option, PACKAGE='rswat');
}
attr(`SW_CASConnection_getStringOption`, 'returnType') = 'character'
attr(`SW_CASConnection_getStringOption`, "inputTypes") = c('_p_CASConnection', 'character')
class(`SW_CASConnection_getStringOption`) = c("SWIGFunction", class('SW_CASConnection_getStringOption'))
# Start of SW_CASConnection_setDoubleOption
`SW_CASConnection_setDoubleOption` = function(self, option, value, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
option = as(option, "character");
;.Call('R_swig_SW_CASConnection_setDoubleOption', self, option, value, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASConnection_setDoubleOption`, 'returnType') = 'integer'
attr(`SW_CASConnection_setDoubleOption`, "inputTypes") = c('_p_CASConnection', 'character', 'numeric')
class(`SW_CASConnection_setDoubleOption`) = c("SWIGFunction", class('SW_CASConnection_setDoubleOption'))
# Start of SW_CASConnection_getDoubleOption
`SW_CASConnection_getDoubleOption` = function(self, option, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
option = as(option, "character");
;.Call('R_swig_SW_CASConnection_getDoubleOption', self, option, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASConnection_getDoubleOption`, 'returnType') = 'numeric'
attr(`SW_CASConnection_getDoubleOption`, "inputTypes") = c('_p_CASConnection', 'character')
class(`SW_CASConnection_getDoubleOption`) = c("SWIGFunction", class('SW_CASConnection_getDoubleOption'))
# Start of SW_CASConnection_enableDataMessages
`SW_CASConnection_enableDataMessages` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASConnection_enableDataMessages', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASConnection_enableDataMessages`, 'returnType') = 'integer'
attr(`SW_CASConnection_enableDataMessages`, "inputTypes") = c('_p_CASConnection')
class(`SW_CASConnection_enableDataMessages`) = c("SWIGFunction", class('SW_CASConnection_enableDataMessages'))
# Start of SW_CASConnection_disableDataMessages
`SW_CASConnection_disableDataMessages` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASConnection_disableDataMessages', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASConnection_disableDataMessages`, 'returnType') = 'integer'
attr(`SW_CASConnection_disableDataMessages`, "inputTypes") = c('_p_CASConnection')
class(`SW_CASConnection_disableDataMessages`) = c("SWIGFunction", class('SW_CASConnection_disableDataMessages'))
# Start of SW_CASConnection_getLastErrorMessage
`SW_CASConnection_getLastErrorMessage` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASConnection_getLastErrorMessage', self, PACKAGE='rswat');
}
attr(`SW_CASConnection_getLastErrorMessage`, 'returnType') = 'character'
attr(`SW_CASConnection_getLastErrorMessage`, "inputTypes") = c('_p_CASConnection')
class(`SW_CASConnection_getLastErrorMessage`) = c("SWIGFunction", class('SW_CASConnection_getLastErrorMessage'))
# Start of accessor method for CASConnection
setMethod('$', '_p_CASConnection', function(x, name)
{
accessorFuns = list('getTypeName' = SW_CASConnection_getTypeName, 'getSOptions' = SW_CASConnection_getSOptions, 'destroy' = SW_CASConnection_destroy, 'isNULL' = SW_CASConnection_isNULL, 'isConnected' = SW_CASConnection_isConnected, 'hasPendingResponses' = SW_CASConnection_hasPendingResponses, 'setZeroIndexedParameters' = SW_CASConnection_setZeroIndexedParameters, 'copy' = SW_CASConnection_copy, 'getHostname' = SW_CASConnection_getHostname, 'getUsername' = SW_CASConnection_getUsername, 'getPort' = SW_CASConnection_getPort, 'getSession' = SW_CASConnection_getSession, 'receive' = SW_CASConnection_receive, 'close' = SW_CASConnection_close, 'invoke' = SW_CASConnection_invoke, 'upload' = SW_CASConnection_upload, 'stopAction' = SW_CASConnection_stopAction, 'getOptionType' = SW_CASConnection_getOptionType, 'setBooleanOption' = SW_CASConnection_setBooleanOption, 'getBooleanOption' = SW_CASConnection_getBooleanOption, 'setInt32Option' = SW_CASConnection_setInt32Option, 'getInt32Option' = SW_CASConnection_getInt32Option, 'setInt64Option' = SW_CASConnection_setInt64Option, 'setInt64OptionFromString' = SW_CASConnection_setInt64OptionFromString, 'getInt64Option' = SW_CASConnection_getInt64Option, 'setStringOption' = SW_CASConnection_setStringOption, 'getStringOption' = SW_CASConnection_getStringOption, 'setDoubleOption' = SW_CASConnection_setDoubleOption, 'getDoubleOption' = SW_CASConnection_getDoubleOption, 'enableDataMessages' = SW_CASConnection_enableDataMessages, 'disableDataMessages' = SW_CASConnection_disableDataMessages, 'getLastErrorMessage' = SW_CASConnection_getLastErrorMessage);
; idx = pmatch(name, names(accessorFuns));
if(is.na(idx))
return(callNextMethod(x, name));
f = accessorFuns[[idx]];
function(...){
f(x, ...)
};
}
);
# end of accessor method for CASConnection
setMethod('delete', '_p_CASConnection', function(obj) {delete_CASConnection(obj)})
# Start definition of copy functions & methods for CASConnection
CopyToR_CASConnection = function(value, obj = new("CASConnection"))
{
obj;
}
CopyToC_CASConnection = function(value, obj)
{
obj
}
# Start definition of copy methods for CASConnection
setMethod('copyToR', '_p_CASConnection', CopyToR_CASConnection);
setMethod('copyToC', 'CASConnection', CopyToC_CASConnection);
# End definition of copy methods for CASConnection
# End definition of copy functions & methods for CASConnection
# Start of delete_SW_CASRequest
`delete_SW_CASRequest` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_delete_SW_CASRequest', self, PACKAGE='rswat');
}
attr(`delete_SW_CASRequest`, 'returnType') = 'void'
attr(`delete_SW_CASRequest`, "inputTypes") = c('_p_CASRequest')
class(`delete_SW_CASRequest`) = c("SWIGFunction", class('delete_SW_CASRequest'))
# Start of SW_CASRequest_getTypeName
`SW_CASRequest_getTypeName` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASRequest_getTypeName', self, PACKAGE='rswat');
}
attr(`SW_CASRequest_getTypeName`, 'returnType') = 'character'
attr(`SW_CASRequest_getTypeName`, "inputTypes") = c('_p_CASRequest')
class(`SW_CASRequest_getTypeName`) = c("SWIGFunction", class('SW_CASRequest_getTypeName'))
# Start of SW_CASRequest_getSOptions
`SW_CASRequest_getSOptions` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASRequest_getSOptions', self, PACKAGE='rswat');
}
attr(`SW_CASRequest_getSOptions`, 'returnType') = 'character'
attr(`SW_CASRequest_getSOptions`, "inputTypes") = c('_p_CASRequest')
class(`SW_CASRequest_getSOptions`) = c("SWIGFunction", class('SW_CASRequest_getSOptions'))
# Start of SW_CASRequest_destroy
`SW_CASRequest_destroy` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASRequest_destroy', self, PACKAGE='rswat');
}
attr(`SW_CASRequest_destroy`, 'returnType') = 'void'
attr(`SW_CASRequest_destroy`, "inputTypes") = c('_p_CASRequest')
class(`SW_CASRequest_destroy`) = c("SWIGFunction", class('SW_CASRequest_destroy'))
# Start of SW_CASRequest_isNULL
`SW_CASRequest_isNULL` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASRequest_isNULL', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASRequest_isNULL`, 'returnType') = 'integer'
attr(`SW_CASRequest_isNULL`, "inputTypes") = c('_p_CASRequest')
class(`SW_CASRequest_isNULL`) = c("SWIGFunction", class('SW_CASRequest_isNULL'))
# Start of SW_CASRequest_getActionName
`SW_CASRequest_getActionName` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASRequest_getActionName', self, PACKAGE='rswat');
}
attr(`SW_CASRequest_getActionName`, 'returnType') = 'character'
attr(`SW_CASRequest_getActionName`, "inputTypes") = c('_p_CASRequest')
class(`SW_CASRequest_getActionName`) = c("SWIGFunction", class('SW_CASRequest_getActionName'))
# Start of SW_CASRequest_getNParameters
`SW_CASRequest_getNParameters` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASRequest_getNParameters', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASRequest_getNParameters`, 'returnType') = 'integer'
attr(`SW_CASRequest_getNParameters`, "inputTypes") = c('_p_CASRequest')
class(`SW_CASRequest_getNParameters`) = c("SWIGFunction", class('SW_CASRequest_getNParameters'))
# Start of SW_CASRequest_getParameters
`SW_CASRequest_getParameters` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;ans = .Call('R_swig_SW_CASRequest_getParameters', self, PACKAGE='rswat');
ans <- if (is.null(ans)) ans
else new("_p_CASValueList", ref=ans);
ans
}
attr(`SW_CASRequest_getParameters`, 'returnType') = '_p_CASValueList'
attr(`SW_CASRequest_getParameters`, "inputTypes") = c('_p_CASRequest')
class(`SW_CASRequest_getParameters`) = c("SWIGFunction", class('SW_CASRequest_getParameters'))
# Start of SW_CASRequest_getLastErrorMessage
`SW_CASRequest_getLastErrorMessage` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASRequest_getLastErrorMessage', self, PACKAGE='rswat');
}
attr(`SW_CASRequest_getLastErrorMessage`, 'returnType') = 'character'
attr(`SW_CASRequest_getLastErrorMessage`, "inputTypes") = c('_p_CASRequest')
class(`SW_CASRequest_getLastErrorMessage`) = c("SWIGFunction", class('SW_CASRequest_getLastErrorMessage'))
# Start of new_SW_CASRequest
`SW_CASRequest` = function(.copy = FALSE)
{
;ans = .Call('R_swig_new_SW_CASRequest', as.logical(.copy), PACKAGE='rswat');
ans <- if (is.null(ans)) ans
else new("_p_CASRequest", ref=ans);
reg.finalizer(ans@ref, delete_SW_CASRequest)
ans
}
attr(`SW_CASRequest`, 'returnType') = '_p_CASRequest'
class(`SW_CASRequest`) = c("SWIGFunction", class('SW_CASRequest'))
# Start of accessor method for CASRequest
setMethod('$', '_p_CASRequest', function(x, name)
{
accessorFuns = list('getTypeName' = SW_CASRequest_getTypeName, 'getSOptions' = SW_CASRequest_getSOptions, 'destroy' = SW_CASRequest_destroy, 'isNULL' = SW_CASRequest_isNULL, 'getActionName' = SW_CASRequest_getActionName, 'getNParameters' = SW_CASRequest_getNParameters, 'getParameters' = SW_CASRequest_getParameters, 'getLastErrorMessage' = SW_CASRequest_getLastErrorMessage);
; idx = pmatch(name, names(accessorFuns));
if(is.na(idx))
return(callNextMethod(x, name));
f = accessorFuns[[idx]];
function(...){
f(x, ...)
};
}
);
# end of accessor method for CASRequest
setMethod('delete', '_p_CASRequest', function(obj) {delete_CASRequest(obj)})
# Start definition of copy functions & methods for CASRequest
CopyToR_CASRequest = function(value, obj = new("CASRequest"))
{
obj;
}
CopyToC_CASRequest = function(value, obj)
{
obj
}
# Start definition of copy methods for CASRequest
setMethod('copyToR', '_p_CASRequest', CopyToR_CASRequest);
setMethod('copyToC', 'CASRequest', CopyToC_CASRequest);
# End definition of copy methods for CASRequest
# End definition of copy functions & methods for CASRequest
# Start of delete_SW_CASMessage
`delete_SW_CASMessage` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_delete_SW_CASMessage', self, PACKAGE='rswat');
}
attr(`delete_SW_CASMessage`, 'returnType') = 'void'
attr(`delete_SW_CASMessage`, "inputTypes") = c('_p_CASMessage')
class(`delete_SW_CASMessage`) = c("SWIGFunction", class('delete_SW_CASMessage'))
# Start of SW_CASMessage_destroy
`SW_CASMessage_destroy` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASMessage_destroy', self, PACKAGE='rswat');
}
attr(`SW_CASMessage_destroy`, 'returnType') = 'void'
attr(`SW_CASMessage_destroy`, "inputTypes") = c('_p_CASMessage')
class(`SW_CASMessage_destroy`) = c("SWIGFunction", class('SW_CASMessage_destroy'))
# Start of SW_CASMessage_getTypeName
`SW_CASMessage_getTypeName` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASMessage_getTypeName', self, PACKAGE='rswat');
}
attr(`SW_CASMessage_getTypeName`, 'returnType') = 'character'
attr(`SW_CASMessage_getTypeName`, "inputTypes") = c('_p_CASMessage')
class(`SW_CASMessage_getTypeName`) = c("SWIGFunction", class('SW_CASMessage_getTypeName'))
# Start of SW_CASMessage_getSOptions
`SW_CASMessage_getSOptions` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASMessage_getSOptions', self, PACKAGE='rswat');
}
attr(`SW_CASMessage_getSOptions`, 'returnType') = 'character'
attr(`SW_CASMessage_getSOptions`, "inputTypes") = c('_p_CASMessage')
class(`SW_CASMessage_getSOptions`) = c("SWIGFunction", class('SW_CASMessage_getSOptions'))
# Start of SW_CASMessage_isNULL
`SW_CASMessage_isNULL` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASMessage_isNULL', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASMessage_isNULL`, 'returnType') = 'integer'
attr(`SW_CASMessage_isNULL`, "inputTypes") = c('_p_CASMessage')
class(`SW_CASMessage_isNULL`) = c("SWIGFunction", class('SW_CASMessage_isNULL'))
# Start of SW_CASMessage_getTag
`SW_CASMessage_getTag` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASMessage_getTag', self, PACKAGE='rswat');
}
attr(`SW_CASMessage_getTag`, 'returnType') = 'character'
attr(`SW_CASMessage_getTag`, "inputTypes") = c('_p_CASMessage')
class(`SW_CASMessage_getTag`) = c("SWIGFunction", class('SW_CASMessage_getTag'))
# Start of SW_CASMessage_getType
`SW_CASMessage_getType` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASMessage_getType', self, PACKAGE='rswat');
}
attr(`SW_CASMessage_getType`, 'returnType') = 'character'
attr(`SW_CASMessage_getType`, "inputTypes") = c('_p_CASMessage')
class(`SW_CASMessage_getType`) = c("SWIGFunction", class('SW_CASMessage_getType'))
# Start of SW_CASMessage_getFlags
`SW_CASMessage_getFlags` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASMessage_getFlags', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASMessage_getFlags`, 'returnType') = 'integer'
attr(`SW_CASMessage_getFlags`, "inputTypes") = c('_p_CASMessage')
class(`SW_CASMessage_getFlags`) = c("SWIGFunction", class('SW_CASMessage_getFlags'))
# Start of SW_CASMessage_toResponse
`SW_CASMessage_toResponse` = function(self, connection)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
if (inherits(connection, "ExternalReference")) connection = slot(connection,"ref")
;ans = .Call('R_swig_SW_CASMessage_toResponse', self, connection, PACKAGE='rswat');
ans <- if (is.null(ans)) ans
else new("_p_CASResponse", ref=ans);
ans
}
attr(`SW_CASMessage_toResponse`, 'returnType') = '_p_CASResponse'
attr(`SW_CASMessage_toResponse`, "inputTypes") = c('_p_CASMessage', '_p_CASConnection')
class(`SW_CASMessage_toResponse`) = c("SWIGFunction", class('SW_CASMessage_toResponse'))
# Start of SW_CASMessage_toRequest
`SW_CASMessage_toRequest` = function(self, connection)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
if (inherits(connection, "ExternalReference")) connection = slot(connection,"ref")
;ans = .Call('R_swig_SW_CASMessage_toRequest', self, connection, PACKAGE='rswat');
ans <- if (is.null(ans)) ans
else new("_p_CASRequest", ref=ans);
ans
}
attr(`SW_CASMessage_toRequest`, 'returnType') = '_p_CASRequest'
attr(`SW_CASMessage_toRequest`, "inputTypes") = c('_p_CASMessage', '_p_CASConnection')
class(`SW_CASMessage_toRequest`) = c("SWIGFunction", class('SW_CASMessage_toRequest'))
# Start of SW_CASMessage_getLastErrorMessage
`SW_CASMessage_getLastErrorMessage` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASMessage_getLastErrorMessage', self, PACKAGE='rswat');
}
attr(`SW_CASMessage_getLastErrorMessage`, 'returnType') = 'character'
attr(`SW_CASMessage_getLastErrorMessage`, "inputTypes") = c('_p_CASMessage')
class(`SW_CASMessage_getLastErrorMessage`) = c("SWIGFunction", class('SW_CASMessage_getLastErrorMessage'))
# Start of new_SW_CASMessage
`SW_CASMessage` = function(.copy = FALSE)
{
;ans = .Call('R_swig_new_SW_CASMessage', as.logical(.copy), PACKAGE='rswat');
ans <- if (is.null(ans)) ans
else new("_p_CASMessage", ref=ans);
reg.finalizer(ans@ref, delete_SW_CASMessage)
ans
}
attr(`SW_CASMessage`, 'returnType') = '_p_CASMessage'
class(`SW_CASMessage`) = c("SWIGFunction", class('SW_CASMessage'))
# Start of accessor method for CASMessage
setMethod('$', '_p_CASMessage', function(x, name)
{
accessorFuns = list('destroy' = SW_CASMessage_destroy, 'getTypeName' = SW_CASMessage_getTypeName, 'getSOptions' = SW_CASMessage_getSOptions, 'isNULL' = SW_CASMessage_isNULL, 'getTag' = SW_CASMessage_getTag, 'getType' = SW_CASMessage_getType, 'getFlags' = SW_CASMessage_getFlags, 'toResponse' = SW_CASMessage_toResponse, 'toRequest' = SW_CASMessage_toRequest, 'getLastErrorMessage' = SW_CASMessage_getLastErrorMessage);
; idx = pmatch(name, names(accessorFuns));
if(is.na(idx))
return(callNextMethod(x, name));
f = accessorFuns[[idx]];
function(...){
f(x, ...)
};
}
);
# end of accessor method for CASMessage
setMethod('delete', '_p_CASMessage', function(obj) {delete_CASMessage(obj)})
# Start definition of copy functions & methods for CASMessage
CopyToR_CASMessage = function(value, obj = new("CASMessage"))
{
obj;
}
CopyToC_CASMessage = function(value, obj)
{
obj
}
# Start definition of copy methods for CASMessage
setMethod('copyToR', '_p_CASMessage', CopyToR_CASMessage);
setMethod('copyToC', 'CASMessage', CopyToC_CASMessage);
# End definition of copy methods for CASMessage
# End definition of copy functions & methods for CASMessage
# Start of delete_SW_CASResponse
`delete_SW_CASResponse` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_delete_SW_CASResponse', self, PACKAGE='rswat');
}
attr(`delete_SW_CASResponse`, 'returnType') = 'void'
attr(`delete_SW_CASResponse`, "inputTypes") = c('_p_CASResponse')
class(`delete_SW_CASResponse`) = c("SWIGFunction", class('delete_SW_CASResponse'))
# Start of SW_CASResponse_destroy
`SW_CASResponse_destroy` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_destroy', self, PACKAGE='rswat');
}
attr(`SW_CASResponse_destroy`, 'returnType') = 'void'
attr(`SW_CASResponse_destroy`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_destroy`) = c("SWIGFunction", class('SW_CASResponse_destroy'))
# Start of SW_CASResponse_getTypeName
`SW_CASResponse_getTypeName` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_getTypeName', self, PACKAGE='rswat');
}
attr(`SW_CASResponse_getTypeName`, 'returnType') = 'character'
attr(`SW_CASResponse_getTypeName`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_getTypeName`) = c("SWIGFunction", class('SW_CASResponse_getTypeName'))
# Start of SW_CASResponse_getSOptions
`SW_CASResponse_getSOptions` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_getSOptions', self, PACKAGE='rswat');
}
attr(`SW_CASResponse_getSOptions`, 'returnType') = 'character'
attr(`SW_CASResponse_getSOptions`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_getSOptions`) = c("SWIGFunction", class('SW_CASResponse_getSOptions'))
# Start of SW_CASResponse_isNULL
`SW_CASResponse_isNULL` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_isNULL', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASResponse_isNULL`, 'returnType') = 'integer'
attr(`SW_CASResponse_isNULL`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_isNULL`) = c("SWIGFunction", class('SW_CASResponse_isNULL'))
# Start of SW_CASResponse_getNMessages
`SW_CASResponse_getNMessages` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_getNMessages', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASResponse_getNMessages`, 'returnType') = 'integer'
attr(`SW_CASResponse_getNMessages`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_getNMessages`) = c("SWIGFunction", class('SW_CASResponse_getNMessages'))
# Start of SW_CASResponse_getNextMessage
`SW_CASResponse_getNextMessage` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_getNextMessage', self, PACKAGE='rswat');
}
attr(`SW_CASResponse_getNextMessage`, 'returnType') = 'character'
attr(`SW_CASResponse_getNextMessage`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_getNextMessage`) = c("SWIGFunction", class('SW_CASResponse_getNextMessage'))
# Start of SW_CASResponse_getMessageLevel
`SW_CASResponse_getMessageLevel` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_getMessageLevel', self, PACKAGE='rswat');
}
attr(`SW_CASResponse_getMessageLevel`, 'returnType') = 'character'
attr(`SW_CASResponse_getMessageLevel`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_getMessageLevel`) = c("SWIGFunction", class('SW_CASResponse_getMessageLevel'))
# Start of SW_CASResponse_getNUpdateFlags
`SW_CASResponse_getNUpdateFlags` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_getNUpdateFlags', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASResponse_getNUpdateFlags`, 'returnType') = 'integer'
attr(`SW_CASResponse_getNUpdateFlags`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_getNUpdateFlags`) = c("SWIGFunction", class('SW_CASResponse_getNUpdateFlags'))
# Start of SW_CASResponse_getNextUpdateFlag
`SW_CASResponse_getNextUpdateFlag` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_getNextUpdateFlag', self, PACKAGE='rswat');
}
attr(`SW_CASResponse_getNextUpdateFlag`, 'returnType') = 'character'
attr(`SW_CASResponse_getNextUpdateFlag`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_getNextUpdateFlag`) = c("SWIGFunction", class('SW_CASResponse_getNextUpdateFlag'))
# Start of SW_CASResponse_getNResults
`SW_CASResponse_getNResults` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_getNResults', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASResponse_getNResults`, 'returnType') = 'integer'
attr(`SW_CASResponse_getNResults`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_getNResults`) = c("SWIGFunction", class('SW_CASResponse_getNResults'))
# Start of SW_CASResponse_getNextResult
`SW_CASResponse_getNextResult` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;ans = .Call('R_swig_SW_CASResponse_getNextResult', self, PACKAGE='rswat');
ans <- if (is.null(ans)) ans
else new("_p_CASValue", ref=ans);
ans
}
attr(`SW_CASResponse_getNextResult`, 'returnType') = '_p_CASValue'
attr(`SW_CASResponse_getNextResult`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_getNextResult`) = c("SWIGFunction", class('SW_CASResponse_getNextResult'))
# Start of SW_CASResponse_hasDisposition
`SW_CASResponse_hasDisposition` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_hasDisposition', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASResponse_hasDisposition`, 'returnType') = 'integer'
attr(`SW_CASResponse_hasDisposition`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_hasDisposition`) = c("SWIGFunction", class('SW_CASResponse_hasDisposition'))
# Start of SW_CASResponse_getDispositionSeverity
`SW_CASResponse_getDispositionSeverity` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_getDispositionSeverity', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASResponse_getDispositionSeverity`, 'returnType') = 'integer'
attr(`SW_CASResponse_getDispositionSeverity`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_getDispositionSeverity`) = c("SWIGFunction", class('SW_CASResponse_getDispositionSeverity'))
# Start of SW_CASResponse_getDispositionReason
`SW_CASResponse_getDispositionReason` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_getDispositionReason', self, PACKAGE='rswat');
}
attr(`SW_CASResponse_getDispositionReason`, 'returnType') = 'character'
attr(`SW_CASResponse_getDispositionReason`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_getDispositionReason`) = c("SWIGFunction", class('SW_CASResponse_getDispositionReason'))
# Start of SW_CASResponse_getDispositionStatus
`SW_CASResponse_getDispositionStatus` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_getDispositionStatus', self, PACKAGE='rswat');
}
attr(`SW_CASResponse_getDispositionStatus`, 'returnType') = 'character'
attr(`SW_CASResponse_getDispositionStatus`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_getDispositionStatus`) = c("SWIGFunction", class('SW_CASResponse_getDispositionStatus'))
# Start of SW_CASResponse_getDispositionDebug
`SW_CASResponse_getDispositionDebug` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_getDispositionDebug', self, PACKAGE='rswat');
}
attr(`SW_CASResponse_getDispositionDebug`, 'returnType') = 'character'
attr(`SW_CASResponse_getDispositionDebug`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_getDispositionDebug`) = c("SWIGFunction", class('SW_CASResponse_getDispositionDebug'))
# Start of SW_CASResponse_getDispositionStatusCode
`SW_CASResponse_getDispositionStatusCode` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_getDispositionStatusCode', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASResponse_getDispositionStatusCode`, 'returnType') = 'integer'
attr(`SW_CASResponse_getDispositionStatusCode`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_getDispositionStatusCode`) = c("SWIGFunction", class('SW_CASResponse_getDispositionStatusCode'))
# Start of SW_CASResponse_getElapsedTime
`SW_CASResponse_getElapsedTime` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_getElapsedTime', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASResponse_getElapsedTime`, 'returnType') = 'numeric'
attr(`SW_CASResponse_getElapsedTime`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_getElapsedTime`) = c("SWIGFunction", class('SW_CASResponse_getElapsedTime'))
# Start of SW_CASResponse_getDataMovementTime
`SW_CASResponse_getDataMovementTime` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_getDataMovementTime', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASResponse_getDataMovementTime`, 'returnType') = 'numeric'
attr(`SW_CASResponse_getDataMovementTime`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_getDataMovementTime`) = c("SWIGFunction", class('SW_CASResponse_getDataMovementTime'))
# Start of SW_CASResponse_getDataMovementBytes
`SW_CASResponse_getDataMovementBytes` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_getDataMovementBytes', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASResponse_getDataMovementBytes`, 'returnType') = 'integer'
attr(`SW_CASResponse_getDataMovementBytes`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_getDataMovementBytes`) = c("SWIGFunction", class('SW_CASResponse_getDataMovementBytes'))
# Start of SW_CASResponse_getRowsRead
`SW_CASResponse_getRowsRead` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_getRowsRead', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASResponse_getRowsRead`, 'returnType') = 'integer'
attr(`SW_CASResponse_getRowsRead`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_getRowsRead`) = c("SWIGFunction", class('SW_CASResponse_getRowsRead'))
# Start of SW_CASResponse_getRowsWritten
`SW_CASResponse_getRowsWritten` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_getRowsWritten', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASResponse_getRowsWritten`, 'returnType') = 'integer'
attr(`SW_CASResponse_getRowsWritten`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_getRowsWritten`) = c("SWIGFunction", class('SW_CASResponse_getRowsWritten'))
# Start of SW_CASResponse_getCPUUserTime
`SW_CASResponse_getCPUUserTime` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_getCPUUserTime', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASResponse_getCPUUserTime`, 'returnType') = 'numeric'
attr(`SW_CASResponse_getCPUUserTime`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_getCPUUserTime`) = c("SWIGFunction", class('SW_CASResponse_getCPUUserTime'))
# Start of SW_CASResponse_getCPUSystemTime
`SW_CASResponse_getCPUSystemTime` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_getCPUSystemTime', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASResponse_getCPUSystemTime`, 'returnType') = 'numeric'
attr(`SW_CASResponse_getCPUSystemTime`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_getCPUSystemTime`) = c("SWIGFunction", class('SW_CASResponse_getCPUSystemTime'))
# Start of SW_CASResponse_getSystemTotalMemory
`SW_CASResponse_getSystemTotalMemory` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_getSystemTotalMemory', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASResponse_getSystemTotalMemory`, 'returnType') = 'integer'
attr(`SW_CASResponse_getSystemTotalMemory`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_getSystemTotalMemory`) = c("SWIGFunction", class('SW_CASResponse_getSystemTotalMemory'))
# Start of SW_CASResponse_getSystemNodes
`SW_CASResponse_getSystemNodes` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_getSystemNodes', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASResponse_getSystemNodes`, 'returnType') = 'integer'
attr(`SW_CASResponse_getSystemNodes`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_getSystemNodes`) = c("SWIGFunction", class('SW_CASResponse_getSystemNodes'))
# Start of SW_CASResponse_getSystemCores
`SW_CASResponse_getSystemCores` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_getSystemCores', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASResponse_getSystemCores`, 'returnType') = 'integer'
attr(`SW_CASResponse_getSystemCores`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_getSystemCores`) = c("SWIGFunction", class('SW_CASResponse_getSystemCores'))
# Start of SW_CASResponse_getMemory
`SW_CASResponse_getMemory` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_getMemory', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASResponse_getMemory`, 'returnType') = 'integer'
attr(`SW_CASResponse_getMemory`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_getMemory`) = c("SWIGFunction", class('SW_CASResponse_getMemory'))
# Start of SW_CASResponse_getMemoryOS
`SW_CASResponse_getMemoryOS` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_getMemoryOS', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASResponse_getMemoryOS`, 'returnType') = 'integer'
attr(`SW_CASResponse_getMemoryOS`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_getMemoryOS`) = c("SWIGFunction", class('SW_CASResponse_getMemoryOS'))
# Start of SW_CASResponse_getMemorySystem
`SW_CASResponse_getMemorySystem` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_getMemorySystem', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASResponse_getMemorySystem`, 'returnType') = 'integer'
attr(`SW_CASResponse_getMemorySystem`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_getMemorySystem`) = c("SWIGFunction", class('SW_CASResponse_getMemorySystem'))
# Start of SW_CASResponse_getMemoryQuota
`SW_CASResponse_getMemoryQuota` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_getMemoryQuota', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASResponse_getMemoryQuota`, 'returnType') = 'integer'
attr(`SW_CASResponse_getMemoryQuota`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_getMemoryQuota`) = c("SWIGFunction", class('SW_CASResponse_getMemoryQuota'))
# Start of SW_CASResponse_getLastErrorMessage
`SW_CASResponse_getLastErrorMessage` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASResponse_getLastErrorMessage', self, PACKAGE='rswat');
}
attr(`SW_CASResponse_getLastErrorMessage`, 'returnType') = 'character'
attr(`SW_CASResponse_getLastErrorMessage`, "inputTypes") = c('_p_CASResponse')
class(`SW_CASResponse_getLastErrorMessage`) = c("SWIGFunction", class('SW_CASResponse_getLastErrorMessage'))
# Start of new_SW_CASResponse
`SW_CASResponse` = function(.copy = FALSE)
{
;ans = .Call('R_swig_new_SW_CASResponse', as.logical(.copy), PACKAGE='rswat');
ans <- if (is.null(ans)) ans
else new("_p_CASResponse", ref=ans);
reg.finalizer(ans@ref, delete_SW_CASResponse)
ans
}
attr(`SW_CASResponse`, 'returnType') = '_p_CASResponse'
class(`SW_CASResponse`) = c("SWIGFunction", class('SW_CASResponse'))
# Start of accessor method for CASResponse
setMethod('$', '_p_CASResponse', function(x, name)
{
accessorFuns = list('destroy' = SW_CASResponse_destroy, 'getTypeName' = SW_CASResponse_getTypeName, 'getSOptions' = SW_CASResponse_getSOptions, 'isNULL' = SW_CASResponse_isNULL, 'getNMessages' = SW_CASResponse_getNMessages, 'getNextMessage' = SW_CASResponse_getNextMessage, 'getMessageLevel' = SW_CASResponse_getMessageLevel, 'getNUpdateFlags' = SW_CASResponse_getNUpdateFlags, 'getNextUpdateFlag' = SW_CASResponse_getNextUpdateFlag, 'getNResults' = SW_CASResponse_getNResults, 'getNextResult' = SW_CASResponse_getNextResult, 'hasDisposition' = SW_CASResponse_hasDisposition, 'getDispositionSeverity' = SW_CASResponse_getDispositionSeverity, 'getDispositionReason' = SW_CASResponse_getDispositionReason, 'getDispositionStatus' = SW_CASResponse_getDispositionStatus, 'getDispositionDebug' = SW_CASResponse_getDispositionDebug, 'getDispositionStatusCode' = SW_CASResponse_getDispositionStatusCode, 'getElapsedTime' = SW_CASResponse_getElapsedTime, 'getDataMovementTime' = SW_CASResponse_getDataMovementTime, 'getDataMovementBytes' = SW_CASResponse_getDataMovementBytes, 'getRowsRead' = SW_CASResponse_getRowsRead, 'getRowsWritten' = SW_CASResponse_getRowsWritten, 'getCPUUserTime' = SW_CASResponse_getCPUUserTime, 'getCPUSystemTime' = SW_CASResponse_getCPUSystemTime, 'getSystemTotalMemory' = SW_CASResponse_getSystemTotalMemory, 'getSystemNodes' = SW_CASResponse_getSystemNodes, 'getSystemCores' = SW_CASResponse_getSystemCores, 'getMemory' = SW_CASResponse_getMemory, 'getMemoryOS' = SW_CASResponse_getMemoryOS, 'getMemorySystem' = SW_CASResponse_getMemorySystem, 'getMemoryQuota' = SW_CASResponse_getMemoryQuota, 'getLastErrorMessage' = SW_CASResponse_getLastErrorMessage);
; idx = pmatch(name, names(accessorFuns));
if(is.na(idx))
return(callNextMethod(x, name));
f = accessorFuns[[idx]];
function(...){
f(x, ...)
};
}
);
# end of accessor method for CASResponse
setMethod('delete', '_p_CASResponse', function(obj) {delete_CASResponse(obj)})
# Start definition of copy functions & methods for CASResponse
CopyToR_CASResponse = function(value, obj = new("CASResponse"))
{
obj;
}
CopyToC_CASResponse = function(value, obj)
{
obj
}
# Start definition of copy methods for CASResponse
setMethod('copyToR', '_p_CASResponse', CopyToR_CASResponse);
setMethod('copyToC', 'CASResponse', CopyToC_CASResponse);
# End definition of copy methods for CASResponse
# End definition of copy functions & methods for CASResponse
# Start of delete_SW_CASValue
`delete_SW_CASValue` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_delete_SW_CASValue', self, PACKAGE='rswat');
}
attr(`delete_SW_CASValue`, 'returnType') = 'void'
attr(`delete_SW_CASValue`, "inputTypes") = c('_p_CASValue')
class(`delete_SW_CASValue`) = c("SWIGFunction", class('delete_SW_CASValue'))
# Start of SW_CASValue_destroy
`SW_CASValue_destroy` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASValue_destroy', self, PACKAGE='rswat');
}
attr(`SW_CASValue_destroy`, 'returnType') = 'void'
attr(`SW_CASValue_destroy`, "inputTypes") = c('_p_CASValue')
class(`SW_CASValue_destroy`) = c("SWIGFunction", class('SW_CASValue_destroy'))
# Start of SW_CASValue_getTypeName
`SW_CASValue_getTypeName` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASValue_getTypeName', self, PACKAGE='rswat');
}
attr(`SW_CASValue_getTypeName`, 'returnType') = 'character'
attr(`SW_CASValue_getTypeName`, "inputTypes") = c('_p_CASValue')
class(`SW_CASValue_getTypeName`) = c("SWIGFunction", class('SW_CASValue_getTypeName'))
# Start of SW_CASValue_getSOptions
`SW_CASValue_getSOptions` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASValue_getSOptions', self, PACKAGE='rswat');
}
attr(`SW_CASValue_getSOptions`, 'returnType') = 'character'
attr(`SW_CASValue_getSOptions`, "inputTypes") = c('_p_CASValue')
class(`SW_CASValue_getSOptions`) = c("SWIGFunction", class('SW_CASValue_getSOptions'))
# Start of SW_CASValue_isNULL
`SW_CASValue_isNULL` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASValue_isNULL', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASValue_isNULL`, 'returnType') = 'integer'
attr(`SW_CASValue_isNULL`, "inputTypes") = c('_p_CASValue')
class(`SW_CASValue_isNULL`) = c("SWIGFunction", class('SW_CASValue_isNULL'))
# Start of SW_CASValue_hasKeys
`SW_CASValue_hasKeys` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASValue_hasKeys', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASValue_hasKeys`, 'returnType') = 'integer'
attr(`SW_CASValue_hasKeys`, "inputTypes") = c('_p_CASValue')
class(`SW_CASValue_hasKeys`) = c("SWIGFunction", class('SW_CASValue_hasKeys'))
# Start of SW_CASValue_getType
`SW_CASValue_getType` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASValue_getType', self, PACKAGE='rswat');
}
attr(`SW_CASValue_getType`, 'returnType') = 'character'
attr(`SW_CASValue_getType`, "inputTypes") = c('_p_CASValue')
class(`SW_CASValue_getType`) = c("SWIGFunction", class('SW_CASValue_getType'))
# Start of SW_CASValue_getKey
`SW_CASValue_getKey` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASValue_getKey', self, PACKAGE='rswat');
}
attr(`SW_CASValue_getKey`, 'returnType') = 'character'
attr(`SW_CASValue_getKey`, "inputTypes") = c('_p_CASValue')
class(`SW_CASValue_getKey`) = c("SWIGFunction", class('SW_CASValue_getKey'))
# Start of SW_CASValue_getInt32
`SW_CASValue_getInt32` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASValue_getInt32', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASValue_getInt32`, 'returnType') = 'integer'
attr(`SW_CASValue_getInt32`, "inputTypes") = c('_p_CASValue')
class(`SW_CASValue_getInt32`) = c("SWIGFunction", class('SW_CASValue_getInt32'))
# Start of SW_CASValue_getDate
`SW_CASValue_getDate` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASValue_getDate', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASValue_getDate`, 'returnType') = 'integer'
attr(`SW_CASValue_getDate`, "inputTypes") = c('_p_CASValue')
class(`SW_CASValue_getDate`) = c("SWIGFunction", class('SW_CASValue_getDate'))
# Start of SW_CASValue_getInt64
`SW_CASValue_getInt64` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASValue_getInt64', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASValue_getInt64`, 'returnType') = 'integer'
attr(`SW_CASValue_getInt64`, "inputTypes") = c('_p_CASValue')
class(`SW_CASValue_getInt64`) = c("SWIGFunction", class('SW_CASValue_getInt64'))
# Start of SW_CASValue_getInt64AsString
`SW_CASValue_getInt64AsString` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASValue_getInt64AsString', self, PACKAGE='rswat');
}
attr(`SW_CASValue_getInt64AsString`, 'returnType') = 'character'
attr(`SW_CASValue_getInt64AsString`, "inputTypes") = c('_p_CASValue')
class(`SW_CASValue_getInt64AsString`) = c("SWIGFunction", class('SW_CASValue_getInt64AsString'))
# Start of SW_CASValue_getTime
`SW_CASValue_getTime` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASValue_getTime', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASValue_getTime`, 'returnType') = 'integer'
attr(`SW_CASValue_getTime`, "inputTypes") = c('_p_CASValue')
class(`SW_CASValue_getTime`) = c("SWIGFunction", class('SW_CASValue_getTime'))
# Start of SW_CASValue_getTimeAsString
`SW_CASValue_getTimeAsString` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASValue_getTimeAsString', self, PACKAGE='rswat');
}
attr(`SW_CASValue_getTimeAsString`, 'returnType') = 'character'
attr(`SW_CASValue_getTimeAsString`, "inputTypes") = c('_p_CASValue')
class(`SW_CASValue_getTimeAsString`) = c("SWIGFunction", class('SW_CASValue_getTimeAsString'))
# Start of SW_CASValue_getDateTime
`SW_CASValue_getDateTime` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASValue_getDateTime', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASValue_getDateTime`, 'returnType') = 'integer'
attr(`SW_CASValue_getDateTime`, "inputTypes") = c('_p_CASValue')
class(`SW_CASValue_getDateTime`) = c("SWIGFunction", class('SW_CASValue_getDateTime'))
# Start of SW_CASValue_getDateTimeAsString
`SW_CASValue_getDateTimeAsString` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASValue_getDateTimeAsString', self, PACKAGE='rswat');
}
attr(`SW_CASValue_getDateTimeAsString`, 'returnType') = 'character'
attr(`SW_CASValue_getDateTimeAsString`, "inputTypes") = c('_p_CASValue')
class(`SW_CASValue_getDateTimeAsString`) = c("SWIGFunction", class('SW_CASValue_getDateTimeAsString'))
# Start of SW_CASValue_getDouble
`SW_CASValue_getDouble` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASValue_getDouble', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASValue_getDouble`, 'returnType') = 'numeric'
attr(`SW_CASValue_getDouble`, "inputTypes") = c('_p_CASValue')
class(`SW_CASValue_getDouble`) = c("SWIGFunction", class('SW_CASValue_getDouble'))
# Start of SW_CASValue_getString
`SW_CASValue_getString` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASValue_getString', self, PACKAGE='rswat');
}
attr(`SW_CASValue_getString`, 'returnType') = 'character'
attr(`SW_CASValue_getString`, "inputTypes") = c('_p_CASValue')
class(`SW_CASValue_getString`) = c("SWIGFunction", class('SW_CASValue_getString'))
# Start of SW_CASValue_getBoolean
`SW_CASValue_getBoolean` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASValue_getBoolean', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASValue_getBoolean`, 'returnType') = 'integer'
attr(`SW_CASValue_getBoolean`, "inputTypes") = c('_p_CASValue')
class(`SW_CASValue_getBoolean`) = c("SWIGFunction", class('SW_CASValue_getBoolean'))
# Start of SW_CASValue_getBlob
`SW_CASValue_getBlob` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;ans = .Call('R_swig_SW_CASValue_getBlob', self, PACKAGE='rswat');
ans <- if (is.null(ans)) ans
else new("_p_void", ref=ans);
ans
}
attr(`SW_CASValue_getBlob`, 'returnType') = '_p_void'
attr(`SW_CASValue_getBlob`, "inputTypes") = c('_p_CASValue')
class(`SW_CASValue_getBlob`) = c("SWIGFunction", class('SW_CASValue_getBlob'))
# Start of SW_CASValue_blobNBytes
`SW_CASValue_blobNBytes` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASValue_blobNBytes', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASValue_blobNBytes`, 'returnType') = 'integer'
attr(`SW_CASValue_blobNBytes`, "inputTypes") = c('_p_CASValue')
class(`SW_CASValue_blobNBytes`) = c("SWIGFunction", class('SW_CASValue_blobNBytes'))
# Start of SW_CASValue_getBlobBase64
`SW_CASValue_getBlobBase64` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASValue_getBlobBase64', self, PACKAGE='rswat');
}
attr(`SW_CASValue_getBlobBase64`, 'returnType') = 'character'
attr(`SW_CASValue_getBlobBase64`, "inputTypes") = c('_p_CASValue')
class(`SW_CASValue_getBlobBase64`) = c("SWIGFunction", class('SW_CASValue_getBlobBase64'))
# Start of SW_CASValue_getList
`SW_CASValue_getList` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;ans = .Call('R_swig_SW_CASValue_getList', self, PACKAGE='rswat');
ans <- if (is.null(ans)) ans
else new("_p_CASValueList", ref=ans);
ans
}
attr(`SW_CASValue_getList`, 'returnType') = '_p_CASValueList'
attr(`SW_CASValue_getList`, "inputTypes") = c('_p_CASValue')
class(`SW_CASValue_getList`) = c("SWIGFunction", class('SW_CASValue_getList'))
# Start of SW_CASValue_getListItem
`SW_CASValue_getListItem` = function(self, i)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
i = as.integer(i);
if(length(i) > 1) {
warning("using only the first element of i");
};
;ans = .Call('R_swig_SW_CASValue_getListItem', self, i, PACKAGE='rswat');
ans <- if (is.null(ans)) ans
else new("_p_CASValue", ref=ans);
ans
}
attr(`SW_CASValue_getListItem`, 'returnType') = '_p_CASValue'
attr(`SW_CASValue_getListItem`, "inputTypes") = c('_p_CASValue', 'integer')
class(`SW_CASValue_getListItem`) = c("SWIGFunction", class('SW_CASValue_getListItem'))
# Start of SW_CASValue_getListNItems
`SW_CASValue_getListNItems` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASValue_getListNItems', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASValue_getListNItems`, 'returnType') = 'integer'
attr(`SW_CASValue_getListNItems`, "inputTypes") = c('_p_CASValue')
class(`SW_CASValue_getListNItems`) = c("SWIGFunction", class('SW_CASValue_getListNItems'))
# Start of SW_CASValue_getTable
`SW_CASValue_getTable` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;ans = .Call('R_swig_SW_CASValue_getTable', self, PACKAGE='rswat');
ans <- if (is.null(ans)) ans
else new("_p_CASTable", ref=ans);
ans
}
attr(`SW_CASValue_getTable`, 'returnType') = '_p_CASTable'
attr(`SW_CASValue_getTable`, "inputTypes") = c('_p_CASValue')
class(`SW_CASValue_getTable`) = c("SWIGFunction", class('SW_CASValue_getTable'))
# Start of SW_CASValue_getLastErrorMessage
`SW_CASValue_getLastErrorMessage` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASValue_getLastErrorMessage', self, PACKAGE='rswat');
}
attr(`SW_CASValue_getLastErrorMessage`, 'returnType') = 'character'
attr(`SW_CASValue_getLastErrorMessage`, "inputTypes") = c('_p_CASValue')
class(`SW_CASValue_getLastErrorMessage`) = c("SWIGFunction", class('SW_CASValue_getLastErrorMessage'))
# Start of new_SW_CASValue
`SW_CASValue` = function(.copy = FALSE)
{
;ans = .Call('R_swig_new_SW_CASValue', as.logical(.copy), PACKAGE='rswat');
ans <- if (is.null(ans)) ans
else new("_p_CASValue", ref=ans);
reg.finalizer(ans@ref, delete_SW_CASValue)
ans
}
attr(`SW_CASValue`, 'returnType') = '_p_CASValue'
class(`SW_CASValue`) = c("SWIGFunction", class('SW_CASValue'))
# Start of accessor method for CASValue
setMethod('$', '_p_CASValue', function(x, name)
{
accessorFuns = list('destroy' = SW_CASValue_destroy, 'getTypeName' = SW_CASValue_getTypeName, 'getSOptions' = SW_CASValue_getSOptions, 'isNULL' = SW_CASValue_isNULL, 'hasKeys' = SW_CASValue_hasKeys, 'getType' = SW_CASValue_getType, 'getKey' = SW_CASValue_getKey, 'getInt32' = SW_CASValue_getInt32, 'getDate' = SW_CASValue_getDate, 'getInt64' = SW_CASValue_getInt64, 'getInt64AsString' = SW_CASValue_getInt64AsString, 'getTime' = SW_CASValue_getTime, 'getTimeAsString' = SW_CASValue_getTimeAsString, 'getDateTime' = SW_CASValue_getDateTime, 'getDateTimeAsString' = SW_CASValue_getDateTimeAsString, 'getDouble' = SW_CASValue_getDouble, 'getString' = SW_CASValue_getString, 'getBoolean' = SW_CASValue_getBoolean, 'getBlob' = SW_CASValue_getBlob, 'blobNBytes' = SW_CASValue_blobNBytes, 'getBlobBase64' = SW_CASValue_getBlobBase64, 'getList' = SW_CASValue_getList, 'getListItem' = SW_CASValue_getListItem, 'getListNItems' = SW_CASValue_getListNItems, 'getTable' = SW_CASValue_getTable, 'getLastErrorMessage' = SW_CASValue_getLastErrorMessage);
; idx = pmatch(name, names(accessorFuns));
if(is.na(idx))
return(callNextMethod(x, name));
f = accessorFuns[[idx]];
function(...){
f(x, ...)
};
}
);
# end of accessor method for CASValue
setMethod('delete', '_p_CASValue', function(obj) {delete_CASValue(obj)})
# Start definition of copy functions & methods for CASValue
CopyToR_CASValue = function(value, obj = new("CASValue"))
{
obj;
}
CopyToC_CASValue = function(value, obj)
{
obj
}
# Start definition of copy methods for CASValue
setMethod('copyToR', '_p_CASValue', CopyToR_CASValue);
setMethod('copyToC', 'CASValue', CopyToC_CASValue);
# End definition of copy methods for CASValue
# End definition of copy functions & methods for CASValue
# Start of new_SW_CASValueList
`SW_CASValueList` = function(length, soptions, error, .copy = FALSE)
{
length = as.integer(length);
if(length(length) > 1) {
warning("using only the first element of length");
};
soptions = as(soptions, "character");
if (inherits(error, "ExternalReference")) error = slot(error,"ref")
;ans = .Call('R_swig_new_SW_CASValueList', length, soptions, error, as.logical(.copy), PACKAGE='rswat');
ans <- if (is.null(ans)) ans
else new("_p_CASValueList", ref=ans);
reg.finalizer(ans@ref, delete_SW_CASValueList)
ans
}
attr(`SW_CASValueList`, 'returnType') = '_p_CASValueList'
attr(`SW_CASValueList`, "inputTypes") = c('integer', 'character', '_p_CASError')
class(`SW_CASValueList`) = c("SWIGFunction", class('SW_CASValueList'))
# Start of delete_SW_CASValueList
`delete_SW_CASValueList` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_delete_SW_CASValueList', self, PACKAGE='rswat');
}
attr(`delete_SW_CASValueList`, 'returnType') = 'void'
attr(`delete_SW_CASValueList`, "inputTypes") = c('_p_CASValueList')
class(`delete_SW_CASValueList`) = c("SWIGFunction", class('delete_SW_CASValueList'))
# Start of SW_CASValueList_destroy
`SW_CASValueList_destroy` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASValueList_destroy', self, PACKAGE='rswat');
}
attr(`SW_CASValueList_destroy`, 'returnType') = 'void'
attr(`SW_CASValueList_destroy`, "inputTypes") = c('_p_CASValueList')
class(`SW_CASValueList_destroy`) = c("SWIGFunction", class('SW_CASValueList_destroy'))
# Start of SW_CASValueList_getTypeName
`SW_CASValueList_getTypeName` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASValueList_getTypeName', self, PACKAGE='rswat');
}
attr(`SW_CASValueList_getTypeName`, 'returnType') = 'character'
attr(`SW_CASValueList_getTypeName`, "inputTypes") = c('_p_CASValueList')
class(`SW_CASValueList_getTypeName`) = c("SWIGFunction", class('SW_CASValueList_getTypeName'))
# Start of SW_CASValueList_getSOptions
`SW_CASValueList_getSOptions` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASValueList_getSOptions', self, PACKAGE='rswat');
}
attr(`SW_CASValueList_getSOptions`, 'returnType') = 'character'
attr(`SW_CASValueList_getSOptions`, "inputTypes") = c('_p_CASValueList')
class(`SW_CASValueList_getSOptions`) = c("SWIGFunction", class('SW_CASValueList_getSOptions'))
# Start of SW_CASValueList_isNULL
`SW_CASValueList_isNULL` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASValueList_isNULL', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASValueList_isNULL`, 'returnType') = 'integer'
attr(`SW_CASValueList_isNULL`, "inputTypes") = c('_p_CASValueList')
class(`SW_CASValueList_isNULL`) = c("SWIGFunction", class('SW_CASValueList_isNULL'))
# Start of SW_CASValueList_setNil
`SW_CASValueList_setNil` = function(self, i, key)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
i = as.integer(i);
if(length(i) > 1) {
warning("using only the first element of i");
};
key = as(key, "character");
;.Call('R_swig_SW_CASValueList_setNil', self, i, key, PACKAGE='rswat');
}
attr(`SW_CASValueList_setNil`, 'returnType') = 'void'
attr(`SW_CASValueList_setNil`, "inputTypes") = c('_p_CASValueList', 'integer', 'character')
class(`SW_CASValueList_setNil`) = c("SWIGFunction", class('SW_CASValueList_setNil'))
# Start of SW_CASValueList_setInt32
`SW_CASValueList_setInt32` = function(self, i, key, value)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
i = as.integer(i);
if(length(i) > 1) {
warning("using only the first element of i");
};
key = as(key, "character");
value = as.integer(value);
if(length(value) > 1) {
warning("using only the first element of value");
};
;.Call('R_swig_SW_CASValueList_setInt32', self, i, key, value, PACKAGE='rswat');
}
attr(`SW_CASValueList_setInt32`, 'returnType') = 'void'
attr(`SW_CASValueList_setInt32`, "inputTypes") = c('_p_CASValueList', 'integer', 'character', 'integer')
class(`SW_CASValueList_setInt32`) = c("SWIGFunction", class('SW_CASValueList_setInt32'))
# Start of SW_CASValueList_setInt64
`SW_CASValueList_setInt64` = function(self, i, key, value)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
i = as.integer(i);
if(length(i) > 1) {
warning("using only the first element of i");
};
key = as(key, "character");
value = as.integer(value);
if(length(value) > 1) {
warning("using only the first element of value");
};
;.Call('R_swig_SW_CASValueList_setInt64', self, i, key, value, PACKAGE='rswat');
}
attr(`SW_CASValueList_setInt64`, 'returnType') = 'void'
attr(`SW_CASValueList_setInt64`, "inputTypes") = c('_p_CASValueList', 'integer', 'character', 'integer')
class(`SW_CASValueList_setInt64`) = c("SWIGFunction", class('SW_CASValueList_setInt64'))
# Start of SW_CASValueList_setInt64FromString
`SW_CASValueList_setInt64FromString` = function(self, i, key, value)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
i = as.integer(i);
if(length(i) > 1) {
warning("using only the first element of i");
};
key = as(key, "character");
value = as(value, "character");
;.Call('R_swig_SW_CASValueList_setInt64FromString', self, i, key, value, PACKAGE='rswat');
}
attr(`SW_CASValueList_setInt64FromString`, 'returnType') = 'void'
attr(`SW_CASValueList_setInt64FromString`, "inputTypes") = c('_p_CASValueList', 'integer', 'character', 'character')
class(`SW_CASValueList_setInt64FromString`) = c("SWIGFunction", class('SW_CASValueList_setInt64FromString'))
# Start of SW_CASValueList_setDate
`SW_CASValueList_setDate` = function(self, i, key, value)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
i = as.integer(i);
if(length(i) > 1) {
warning("using only the first element of i");
};
key = as(key, "character");
value = as.integer(value);
if(length(value) > 1) {
warning("using only the first element of value");
};
;.Call('R_swig_SW_CASValueList_setDate', self, i, key, value, PACKAGE='rswat');
}
attr(`SW_CASValueList_setDate`, 'returnType') = 'void'
attr(`SW_CASValueList_setDate`, "inputTypes") = c('_p_CASValueList', 'integer', 'character', 'integer')
class(`SW_CASValueList_setDate`) = c("SWIGFunction", class('SW_CASValueList_setDate'))
# Start of SW_CASValueList_setTime
`SW_CASValueList_setTime` = function(self, i, key, value)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
i = as.integer(i);
if(length(i) > 1) {
warning("using only the first element of i");
};
key = as(key, "character");
value = as.integer(value);
if(length(value) > 1) {
warning("using only the first element of value");
};
;.Call('R_swig_SW_CASValueList_setTime', self, i, key, value, PACKAGE='rswat');
}
attr(`SW_CASValueList_setTime`, 'returnType') = 'void'
attr(`SW_CASValueList_setTime`, "inputTypes") = c('_p_CASValueList', 'integer', 'character', 'integer')
class(`SW_CASValueList_setTime`) = c("SWIGFunction", class('SW_CASValueList_setTime'))
# Start of SW_CASValueList_setDateTime
`SW_CASValueList_setDateTime` = function(self, i, key, value)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
i = as.integer(i);
if(length(i) > 1) {
warning("using only the first element of i");
};
key = as(key, "character");
value = as.integer(value);
if(length(value) > 1) {
warning("using only the first element of value");
};
;.Call('R_swig_SW_CASValueList_setDateTime', self, i, key, value, PACKAGE='rswat');
}
attr(`SW_CASValueList_setDateTime`, 'returnType') = 'void'
attr(`SW_CASValueList_setDateTime`, "inputTypes") = c('_p_CASValueList', 'integer', 'character', 'integer')
class(`SW_CASValueList_setDateTime`) = c("SWIGFunction", class('SW_CASValueList_setDateTime'))
# Start of SW_CASValueList_setDouble
`SW_CASValueList_setDouble` = function(self, i, key, value)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
i = as.integer(i);
if(length(i) > 1) {
warning("using only the first element of i");
};
key = as(key, "character");
;.Call('R_swig_SW_CASValueList_setDouble', self, i, key, value, PACKAGE='rswat');
}
attr(`SW_CASValueList_setDouble`, 'returnType') = 'void'
attr(`SW_CASValueList_setDouble`, "inputTypes") = c('_p_CASValueList', 'integer', 'character', 'numeric')
class(`SW_CASValueList_setDouble`) = c("SWIGFunction", class('SW_CASValueList_setDouble'))
# Start of SW_CASValueList_setString
`SW_CASValueList_setString` = function(self, i, key, value)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
i = as.integer(i);
if(length(i) > 1) {
warning("using only the first element of i");
};
key = as(key, "character");
value = as(value, "character");
;.Call('R_swig_SW_CASValueList_setString', self, i, key, value, PACKAGE='rswat');
}
attr(`SW_CASValueList_setString`, 'returnType') = 'void'
attr(`SW_CASValueList_setString`, "inputTypes") = c('_p_CASValueList', 'integer', 'character', 'character')
class(`SW_CASValueList_setString`) = c("SWIGFunction", class('SW_CASValueList_setString'))
# Start of SW_CASValueList_setBoolean
`SW_CASValueList_setBoolean` = function(self, i, key, value)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
i = as.integer(i);
if(length(i) > 1) {
warning("using only the first element of i");
};
key = as(key, "character");
value = as.integer(value);
if(length(value) > 1) {
warning("using only the first element of value");
};
;.Call('R_swig_SW_CASValueList_setBoolean', self, i, key, value, PACKAGE='rswat');
}
attr(`SW_CASValueList_setBoolean`, 'returnType') = 'void'
attr(`SW_CASValueList_setBoolean`, "inputTypes") = c('_p_CASValueList', 'integer', 'character', 'integer')
class(`SW_CASValueList_setBoolean`) = c("SWIGFunction", class('SW_CASValueList_setBoolean'))
# Start of SW_CASValueList_setBlobFromBase64
`SW_CASValueList_setBlobFromBase64` = function(self, i, key, value)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
i = as.integer(i);
if(length(i) > 1) {
warning("using only the first element of i");
};
key = as(key, "character");
value = as(value, "character");
;.Call('R_swig_SW_CASValueList_setBlobFromBase64', self, i, key, value, PACKAGE='rswat');
}
attr(`SW_CASValueList_setBlobFromBase64`, 'returnType') = 'void'
attr(`SW_CASValueList_setBlobFromBase64`, "inputTypes") = c('_p_CASValueList', 'integer', 'character', 'character')
class(`SW_CASValueList_setBlobFromBase64`) = c("SWIGFunction", class('SW_CASValueList_setBlobFromBase64'))
# Start of SW_CASValueList_createListAt
`SW_CASValueList_createListAt` = function(self, i, key, length)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
i = as.integer(i);
if(length(i) > 1) {
warning("using only the first element of i");
};
key = as(key, "character");
length = as.integer(length);
if(length(length) > 1) {
warning("using only the first element of length");
};
;ans = .Call('R_swig_SW_CASValueList_createListAt', self, i, key, length, PACKAGE='rswat');
ans <- if (is.null(ans)) ans
else new("_p_CASValueList", ref=ans);
ans
}
attr(`SW_CASValueList_createListAt`, 'returnType') = '_p_CASValueList'
attr(`SW_CASValueList_createListAt`, "inputTypes") = c('_p_CASValueList', 'integer', 'character', 'integer')
class(`SW_CASValueList_createListAt`) = c("SWIGFunction", class('SW_CASValueList_createListAt'))
# Start of SW_CASValueList_getItem
`SW_CASValueList_getItem` = function(self, i)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
i = as.integer(i);
if(length(i) > 1) {
warning("using only the first element of i");
};
;ans = .Call('R_swig_SW_CASValueList_getItem', self, i, PACKAGE='rswat');
ans <- if (is.null(ans)) ans
else new("_p_CASValue", ref=ans);
ans
}
attr(`SW_CASValueList_getItem`, 'returnType') = '_p_CASValue'
attr(`SW_CASValueList_getItem`, "inputTypes") = c('_p_CASValueList', 'integer')
class(`SW_CASValueList_getItem`) = c("SWIGFunction", class('SW_CASValueList_getItem'))
# Start of SW_CASValueList_getLastErrorMessage
`SW_CASValueList_getLastErrorMessage` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASValueList_getLastErrorMessage', self, PACKAGE='rswat');
}
attr(`SW_CASValueList_getLastErrorMessage`, 'returnType') = 'character'
attr(`SW_CASValueList_getLastErrorMessage`, "inputTypes") = c('_p_CASValueList')
class(`SW_CASValueList_getLastErrorMessage`) = c("SWIGFunction", class('SW_CASValueList_getLastErrorMessage'))
# Start of SW_CASValueList_getNItems
`SW_CASValueList_getNItems` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASValueList_getNItems', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASValueList_getNItems`, 'returnType') = 'integer'
attr(`SW_CASValueList_getNItems`, "inputTypes") = c('_p_CASValueList')
class(`SW_CASValueList_getNItems`) = c("SWIGFunction", class('SW_CASValueList_getNItems'))
# Start of accessor method for CASValueList
setMethod('$', '_p_CASValueList', function(x, name)
{
accessorFuns = list('destroy' = SW_CASValueList_destroy, 'getTypeName' = SW_CASValueList_getTypeName, 'getSOptions' = SW_CASValueList_getSOptions, 'isNULL' = SW_CASValueList_isNULL, 'setNil' = SW_CASValueList_setNil, 'setInt32' = SW_CASValueList_setInt32, 'setInt64' = SW_CASValueList_setInt64, 'setInt64FromString' = SW_CASValueList_setInt64FromString, 'setDate' = SW_CASValueList_setDate, 'setTime' = SW_CASValueList_setTime, 'setDateTime' = SW_CASValueList_setDateTime, 'setDouble' = SW_CASValueList_setDouble, 'setString' = SW_CASValueList_setString, 'setBoolean' = SW_CASValueList_setBoolean, 'setBlobFromBase64' = SW_CASValueList_setBlobFromBase64, 'createListAt' = SW_CASValueList_createListAt, 'getItem' = SW_CASValueList_getItem, 'getLastErrorMessage' = SW_CASValueList_getLastErrorMessage, 'getNItems' = SW_CASValueList_getNItems);
; idx = pmatch(name, names(accessorFuns));
if(is.na(idx))
return(callNextMethod(x, name));
f = accessorFuns[[idx]];
function(...){
f(x, ...)
};
}
);
# end of accessor method for CASValueList
setMethod('delete', '_p_CASValueList', function(obj) {delete_CASValueList(obj)})
# Start definition of copy functions & methods for CASValueList
CopyToR_CASValueList = function(value, obj = new("CASValueList"))
{
obj;
}
CopyToC_CASValueList = function(value, obj)
{
obj
}
# Start definition of copy methods for CASValueList
setMethod('copyToR', '_p_CASValueList', CopyToR_CASValueList);
setMethod('copyToC', 'CASValueList', CopyToC_CASValueList);
# End definition of copy methods for CASValueList
# End definition of copy functions & methods for CASValueList
# Start of delete_SW_CASTable
`delete_SW_CASTable` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_delete_SW_CASTable', self, PACKAGE='rswat');
}
attr(`delete_SW_CASTable`, 'returnType') = 'void'
attr(`delete_SW_CASTable`, "inputTypes") = c('_p_CASTable')
class(`delete_SW_CASTable`) = c("SWIGFunction", class('delete_SW_CASTable'))
# Start of SW_CASTable_destroy
`SW_CASTable_destroy` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASTable_destroy', self, PACKAGE='rswat');
}
attr(`SW_CASTable_destroy`, 'returnType') = 'void'
attr(`SW_CASTable_destroy`, "inputTypes") = c('_p_CASTable')
class(`SW_CASTable_destroy`) = c("SWIGFunction", class('SW_CASTable_destroy'))
# Start of SW_CASTable_getTypeName
`SW_CASTable_getTypeName` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASTable_getTypeName', self, PACKAGE='rswat');
}
attr(`SW_CASTable_getTypeName`, 'returnType') = 'character'
attr(`SW_CASTable_getTypeName`, "inputTypes") = c('_p_CASTable')
class(`SW_CASTable_getTypeName`) = c("SWIGFunction", class('SW_CASTable_getTypeName'))
# Start of SW_CASTable_getSOptions
`SW_CASTable_getSOptions` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASTable_getSOptions', self, PACKAGE='rswat');
}
attr(`SW_CASTable_getSOptions`, 'returnType') = 'character'
attr(`SW_CASTable_getSOptions`, "inputTypes") = c('_p_CASTable')
class(`SW_CASTable_getSOptions`) = c("SWIGFunction", class('SW_CASTable_getSOptions'))
# Start of SW_CASTable_isNULL
`SW_CASTable_isNULL` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASTable_isNULL', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASTable_isNULL`, 'returnType') = 'integer'
attr(`SW_CASTable_isNULL`, "inputTypes") = c('_p_CASTable')
class(`SW_CASTable_isNULL`) = c("SWIGFunction", class('SW_CASTable_isNULL'))
# Start of SW_CASTable_getName
`SW_CASTable_getName` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASTable_getName', self, PACKAGE='rswat');
}
attr(`SW_CASTable_getName`, 'returnType') = 'character'
attr(`SW_CASTable_getName`, "inputTypes") = c('_p_CASTable')
class(`SW_CASTable_getName`) = c("SWIGFunction", class('SW_CASTable_getName'))
# Start of SW_CASTable_getLabel
`SW_CASTable_getLabel` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASTable_getLabel', self, PACKAGE='rswat');
}
attr(`SW_CASTable_getLabel`, 'returnType') = 'character'
attr(`SW_CASTable_getLabel`, "inputTypes") = c('_p_CASTable')
class(`SW_CASTable_getLabel`) = c("SWIGFunction", class('SW_CASTable_getLabel'))
# Start of SW_CASTable_getTitle
`SW_CASTable_getTitle` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASTable_getTitle', self, PACKAGE='rswat');
}
attr(`SW_CASTable_getTitle`, 'returnType') = 'character'
attr(`SW_CASTable_getTitle`, "inputTypes") = c('_p_CASTable')
class(`SW_CASTable_getTitle`) = c("SWIGFunction", class('SW_CASTable_getTitle'))
# Start of SW_CASTable_getNColumns
`SW_CASTable_getNColumns` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASTable_getNColumns', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASTable_getNColumns`, 'returnType') = 'integer'
attr(`SW_CASTable_getNColumns`, "inputTypes") = c('_p_CASTable')
class(`SW_CASTable_getNColumns`) = c("SWIGFunction", class('SW_CASTable_getNColumns'))
# Start of SW_CASTable_getNRows
`SW_CASTable_getNRows` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASTable_getNRows', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASTable_getNRows`, 'returnType') = 'integer'
attr(`SW_CASTable_getNRows`, "inputTypes") = c('_p_CASTable')
class(`SW_CASTable_getNRows`) = c("SWIGFunction", class('SW_CASTable_getNRows'))
# Start of SW_CASTable_getColumnName
`SW_CASTable_getColumnName` = function(self, i)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
i = as.integer(i);
if(length(i) > 1) {
warning("using only the first element of i");
};
;.Call('R_swig_SW_CASTable_getColumnName', self, i, PACKAGE='rswat');
}
attr(`SW_CASTable_getColumnName`, 'returnType') = 'character'
attr(`SW_CASTable_getColumnName`, "inputTypes") = c('_p_CASTable', 'integer')
class(`SW_CASTable_getColumnName`) = c("SWIGFunction", class('SW_CASTable_getColumnName'))
# Start of SW_CASTable_getColumnLabel
`SW_CASTable_getColumnLabel` = function(self, i)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
i = as.integer(i);
if(length(i) > 1) {
warning("using only the first element of i");
};
;.Call('R_swig_SW_CASTable_getColumnLabel', self, i, PACKAGE='rswat');
}
attr(`SW_CASTable_getColumnLabel`, 'returnType') = 'character'
attr(`SW_CASTable_getColumnLabel`, "inputTypes") = c('_p_CASTable', 'integer')
class(`SW_CASTable_getColumnLabel`) = c("SWIGFunction", class('SW_CASTable_getColumnLabel'))
# Start of SW_CASTable_getColumnType
`SW_CASTable_getColumnType` = function(self, i)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
i = as.integer(i);
if(length(i) > 1) {
warning("using only the first element of i");
};
;.Call('R_swig_SW_CASTable_getColumnType', self, i, PACKAGE='rswat');
}
attr(`SW_CASTable_getColumnType`, 'returnType') = 'character'
attr(`SW_CASTable_getColumnType`, "inputTypes") = c('_p_CASTable', 'integer')
class(`SW_CASTable_getColumnType`) = c("SWIGFunction", class('SW_CASTable_getColumnType'))
# Start of SW_CASTable_getColumnWidth
`SW_CASTable_getColumnWidth` = function(self, i, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
i = as.integer(i);
if(length(i) > 1) {
warning("using only the first element of i");
};
;.Call('R_swig_SW_CASTable_getColumnWidth', self, i, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASTable_getColumnWidth`, 'returnType') = 'integer'
attr(`SW_CASTable_getColumnWidth`, "inputTypes") = c('_p_CASTable', 'integer')
class(`SW_CASTable_getColumnWidth`) = c("SWIGFunction", class('SW_CASTable_getColumnWidth'))
# Start of SW_CASTable_getColumnArrayNItems
`SW_CASTable_getColumnArrayNItems` = function(self, i, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
i = as.integer(i);
if(length(i) > 1) {
warning("using only the first element of i");
};
;.Call('R_swig_SW_CASTable_getColumnArrayNItems', self, i, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASTable_getColumnArrayNItems`, 'returnType') = 'integer'
attr(`SW_CASTable_getColumnArrayNItems`, "inputTypes") = c('_p_CASTable', 'integer')
class(`SW_CASTable_getColumnArrayNItems`) = c("SWIGFunction", class('SW_CASTable_getColumnArrayNItems'))
# Start of SW_CASTable_getColumnFormat
`SW_CASTable_getColumnFormat` = function(self, i)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
i = as.integer(i);
if(length(i) > 1) {
warning("using only the first element of i");
};
;.Call('R_swig_SW_CASTable_getColumnFormat', self, i, PACKAGE='rswat');
}
attr(`SW_CASTable_getColumnFormat`, 'returnType') = 'character'
attr(`SW_CASTable_getColumnFormat`, "inputTypes") = c('_p_CASTable', 'integer')
class(`SW_CASTable_getColumnFormat`) = c("SWIGFunction", class('SW_CASTable_getColumnFormat'))
# Start of SW_CASTable_getStringValue
`SW_CASTable_getStringValue` = function(self, row, col)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
row = as.integer(row);
if(length(row) > 1) {
warning("using only the first element of row");
};
col = as.integer(col);
if(length(col) > 1) {
warning("using only the first element of col");
};
;.Call('R_swig_SW_CASTable_getStringValue', self, row, col, PACKAGE='rswat');
}
attr(`SW_CASTable_getStringValue`, 'returnType') = 'character'
attr(`SW_CASTable_getStringValue`, "inputTypes") = c('_p_CASTable', 'integer', 'integer')
class(`SW_CASTable_getStringValue`) = c("SWIGFunction", class('SW_CASTable_getStringValue'))
# Start of SW_CASTable_getBinaryValue
`SW_CASTable_getBinaryValue` = function(self, row, col)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
row = as.integer(row);
if(length(row) > 1) {
warning("using only the first element of row");
};
col = as.integer(col);
if(length(col) > 1) {
warning("using only the first element of col");
};
;ans = .Call('R_swig_SW_CASTable_getBinaryValue', self, row, col, PACKAGE='rswat');
ans <- if (is.null(ans)) ans
else new("_p_void", ref=ans);
ans
}
attr(`SW_CASTable_getBinaryValue`, 'returnType') = '_p_void'
attr(`SW_CASTable_getBinaryValue`, "inputTypes") = c('_p_CASTable', 'integer', 'integer')
class(`SW_CASTable_getBinaryValue`) = c("SWIGFunction", class('SW_CASTable_getBinaryValue'))
# Start of SW_CASTable_getBinaryNBytes
`SW_CASTable_getBinaryNBytes` = function(self, row, col, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
row = as.integer(row);
if(length(row) > 1) {
warning("using only the first element of row");
};
col = as.integer(col);
if(length(col) > 1) {
warning("using only the first element of col");
};
;.Call('R_swig_SW_CASTable_getBinaryNBytes', self, row, col, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASTable_getBinaryNBytes`, 'returnType') = 'integer'
attr(`SW_CASTable_getBinaryNBytes`, "inputTypes") = c('_p_CASTable', 'integer', 'integer')
class(`SW_CASTable_getBinaryNBytes`) = c("SWIGFunction", class('SW_CASTable_getBinaryNBytes'))
# Start of SW_CASTable_getBinaryBase64Value
`SW_CASTable_getBinaryBase64Value` = function(self, row, col)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
row = as.integer(row);
if(length(row) > 1) {
warning("using only the first element of row");
};
col = as.integer(col);
if(length(col) > 1) {
warning("using only the first element of col");
};
;.Call('R_swig_SW_CASTable_getBinaryBase64Value', self, row, col, PACKAGE='rswat');
}
attr(`SW_CASTable_getBinaryBase64Value`, 'returnType') = 'character'
attr(`SW_CASTable_getBinaryBase64Value`, "inputTypes") = c('_p_CASTable', 'integer', 'integer')
class(`SW_CASTable_getBinaryBase64Value`) = c("SWIGFunction", class('SW_CASTable_getBinaryBase64Value'))
# Start of SW_CASTable_getDateValue
`SW_CASTable_getDateValue` = function(self, row, col, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
row = as.integer(row);
if(length(row) > 1) {
warning("using only the first element of row");
};
col = as.integer(col);
if(length(col) > 1) {
warning("using only the first element of col");
};
;.Call('R_swig_SW_CASTable_getDateValue', self, row, col, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASTable_getDateValue`, 'returnType') = 'integer'
attr(`SW_CASTable_getDateValue`, "inputTypes") = c('_p_CASTable', 'integer', 'integer')
class(`SW_CASTable_getDateValue`) = c("SWIGFunction", class('SW_CASTable_getDateValue'))
# Start of SW_CASTable_getTimeValue
`SW_CASTable_getTimeValue` = function(self, row, col, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
row = as.integer(row);
if(length(row) > 1) {
warning("using only the first element of row");
};
col = as.integer(col);
if(length(col) > 1) {
warning("using only the first element of col");
};
;.Call('R_swig_SW_CASTable_getTimeValue', self, row, col, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASTable_getTimeValue`, 'returnType') = 'integer'
attr(`SW_CASTable_getTimeValue`, "inputTypes") = c('_p_CASTable', 'integer', 'integer')
class(`SW_CASTable_getTimeValue`) = c("SWIGFunction", class('SW_CASTable_getTimeValue'))
# Start of SW_CASTable_getTimeValueAsString
`SW_CASTable_getTimeValueAsString` = function(self, row, col)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
row = as.integer(row);
if(length(row) > 1) {
warning("using only the first element of row");
};
col = as.integer(col);
if(length(col) > 1) {
warning("using only the first element of col");
};
;.Call('R_swig_SW_CASTable_getTimeValueAsString', self, row, col, PACKAGE='rswat');
}
attr(`SW_CASTable_getTimeValueAsString`, 'returnType') = 'character'
attr(`SW_CASTable_getTimeValueAsString`, "inputTypes") = c('_p_CASTable', 'integer', 'integer')
class(`SW_CASTable_getTimeValueAsString`) = c("SWIGFunction", class('SW_CASTable_getTimeValueAsString'))
# Start of SW_CASTable_getDatetimeValue
`SW_CASTable_getDatetimeValue` = function(self, row, col, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
row = as.integer(row);
if(length(row) > 1) {
warning("using only the first element of row");
};
col = as.integer(col);
if(length(col) > 1) {
warning("using only the first element of col");
};
;.Call('R_swig_SW_CASTable_getDatetimeValue', self, row, col, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASTable_getDatetimeValue`, 'returnType') = 'integer'
attr(`SW_CASTable_getDatetimeValue`, "inputTypes") = c('_p_CASTable', 'integer', 'integer')
class(`SW_CASTable_getDatetimeValue`) = c("SWIGFunction", class('SW_CASTable_getDatetimeValue'))
# Start of SW_CASTable_getDatetimeValueAsString
`SW_CASTable_getDatetimeValueAsString` = function(self, row, col)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
row = as.integer(row);
if(length(row) > 1) {
warning("using only the first element of row");
};
col = as.integer(col);
if(length(col) > 1) {
warning("using only the first element of col");
};
;.Call('R_swig_SW_CASTable_getDatetimeValueAsString', self, row, col, PACKAGE='rswat');
}
attr(`SW_CASTable_getDatetimeValueAsString`, 'returnType') = 'character'
attr(`SW_CASTable_getDatetimeValueAsString`, "inputTypes") = c('_p_CASTable', 'integer', 'integer')
class(`SW_CASTable_getDatetimeValueAsString`) = c("SWIGFunction", class('SW_CASTable_getDatetimeValueAsString'))
# Start of SW_CASTable_getInt64Value
`SW_CASTable_getInt64Value` = function(self, row, col, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
row = as.integer(row);
if(length(row) > 1) {
warning("using only the first element of row");
};
col = as.integer(col);
if(length(col) > 1) {
warning("using only the first element of col");
};
;.Call('R_swig_SW_CASTable_getInt64Value', self, row, col, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASTable_getInt64Value`, 'returnType') = 'integer'
attr(`SW_CASTable_getInt64Value`, "inputTypes") = c('_p_CASTable', 'integer', 'integer')
class(`SW_CASTable_getInt64Value`) = c("SWIGFunction", class('SW_CASTable_getInt64Value'))
# Start of SW_CASTable_getInt64ValueAsString
`SW_CASTable_getInt64ValueAsString` = function(self, row, col)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
row = as.integer(row);
if(length(row) > 1) {
warning("using only the first element of row");
};
col = as.integer(col);
if(length(col) > 1) {
warning("using only the first element of col");
};
;.Call('R_swig_SW_CASTable_getInt64ValueAsString', self, row, col, PACKAGE='rswat');
}
attr(`SW_CASTable_getInt64ValueAsString`, 'returnType') = 'character'
attr(`SW_CASTable_getInt64ValueAsString`, "inputTypes") = c('_p_CASTable', 'integer', 'integer')
class(`SW_CASTable_getInt64ValueAsString`) = c("SWIGFunction", class('SW_CASTable_getInt64ValueAsString'))
# Start of SW_CASTable_getInt64ArrayValue
`SW_CASTable_getInt64ArrayValue` = function(self, row, col, elem, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
row = as.integer(row);
if(length(row) > 1) {
warning("using only the first element of row");
};
col = as.integer(col);
if(length(col) > 1) {
warning("using only the first element of col");
};
elem = as.integer(elem);
if(length(elem) > 1) {
warning("using only the first element of elem");
};
;.Call('R_swig_SW_CASTable_getInt64ArrayValue', self, row, col, elem, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASTable_getInt64ArrayValue`, 'returnType') = 'integer'
attr(`SW_CASTable_getInt64ArrayValue`, "inputTypes") = c('_p_CASTable', 'integer', 'integer', 'integer')
class(`SW_CASTable_getInt64ArrayValue`) = c("SWIGFunction", class('SW_CASTable_getInt64ArrayValue'))
# Start of SW_CASTable_getInt64ArrayValueAsString
`SW_CASTable_getInt64ArrayValueAsString` = function(self, row, col, elem)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
row = as.integer(row);
if(length(row) > 1) {
warning("using only the first element of row");
};
col = as.integer(col);
if(length(col) > 1) {
warning("using only the first element of col");
};
elem = as.integer(elem);
if(length(elem) > 1) {
warning("using only the first element of elem");
};
;.Call('R_swig_SW_CASTable_getInt64ArrayValueAsString', self, row, col, elem, PACKAGE='rswat');
}
attr(`SW_CASTable_getInt64ArrayValueAsString`, 'returnType') = 'character'
attr(`SW_CASTable_getInt64ArrayValueAsString`, "inputTypes") = c('_p_CASTable', 'integer', 'integer', 'integer')
class(`SW_CASTable_getInt64ArrayValueAsString`) = c("SWIGFunction", class('SW_CASTable_getInt64ArrayValueAsString'))
# Start of SW_CASTable_getInt32Value
`SW_CASTable_getInt32Value` = function(self, row, col, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
row = as.integer(row);
if(length(row) > 1) {
warning("using only the first element of row");
};
col = as.integer(col);
if(length(col) > 1) {
warning("using only the first element of col");
};
;.Call('R_swig_SW_CASTable_getInt32Value', self, row, col, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASTable_getInt32Value`, 'returnType') = 'integer'
attr(`SW_CASTable_getInt32Value`, "inputTypes") = c('_p_CASTable', 'integer', 'integer')
class(`SW_CASTable_getInt32Value`) = c("SWIGFunction", class('SW_CASTable_getInt32Value'))
# Start of SW_CASTable_getInt32ArrayValue
`SW_CASTable_getInt32ArrayValue` = function(self, row, col, elem, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
row = as.integer(row);
if(length(row) > 1) {
warning("using only the first element of row");
};
col = as.integer(col);
if(length(col) > 1) {
warning("using only the first element of col");
};
elem = as.integer(elem);
if(length(elem) > 1) {
warning("using only the first element of elem");
};
;.Call('R_swig_SW_CASTable_getInt32ArrayValue', self, row, col, elem, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASTable_getInt32ArrayValue`, 'returnType') = 'integer'
attr(`SW_CASTable_getInt32ArrayValue`, "inputTypes") = c('_p_CASTable', 'integer', 'integer', 'integer')
class(`SW_CASTable_getInt32ArrayValue`) = c("SWIGFunction", class('SW_CASTable_getInt32ArrayValue'))
# Start of SW_CASTable_getDoubleValue
`SW_CASTable_getDoubleValue` = function(self, row, col, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
row = as.integer(row);
if(length(row) > 1) {
warning("using only the first element of row");
};
col = as.integer(col);
if(length(col) > 1) {
warning("using only the first element of col");
};
;.Call('R_swig_SW_CASTable_getDoubleValue', self, row, col, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASTable_getDoubleValue`, 'returnType') = 'numeric'
attr(`SW_CASTable_getDoubleValue`, "inputTypes") = c('_p_CASTable', 'integer', 'integer')
class(`SW_CASTable_getDoubleValue`) = c("SWIGFunction", class('SW_CASTable_getDoubleValue'))
# Start of SW_CASTable_getDoubleArrayValue
`SW_CASTable_getDoubleArrayValue` = function(self, row, col, elem, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
row = as.integer(row);
if(length(row) > 1) {
warning("using only the first element of row");
};
col = as.integer(col);
if(length(col) > 1) {
warning("using only the first element of col");
};
elem = as.integer(elem);
if(length(elem) > 1) {
warning("using only the first element of elem");
};
;.Call('R_swig_SW_CASTable_getDoubleArrayValue', self, row, col, elem, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASTable_getDoubleArrayValue`, 'returnType') = 'numeric'
attr(`SW_CASTable_getDoubleArrayValue`, "inputTypes") = c('_p_CASTable', 'integer', 'integer', 'integer')
class(`SW_CASTable_getDoubleArrayValue`) = c("SWIGFunction", class('SW_CASTable_getDoubleArrayValue'))
# Start of SW_CASTable_getLastErrorMessage
`SW_CASTable_getLastErrorMessage` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASTable_getLastErrorMessage', self, PACKAGE='rswat');
}
attr(`SW_CASTable_getLastErrorMessage`, 'returnType') = 'character'
attr(`SW_CASTable_getLastErrorMessage`, "inputTypes") = c('_p_CASTable')
class(`SW_CASTable_getLastErrorMessage`) = c("SWIGFunction", class('SW_CASTable_getLastErrorMessage'))
# Start of SW_CASTable_getNextAttributeKey
`SW_CASTable_getNextAttributeKey` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASTable_getNextAttributeKey', self, PACKAGE='rswat');
}
attr(`SW_CASTable_getNextAttributeKey`, 'returnType') = 'character'
attr(`SW_CASTable_getNextAttributeKey`, "inputTypes") = c('_p_CASTable')
class(`SW_CASTable_getNextAttributeKey`) = c("SWIGFunction", class('SW_CASTable_getNextAttributeKey'))
# Start of SW_CASTable_getAttributeType
`SW_CASTable_getAttributeType` = function(self, key)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
key = as(key, "character");
;.Call('R_swig_SW_CASTable_getAttributeType', self, key, PACKAGE='rswat');
}
attr(`SW_CASTable_getAttributeType`, 'returnType') = 'character'
attr(`SW_CASTable_getAttributeType`, "inputTypes") = c('_p_CASTable', 'character')
class(`SW_CASTable_getAttributeType`) = c("SWIGFunction", class('SW_CASTable_getAttributeType'))
# Start of SW_CASTable_getAttributeNItems
`SW_CASTable_getAttributeNItems` = function(self, key, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
key = as(key, "character");
;.Call('R_swig_SW_CASTable_getAttributeNItems', self, key, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASTable_getAttributeNItems`, 'returnType') = 'integer'
attr(`SW_CASTable_getAttributeNItems`, "inputTypes") = c('_p_CASTable', 'character')
class(`SW_CASTable_getAttributeNItems`) = c("SWIGFunction", class('SW_CASTable_getAttributeNItems'))
# Start of SW_CASTable_getInt32Attribute
`SW_CASTable_getInt32Attribute` = function(self, key, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
key = as(key, "character");
;.Call('R_swig_SW_CASTable_getInt32Attribute', self, key, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASTable_getInt32Attribute`, 'returnType') = 'integer'
attr(`SW_CASTable_getInt32Attribute`, "inputTypes") = c('_p_CASTable', 'character')
class(`SW_CASTable_getInt32Attribute`) = c("SWIGFunction", class('SW_CASTable_getInt32Attribute'))
# Start of SW_CASTable_getInt32ArrayAttributeItem
`SW_CASTable_getInt32ArrayAttributeItem` = function(self, key, index, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
key = as(key, "character");
index = as.integer(index);
if(length(index) > 1) {
warning("using only the first element of index");
};
;.Call('R_swig_SW_CASTable_getInt32ArrayAttributeItem', self, key, index, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASTable_getInt32ArrayAttributeItem`, 'returnType') = 'integer'
attr(`SW_CASTable_getInt32ArrayAttributeItem`, "inputTypes") = c('_p_CASTable', 'character', 'integer')
class(`SW_CASTable_getInt32ArrayAttributeItem`) = c("SWIGFunction", class('SW_CASTable_getInt32ArrayAttributeItem'))
# Start of SW_CASTable_getInt64Attribute
`SW_CASTable_getInt64Attribute` = function(self, key, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
key = as(key, "character");
;.Call('R_swig_SW_CASTable_getInt64Attribute', self, key, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASTable_getInt64Attribute`, 'returnType') = 'integer'
attr(`SW_CASTable_getInt64Attribute`, "inputTypes") = c('_p_CASTable', 'character')
class(`SW_CASTable_getInt64Attribute`) = c("SWIGFunction", class('SW_CASTable_getInt64Attribute'))
# Start of SW_CASTable_getInt64AttributeAsString
`SW_CASTable_getInt64AttributeAsString` = function(self, key)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
key = as(key, "character");
;.Call('R_swig_SW_CASTable_getInt64AttributeAsString', self, key, PACKAGE='rswat');
}
attr(`SW_CASTable_getInt64AttributeAsString`, 'returnType') = 'character'
attr(`SW_CASTable_getInt64AttributeAsString`, "inputTypes") = c('_p_CASTable', 'character')
class(`SW_CASTable_getInt64AttributeAsString`) = c("SWIGFunction", class('SW_CASTable_getInt64AttributeAsString'))
# Start of SW_CASTable_getInt64ArrayAttributeItem
`SW_CASTable_getInt64ArrayAttributeItem` = function(self, key, index, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
key = as(key, "character");
index = as.integer(index);
if(length(index) > 1) {
warning("using only the first element of index");
};
;.Call('R_swig_SW_CASTable_getInt64ArrayAttributeItem', self, key, index, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASTable_getInt64ArrayAttributeItem`, 'returnType') = 'integer'
attr(`SW_CASTable_getInt64ArrayAttributeItem`, "inputTypes") = c('_p_CASTable', 'character', 'integer')
class(`SW_CASTable_getInt64ArrayAttributeItem`) = c("SWIGFunction", class('SW_CASTable_getInt64ArrayAttributeItem'))
# Start of SW_CASTable_getInt64ArrayAttributeItemAsString
`SW_CASTable_getInt64ArrayAttributeItemAsString` = function(self, key, index)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
key = as(key, "character");
index = as.integer(index);
if(length(index) > 1) {
warning("using only the first element of index");
};
;.Call('R_swig_SW_CASTable_getInt64ArrayAttributeItemAsString', self, key, index, PACKAGE='rswat');
}
attr(`SW_CASTable_getInt64ArrayAttributeItemAsString`, 'returnType') = 'character'
attr(`SW_CASTable_getInt64ArrayAttributeItemAsString`, "inputTypes") = c('_p_CASTable', 'character', 'integer')
class(`SW_CASTable_getInt64ArrayAttributeItemAsString`) = c("SWIGFunction", class('SW_CASTable_getInt64ArrayAttributeItemAsString'))
# Start of SW_CASTable_getStringAttribute
`SW_CASTable_getStringAttribute` = function(self, key)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
key = as(key, "character");
;.Call('R_swig_SW_CASTable_getStringAttribute', self, key, PACKAGE='rswat');
}
attr(`SW_CASTable_getStringAttribute`, 'returnType') = 'character'
attr(`SW_CASTable_getStringAttribute`, "inputTypes") = c('_p_CASTable', 'character')
class(`SW_CASTable_getStringAttribute`) = c("SWIGFunction", class('SW_CASTable_getStringAttribute'))
# Start of SW_CASTable_getDoubleAttribute
`SW_CASTable_getDoubleAttribute` = function(self, key, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
key = as(key, "character");
;.Call('R_swig_SW_CASTable_getDoubleAttribute', self, key, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASTable_getDoubleAttribute`, 'returnType') = 'numeric'
attr(`SW_CASTable_getDoubleAttribute`, "inputTypes") = c('_p_CASTable', 'character')
class(`SW_CASTable_getDoubleAttribute`) = c("SWIGFunction", class('SW_CASTable_getDoubleAttribute'))
# Start of SW_CASTable_getDoubleArrayAttributeItem
`SW_CASTable_getDoubleArrayAttributeItem` = function(self, key, index, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
key = as(key, "character");
index = as.integer(index);
if(length(index) > 1) {
warning("using only the first element of index");
};
;.Call('R_swig_SW_CASTable_getDoubleArrayAttributeItem', self, key, index, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASTable_getDoubleArrayAttributeItem`, 'returnType') = 'numeric'
attr(`SW_CASTable_getDoubleArrayAttributeItem`, "inputTypes") = c('_p_CASTable', 'character', 'integer')
class(`SW_CASTable_getDoubleArrayAttributeItem`) = c("SWIGFunction", class('SW_CASTable_getDoubleArrayAttributeItem'))
# Start of SW_CASTable_getNextColumnAttributeKey
`SW_CASTable_getNextColumnAttributeKey` = function(self, col)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
col = as.integer(col);
if(length(col) > 1) {
warning("using only the first element of col");
};
;.Call('R_swig_SW_CASTable_getNextColumnAttributeKey', self, col, PACKAGE='rswat');
}
attr(`SW_CASTable_getNextColumnAttributeKey`, 'returnType') = 'character'
attr(`SW_CASTable_getNextColumnAttributeKey`, "inputTypes") = c('_p_CASTable', 'integer')
class(`SW_CASTable_getNextColumnAttributeKey`) = c("SWIGFunction", class('SW_CASTable_getNextColumnAttributeKey'))
# Start of SW_CASTable_getColumnAttributeType
`SW_CASTable_getColumnAttributeType` = function(self, col, key)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
col = as.integer(col);
if(length(col) > 1) {
warning("using only the first element of col");
};
key = as(key, "character");
;.Call('R_swig_SW_CASTable_getColumnAttributeType', self, col, key, PACKAGE='rswat');
}
attr(`SW_CASTable_getColumnAttributeType`, 'returnType') = 'character'
attr(`SW_CASTable_getColumnAttributeType`, "inputTypes") = c('_p_CASTable', 'integer', 'character')
class(`SW_CASTable_getColumnAttributeType`) = c("SWIGFunction", class('SW_CASTable_getColumnAttributeType'))
# Start of SW_CASTable_getColumnAttributeNItems
`SW_CASTable_getColumnAttributeNItems` = function(self, col, key, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
col = as.integer(col);
if(length(col) > 1) {
warning("using only the first element of col");
};
key = as(key, "character");
;.Call('R_swig_SW_CASTable_getColumnAttributeNItems', self, col, key, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASTable_getColumnAttributeNItems`, 'returnType') = 'integer'
attr(`SW_CASTable_getColumnAttributeNItems`, "inputTypes") = c('_p_CASTable', 'integer', 'character')
class(`SW_CASTable_getColumnAttributeNItems`) = c("SWIGFunction", class('SW_CASTable_getColumnAttributeNItems'))
# Start of SW_CASTable_getColumnInt32Attribute
`SW_CASTable_getColumnInt32Attribute` = function(self, col, key, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
col = as.integer(col);
if(length(col) > 1) {
warning("using only the first element of col");
};
key = as(key, "character");
;.Call('R_swig_SW_CASTable_getColumnInt32Attribute', self, col, key, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASTable_getColumnInt32Attribute`, 'returnType') = 'integer'
attr(`SW_CASTable_getColumnInt32Attribute`, "inputTypes") = c('_p_CASTable', 'integer', 'character')
class(`SW_CASTable_getColumnInt32Attribute`) = c("SWIGFunction", class('SW_CASTable_getColumnInt32Attribute'))
# Start of SW_CASTable_getColumnInt32ArrayAttributeItem
`SW_CASTable_getColumnInt32ArrayAttributeItem` = function(self, col, key, index, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
col = as.integer(col);
if(length(col) > 1) {
warning("using only the first element of col");
};
key = as(key, "character");
index = as.integer(index);
if(length(index) > 1) {
warning("using only the first element of index");
};
;.Call('R_swig_SW_CASTable_getColumnInt32ArrayAttributeItem', self, col, key, index, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASTable_getColumnInt32ArrayAttributeItem`, 'returnType') = 'integer'
attr(`SW_CASTable_getColumnInt32ArrayAttributeItem`, "inputTypes") = c('_p_CASTable', 'integer', 'character', 'integer')
class(`SW_CASTable_getColumnInt32ArrayAttributeItem`) = c("SWIGFunction", class('SW_CASTable_getColumnInt32ArrayAttributeItem'))
# Start of SW_CASTable_getColumnInt64Attribute
`SW_CASTable_getColumnInt64Attribute` = function(self, col, key, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
col = as.integer(col);
if(length(col) > 1) {
warning("using only the first element of col");
};
key = as(key, "character");
;.Call('R_swig_SW_CASTable_getColumnInt64Attribute', self, col, key, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASTable_getColumnInt64Attribute`, 'returnType') = 'integer'
attr(`SW_CASTable_getColumnInt64Attribute`, "inputTypes") = c('_p_CASTable', 'integer', 'character')
class(`SW_CASTable_getColumnInt64Attribute`) = c("SWIGFunction", class('SW_CASTable_getColumnInt64Attribute'))
# Start of SW_CASTable_getColumnInt64AttributeAsString
`SW_CASTable_getColumnInt64AttributeAsString` = function(self, col, key)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
col = as.integer(col);
if(length(col) > 1) {
warning("using only the first element of col");
};
key = as(key, "character");
;.Call('R_swig_SW_CASTable_getColumnInt64AttributeAsString', self, col, key, PACKAGE='rswat');
}
attr(`SW_CASTable_getColumnInt64AttributeAsString`, 'returnType') = 'character'
attr(`SW_CASTable_getColumnInt64AttributeAsString`, "inputTypes") = c('_p_CASTable', 'integer', 'character')
class(`SW_CASTable_getColumnInt64AttributeAsString`) = c("SWIGFunction", class('SW_CASTable_getColumnInt64AttributeAsString'))
# Start of SW_CASTable_getColumnInt64ArrayAttributeItem
`SW_CASTable_getColumnInt64ArrayAttributeItem` = function(self, col, key, index, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
col = as.integer(col);
if(length(col) > 1) {
warning("using only the first element of col");
};
key = as(key, "character");
index = as.integer(index);
if(length(index) > 1) {
warning("using only the first element of index");
};
;.Call('R_swig_SW_CASTable_getColumnInt64ArrayAttributeItem', self, col, key, index, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASTable_getColumnInt64ArrayAttributeItem`, 'returnType') = 'integer'
attr(`SW_CASTable_getColumnInt64ArrayAttributeItem`, "inputTypes") = c('_p_CASTable', 'integer', 'character', 'integer')
class(`SW_CASTable_getColumnInt64ArrayAttributeItem`) = c("SWIGFunction", class('SW_CASTable_getColumnInt64ArrayAttributeItem'))
# Start of SW_CASTable_getColumnInt64ArrayAttributeItemAsString
`SW_CASTable_getColumnInt64ArrayAttributeItemAsString` = function(self, col, key, index)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
col = as.integer(col);
if(length(col) > 1) {
warning("using only the first element of col");
};
key = as(key, "character");
index = as.integer(index);
if(length(index) > 1) {
warning("using only the first element of index");
};
;.Call('R_swig_SW_CASTable_getColumnInt64ArrayAttributeItemAsString', self, col, key, index, PACKAGE='rswat');
}
attr(`SW_CASTable_getColumnInt64ArrayAttributeItemAsString`, 'returnType') = 'character'
attr(`SW_CASTable_getColumnInt64ArrayAttributeItemAsString`, "inputTypes") = c('_p_CASTable', 'integer', 'character', 'integer')
class(`SW_CASTable_getColumnInt64ArrayAttributeItemAsString`) = c("SWIGFunction", class('SW_CASTable_getColumnInt64ArrayAttributeItemAsString'))
# Start of SW_CASTable_getColumnStringAttribute
`SW_CASTable_getColumnStringAttribute` = function(self, col, key)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
col = as.integer(col);
if(length(col) > 1) {
warning("using only the first element of col");
};
key = as(key, "character");
;.Call('R_swig_SW_CASTable_getColumnStringAttribute', self, col, key, PACKAGE='rswat');
}
attr(`SW_CASTable_getColumnStringAttribute`, 'returnType') = 'character'
attr(`SW_CASTable_getColumnStringAttribute`, "inputTypes") = c('_p_CASTable', 'integer', 'character')
class(`SW_CASTable_getColumnStringAttribute`) = c("SWIGFunction", class('SW_CASTable_getColumnStringAttribute'))
# Start of SW_CASTable_getColumnDoubleAttribute
`SW_CASTable_getColumnDoubleAttribute` = function(self, col, key, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
col = as.integer(col);
if(length(col) > 1) {
warning("using only the first element of col");
};
key = as(key, "character");
;.Call('R_swig_SW_CASTable_getColumnDoubleAttribute', self, col, key, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASTable_getColumnDoubleAttribute`, 'returnType') = 'numeric'
attr(`SW_CASTable_getColumnDoubleAttribute`, "inputTypes") = c('_p_CASTable', 'integer', 'character')
class(`SW_CASTable_getColumnDoubleAttribute`) = c("SWIGFunction", class('SW_CASTable_getColumnDoubleAttribute'))
# Start of SW_CASTable_getColumnDoubleArrayAttributeItem
`SW_CASTable_getColumnDoubleArrayAttributeItem` = function(self, col, key, index, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
col = as.integer(col);
if(length(col) > 1) {
warning("using only the first element of col");
};
key = as(key, "character");
index = as.integer(index);
if(length(index) > 1) {
warning("using only the first element of index");
};
;.Call('R_swig_SW_CASTable_getColumnDoubleArrayAttributeItem', self, col, key, index, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASTable_getColumnDoubleArrayAttributeItem`, 'returnType') = 'numeric'
attr(`SW_CASTable_getColumnDoubleArrayAttributeItem`, "inputTypes") = c('_p_CASTable', 'integer', 'character', 'integer')
class(`SW_CASTable_getColumnDoubleArrayAttributeItem`) = c("SWIGFunction", class('SW_CASTable_getColumnDoubleArrayAttributeItem'))
# Start of SW_CASTable_toVectors
`SW_CASTable_toVectors` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASTable_toVectors', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASTable_toVectors`, 'returnType') = '_p_SEXP'
attr(`SW_CASTable_toVectors`, "inputTypes") = c('_p_CASTable')
class(`SW_CASTable_toVectors`) = c("SWIGFunction", class('SW_CASTable_toVectors'))
# Start of new_SW_CASTable
`SW_CASTable` = function(.copy = FALSE)
{
;ans = .Call('R_swig_new_SW_CASTable', as.logical(.copy), PACKAGE='rswat');
ans <- if (is.null(ans)) ans
else new("_p_CASTable", ref=ans);
reg.finalizer(ans@ref, delete_SW_CASTable)
ans
}
attr(`SW_CASTable`, 'returnType') = '_p_CASTable'
class(`SW_CASTable`) = c("SWIGFunction", class('SW_CASTable'))
# Start of accessor method for CASTable
setMethod('$', '_p_CASTable', function(x, name)
{
accessorFuns = list('destroy' = SW_CASTable_destroy, 'getTypeName' = SW_CASTable_getTypeName, 'getSOptions' = SW_CASTable_getSOptions, 'isNULL' = SW_CASTable_isNULL, 'getName' = SW_CASTable_getName, 'getLabel' = SW_CASTable_getLabel, 'getTitle' = SW_CASTable_getTitle, 'getNColumns' = SW_CASTable_getNColumns, 'getNRows' = SW_CASTable_getNRows, 'getColumnName' = SW_CASTable_getColumnName, 'getColumnLabel' = SW_CASTable_getColumnLabel, 'getColumnType' = SW_CASTable_getColumnType, 'getColumnWidth' = SW_CASTable_getColumnWidth, 'getColumnArrayNItems' = SW_CASTable_getColumnArrayNItems, 'getColumnFormat' = SW_CASTable_getColumnFormat, 'getStringValue' = SW_CASTable_getStringValue, 'getBinaryValue' = SW_CASTable_getBinaryValue, 'getBinaryNBytes' = SW_CASTable_getBinaryNBytes, 'getBinaryBase64Value' = SW_CASTable_getBinaryBase64Value, 'getDateValue' = SW_CASTable_getDateValue, 'getTimeValue' = SW_CASTable_getTimeValue, 'getTimeValueAsString' = SW_CASTable_getTimeValueAsString, 'getDatetimeValue' = SW_CASTable_getDatetimeValue, 'getDatetimeValueAsString' = SW_CASTable_getDatetimeValueAsString, 'getInt64Value' = SW_CASTable_getInt64Value, 'getInt64ValueAsString' = SW_CASTable_getInt64ValueAsString, 'getInt64ArrayValue' = SW_CASTable_getInt64ArrayValue, 'getInt64ArrayValueAsString' = SW_CASTable_getInt64ArrayValueAsString, 'getInt32Value' = SW_CASTable_getInt32Value, 'getInt32ArrayValue' = SW_CASTable_getInt32ArrayValue, 'getDoubleValue' = SW_CASTable_getDoubleValue, 'getDoubleArrayValue' = SW_CASTable_getDoubleArrayValue, 'getLastErrorMessage' = SW_CASTable_getLastErrorMessage, 'getNextAttributeKey' = SW_CASTable_getNextAttributeKey, 'getAttributeType' = SW_CASTable_getAttributeType, 'getAttributeNItems' = SW_CASTable_getAttributeNItems, 'getInt32Attribute' = SW_CASTable_getInt32Attribute, 'getInt32ArrayAttributeItem' = SW_CASTable_getInt32ArrayAttributeItem, 'getInt64Attribute' = SW_CASTable_getInt64Attribute, 'getInt64AttributeAsString' = SW_CASTable_getInt64AttributeAsString, 'getInt64ArrayAttributeItem' = SW_CASTable_getInt64ArrayAttributeItem, 'getInt64ArrayAttributeItemAsString' = SW_CASTable_getInt64ArrayAttributeItemAsString, 'getStringAttribute' = SW_CASTable_getStringAttribute, 'getDoubleAttribute' = SW_CASTable_getDoubleAttribute, 'getDoubleArrayAttributeItem' = SW_CASTable_getDoubleArrayAttributeItem, 'getNextColumnAttributeKey' = SW_CASTable_getNextColumnAttributeKey, 'getColumnAttributeType' = SW_CASTable_getColumnAttributeType, 'getColumnAttributeNItems' = SW_CASTable_getColumnAttributeNItems, 'getColumnInt32Attribute' = SW_CASTable_getColumnInt32Attribute, 'getColumnInt32ArrayAttributeItem' = SW_CASTable_getColumnInt32ArrayAttributeItem, 'getColumnInt64Attribute' = SW_CASTable_getColumnInt64Attribute, 'getColumnInt64AttributeAsString' = SW_CASTable_getColumnInt64AttributeAsString, 'getColumnInt64ArrayAttributeItem' = SW_CASTable_getColumnInt64ArrayAttributeItem, 'getColumnInt64ArrayAttributeItemAsString' = SW_CASTable_getColumnInt64ArrayAttributeItemAsString, 'getColumnStringAttribute' = SW_CASTable_getColumnStringAttribute, 'getColumnDoubleAttribute' = SW_CASTable_getColumnDoubleAttribute, 'getColumnDoubleArrayAttributeItem' = SW_CASTable_getColumnDoubleArrayAttributeItem, 'toVectors' = SW_CASTable_toVectors);
; idx = pmatch(name, names(accessorFuns));
if(is.na(idx))
return(callNextMethod(x, name));
f = accessorFuns[[idx]];
function(...){
f(x, ...)
};
}
);
# end of accessor method for CASTable
setMethod('delete', '_p_CASTable', function(obj) {delete_CASTable(obj)})
# Start definition of copy functions & methods for CASTable
CopyToR_CASTable = function(value, obj = new("CASTable"))
{
obj;
}
CopyToC_CASTable = function(value, obj)
{
obj
}
# Start definition of copy methods for CASTable
setMethod('copyToR', '_p_CASTable', CopyToR_CASTable);
setMethod('copyToC', 'CASTable', CopyToC_CASTable);
# End definition of copy methods for CASTable
# End definition of copy functions & methods for CASTable
# Start of new_SW_CASFormatter
`SW_CASFormatter` = function(soptions, error, .copy = FALSE)
{
soptions = as(soptions, "character");
if (inherits(error, "ExternalReference")) error = slot(error,"ref")
;ans = .Call('R_swig_new_SW_CASFormatter', soptions, error, as.logical(.copy), PACKAGE='rswat');
ans <- if (is.null(ans)) ans
else new("_p_CASFormatter", ref=ans);
reg.finalizer(ans@ref, delete_SW_CASFormatter)
ans
}
attr(`SW_CASFormatter`, 'returnType') = '_p_CASFormatter'
attr(`SW_CASFormatter`, "inputTypes") = c('character', '_p_CASError')
class(`SW_CASFormatter`) = c("SWIGFunction", class('SW_CASFormatter'))
# Start of delete_SW_CASFormatter
`delete_SW_CASFormatter` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_delete_SW_CASFormatter', self, PACKAGE='rswat');
}
attr(`delete_SW_CASFormatter`, 'returnType') = 'void'
attr(`delete_SW_CASFormatter`, "inputTypes") = c('_p_CASFormatter')
class(`delete_SW_CASFormatter`) = c("SWIGFunction", class('delete_SW_CASFormatter'))
# Start of SW_CASFormatter_destroy
`SW_CASFormatter_destroy` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASFormatter_destroy', self, PACKAGE='rswat');
}
attr(`SW_CASFormatter_destroy`, 'returnType') = 'void'
attr(`SW_CASFormatter_destroy`, "inputTypes") = c('_p_CASFormatter')
class(`SW_CASFormatter_destroy`) = c("SWIGFunction", class('SW_CASFormatter_destroy'))
# Start of SW_CASFormatter_getTypeName
`SW_CASFormatter_getTypeName` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASFormatter_getTypeName', self, PACKAGE='rswat');
}
attr(`SW_CASFormatter_getTypeName`, 'returnType') = 'character'
attr(`SW_CASFormatter_getTypeName`, "inputTypes") = c('_p_CASFormatter')
class(`SW_CASFormatter_getTypeName`) = c("SWIGFunction", class('SW_CASFormatter_getTypeName'))
# Start of SW_CASFormatter_getSOptions
`SW_CASFormatter_getSOptions` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASFormatter_getSOptions', self, PACKAGE='rswat');
}
attr(`SW_CASFormatter_getSOptions`, 'returnType') = 'character'
attr(`SW_CASFormatter_getSOptions`, "inputTypes") = c('_p_CASFormatter')
class(`SW_CASFormatter_getSOptions`) = c("SWIGFunction", class('SW_CASFormatter_getSOptions'))
# Start of SW_CASFormatter_isNULL
`SW_CASFormatter_isNULL` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASFormatter_isNULL', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASFormatter_isNULL`, 'returnType') = 'integer'
attr(`SW_CASFormatter_isNULL`, "inputTypes") = c('_p_CASFormatter')
class(`SW_CASFormatter_isNULL`) = c("SWIGFunction", class('SW_CASFormatter_isNULL'))
# Start of SW_CASFormatter_formatDouble
`SW_CASFormatter_formatDouble` = function(self, d, format, width)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
format = as(format, "character");
width = as.integer(width);
if(length(width) > 1) {
warning("using only the first element of width");
};
;.Call('R_swig_SW_CASFormatter_formatDouble', self, d, format, width, PACKAGE='rswat');
}
attr(`SW_CASFormatter_formatDouble`, 'returnType') = 'character'
attr(`SW_CASFormatter_formatDouble`, "inputTypes") = c('_p_CASFormatter', 'numeric', 'character', 'integer')
class(`SW_CASFormatter_formatDouble`) = c("SWIGFunction", class('SW_CASFormatter_formatDouble'))
# Start of SW_CASFormatter_formatInt32
`SW_CASFormatter_formatInt32` = function(self, d, format, width)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
d = as.integer(d);
if(length(d) > 1) {
warning("using only the first element of d");
};
format = as(format, "character");
width = as.integer(width);
if(length(width) > 1) {
warning("using only the first element of width");
};
;.Call('R_swig_SW_CASFormatter_formatInt32', self, d, format, width, PACKAGE='rswat');
}
attr(`SW_CASFormatter_formatInt32`, 'returnType') = 'character'
attr(`SW_CASFormatter_formatInt32`, "inputTypes") = c('_p_CASFormatter', 'integer', 'character', 'integer')
class(`SW_CASFormatter_formatInt32`) = c("SWIGFunction", class('SW_CASFormatter_formatInt32'))
# Start of SW_CASFormatter_formatInt64
`SW_CASFormatter_formatInt64` = function(self, d, format, width)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
d = as.integer(d);
if(length(d) > 1) {
warning("using only the first element of d");
};
format = as(format, "character");
width = as.integer(width);
if(length(width) > 1) {
warning("using only the first element of width");
};
;.Call('R_swig_SW_CASFormatter_formatInt64', self, d, format, width, PACKAGE='rswat');
}
attr(`SW_CASFormatter_formatInt64`, 'returnType') = 'character'
attr(`SW_CASFormatter_formatInt64`, "inputTypes") = c('_p_CASFormatter', 'integer', 'character', 'integer')
class(`SW_CASFormatter_formatInt64`) = c("SWIGFunction", class('SW_CASFormatter_formatInt64'))
# Start of SW_CASFormatter_formatString
`SW_CASFormatter_formatString` = function(self, d, format, width)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
d = as(d, "character");
format = as(format, "character");
width = as.integer(width);
if(length(width) > 1) {
warning("using only the first element of width");
};
;.Call('R_swig_SW_CASFormatter_formatString', self, d, format, width, PACKAGE='rswat');
}
attr(`SW_CASFormatter_formatString`, 'returnType') = 'character'
attr(`SW_CASFormatter_formatString`, "inputTypes") = c('_p_CASFormatter', 'character', 'character', 'integer')
class(`SW_CASFormatter_formatString`) = c("SWIGFunction", class('SW_CASFormatter_formatString'))
# Start of SW_CASFormatter_getLastErrorMessage
`SW_CASFormatter_getLastErrorMessage` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASFormatter_getLastErrorMessage', self, PACKAGE='rswat');
}
attr(`SW_CASFormatter_getLastErrorMessage`, 'returnType') = 'character'
attr(`SW_CASFormatter_getLastErrorMessage`, "inputTypes") = c('_p_CASFormatter')
class(`SW_CASFormatter_getLastErrorMessage`) = c("SWIGFunction", class('SW_CASFormatter_getLastErrorMessage'))
# Start of accessor method for CASFormatter
setMethod('$', '_p_CASFormatter', function(x, name)
{
accessorFuns = list('destroy' = SW_CASFormatter_destroy, 'getTypeName' = SW_CASFormatter_getTypeName, 'getSOptions' = SW_CASFormatter_getSOptions, 'isNULL' = SW_CASFormatter_isNULL, 'formatDouble' = SW_CASFormatter_formatDouble, 'formatInt32' = SW_CASFormatter_formatInt32, 'formatInt64' = SW_CASFormatter_formatInt64, 'formatString' = SW_CASFormatter_formatString, 'getLastErrorMessage' = SW_CASFormatter_getLastErrorMessage);
; idx = pmatch(name, names(accessorFuns));
if(is.na(idx))
return(callNextMethod(x, name));
f = accessorFuns[[idx]];
function(...){
f(x, ...)
};
}
);
# end of accessor method for CASFormatter
setMethod('delete', '_p_CASFormatter', function(obj) {delete_CASFormatter(obj)})
# Start definition of copy functions & methods for CASFormatter
CopyToR_CASFormatter = function(value, obj = new("CASFormatter"))
{
obj;
}
CopyToC_CASFormatter = function(value, obj)
{
obj
}
# Start definition of copy methods for CASFormatter
setMethod('copyToR', '_p_CASFormatter', CopyToR_CASFormatter);
setMethod('copyToC', 'CASFormatter', CopyToC_CASFormatter);
# End definition of copy methods for CASFormatter
# End definition of copy functions & methods for CASFormatter
# Start of new_SW_CASConnectionEventWatcher
`SW_CASConnectionEventWatcher` = function(length, timeout, soptions, error, .copy = FALSE)
{
length = as.integer(length);
if(length(length) > 1) {
warning("using only the first element of length");
};
timeout = as.integer(timeout);
if(length(timeout) > 1) {
warning("using only the first element of timeout");
};
soptions = as(soptions, "character");
if (inherits(error, "ExternalReference")) error = slot(error,"ref")
;ans = .Call('R_swig_new_SW_CASConnectionEventWatcher', length, timeout, soptions, error, as.logical(.copy), PACKAGE='rswat');
ans <- if (is.null(ans)) ans
else new("_p_CASConnectionEventWatcher", ref=ans);
reg.finalizer(ans@ref, delete_SW_CASConnectionEventWatcher)
ans
}
attr(`SW_CASConnectionEventWatcher`, 'returnType') = '_p_CASConnectionEventWatcher'
attr(`SW_CASConnectionEventWatcher`, "inputTypes") = c('integer', 'integer', 'character', '_p_CASError')
class(`SW_CASConnectionEventWatcher`) = c("SWIGFunction", class('SW_CASConnectionEventWatcher'))
# Start of delete_SW_CASConnectionEventWatcher
`delete_SW_CASConnectionEventWatcher` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_delete_SW_CASConnectionEventWatcher', self, PACKAGE='rswat');
}
attr(`delete_SW_CASConnectionEventWatcher`, 'returnType') = 'void'
attr(`delete_SW_CASConnectionEventWatcher`, "inputTypes") = c('_p_CASConnectionEventWatcher')
class(`delete_SW_CASConnectionEventWatcher`) = c("SWIGFunction", class('delete_SW_CASConnectionEventWatcher'))
# Start of SW_CASConnectionEventWatcher_destroy
`SW_CASConnectionEventWatcher_destroy` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASConnectionEventWatcher_destroy', self, PACKAGE='rswat');
}
attr(`SW_CASConnectionEventWatcher_destroy`, 'returnType') = 'void'
attr(`SW_CASConnectionEventWatcher_destroy`, "inputTypes") = c('_p_CASConnectionEventWatcher')
class(`SW_CASConnectionEventWatcher_destroy`) = c("SWIGFunction", class('SW_CASConnectionEventWatcher_destroy'))
# Start of SW_CASConnectionEventWatcher_getTypeName
`SW_CASConnectionEventWatcher_getTypeName` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASConnectionEventWatcher_getTypeName', self, PACKAGE='rswat');
}
attr(`SW_CASConnectionEventWatcher_getTypeName`, 'returnType') = 'character'
attr(`SW_CASConnectionEventWatcher_getTypeName`, "inputTypes") = c('_p_CASConnectionEventWatcher')
class(`SW_CASConnectionEventWatcher_getTypeName`) = c("SWIGFunction", class('SW_CASConnectionEventWatcher_getTypeName'))
# Start of SW_CASConnectionEventWatcher_getSOptions
`SW_CASConnectionEventWatcher_getSOptions` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASConnectionEventWatcher_getSOptions', self, PACKAGE='rswat');
}
attr(`SW_CASConnectionEventWatcher_getSOptions`, 'returnType') = 'character'
attr(`SW_CASConnectionEventWatcher_getSOptions`, "inputTypes") = c('_p_CASConnectionEventWatcher')
class(`SW_CASConnectionEventWatcher_getSOptions`) = c("SWIGFunction", class('SW_CASConnectionEventWatcher_getSOptions'))
# Start of SW_CASConnectionEventWatcher_addConnection
`SW_CASConnectionEventWatcher_addConnection` = function(self, c, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
if (inherits(c, "ExternalReference")) c = slot(c,"ref")
;.Call('R_swig_SW_CASConnectionEventWatcher_addConnection', self, c, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASConnectionEventWatcher_addConnection`, 'returnType') = 'integer'
attr(`SW_CASConnectionEventWatcher_addConnection`, "inputTypes") = c('_p_CASConnectionEventWatcher', '_p_CASConnection')
class(`SW_CASConnectionEventWatcher_addConnection`) = c("SWIGFunction", class('SW_CASConnectionEventWatcher_addConnection'))
# Start of SW_CASConnectionEventWatcher_wait
`SW_CASConnectionEventWatcher_wait` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASConnectionEventWatcher_wait', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASConnectionEventWatcher_wait`, 'returnType') = 'integer'
attr(`SW_CASConnectionEventWatcher_wait`, "inputTypes") = c('_p_CASConnectionEventWatcher')
class(`SW_CASConnectionEventWatcher_wait`) = c("SWIGFunction", class('SW_CASConnectionEventWatcher_wait'))
# Start of SW_CASConnectionEventWatcher_getLastErrorMessage
`SW_CASConnectionEventWatcher_getLastErrorMessage` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASConnectionEventWatcher_getLastErrorMessage', self, PACKAGE='rswat');
}
attr(`SW_CASConnectionEventWatcher_getLastErrorMessage`, 'returnType') = 'character'
attr(`SW_CASConnectionEventWatcher_getLastErrorMessage`, "inputTypes") = c('_p_CASConnectionEventWatcher')
class(`SW_CASConnectionEventWatcher_getLastErrorMessage`) = c("SWIGFunction", class('SW_CASConnectionEventWatcher_getLastErrorMessage'))
# Start of accessor method for CASConnectionEventWatcher
setMethod('$', '_p_CASConnectionEventWatcher', function(x, name)
{
accessorFuns = list('destroy' = SW_CASConnectionEventWatcher_destroy, 'getTypeName' = SW_CASConnectionEventWatcher_getTypeName, 'getSOptions' = SW_CASConnectionEventWatcher_getSOptions, 'addConnection' = SW_CASConnectionEventWatcher_addConnection, 'wait' = SW_CASConnectionEventWatcher_wait, 'getLastErrorMessage' = SW_CASConnectionEventWatcher_getLastErrorMessage);
; idx = pmatch(name, names(accessorFuns));
if(is.na(idx))
return(callNextMethod(x, name));
f = accessorFuns[[idx]];
function(...){
f(x, ...)
};
}
);
# end of accessor method for CASConnectionEventWatcher
setMethod('delete', '_p_CASConnectionEventWatcher', function(obj) {delete_CASConnectionEventWatcher(obj)})
# Start definition of copy functions & methods for CASConnectionEventWatcher
CopyToR_CASConnectionEventWatcher = function(value, obj = new("CASConnectionEventWatcher"))
{
obj;
}
CopyToC_CASConnectionEventWatcher = function(value, obj)
{
obj
}
# Start definition of copy methods for CASConnectionEventWatcher
setMethod('copyToR', '_p_CASConnectionEventWatcher', CopyToR_CASConnectionEventWatcher);
setMethod('copyToC', 'CASConnectionEventWatcher', CopyToC_CASConnectionEventWatcher);
# End definition of copy methods for CASConnectionEventWatcher
# End definition of copy functions & methods for CASConnectionEventWatcher
# Start of new_SW_CASDataBuffer
`SW_CASDataBuffer` = function(reclen, nrecs, soptions, error, .copy = FALSE)
{
reclen = as.integer(reclen);
if(length(reclen) > 1) {
warning("using only the first element of reclen");
};
nrecs = as.integer(nrecs);
if(length(nrecs) > 1) {
warning("using only the first element of nrecs");
};
soptions = as(soptions, "character");
if (inherits(error, "ExternalReference")) error = slot(error,"ref")
;ans = .Call('R_swig_new_SW_CASDataBuffer', reclen, nrecs, soptions, error, as.logical(.copy), PACKAGE='rswat');
ans <- if (is.null(ans)) ans
else new("_p_CASDataBuffer", ref=ans);
reg.finalizer(ans@ref, delete_SW_CASDataBuffer)
ans
}
attr(`SW_CASDataBuffer`, 'returnType') = '_p_CASDataBuffer'
attr(`SW_CASDataBuffer`, "inputTypes") = c('integer', 'integer', 'character', '_p_CASError')
class(`SW_CASDataBuffer`) = c("SWIGFunction", class('SW_CASDataBuffer'))
# Start of delete_SW_CASDataBuffer
`delete_SW_CASDataBuffer` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_delete_SW_CASDataBuffer', self, PACKAGE='rswat');
}
attr(`delete_SW_CASDataBuffer`, 'returnType') = 'void'
attr(`delete_SW_CASDataBuffer`, "inputTypes") = c('_p_CASDataBuffer')
class(`delete_SW_CASDataBuffer`) = c("SWIGFunction", class('delete_SW_CASDataBuffer'))
# Start of SW_CASDataBuffer_destroy
`SW_CASDataBuffer_destroy` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASDataBuffer_destroy', self, PACKAGE='rswat');
}
attr(`SW_CASDataBuffer_destroy`, 'returnType') = 'void'
attr(`SW_CASDataBuffer_destroy`, "inputTypes") = c('_p_CASDataBuffer')
class(`SW_CASDataBuffer_destroy`) = c("SWIGFunction", class('SW_CASDataBuffer_destroy'))
# Start of SW_CASDataBuffer_getTypeName
`SW_CASDataBuffer_getTypeName` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASDataBuffer_getTypeName', self, PACKAGE='rswat');
}
attr(`SW_CASDataBuffer_getTypeName`, 'returnType') = 'character'
attr(`SW_CASDataBuffer_getTypeName`, "inputTypes") = c('_p_CASDataBuffer')
class(`SW_CASDataBuffer_getTypeName`) = c("SWIGFunction", class('SW_CASDataBuffer_getTypeName'))
# Start of SW_CASDataBuffer_getSOptions
`SW_CASDataBuffer_getSOptions` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASDataBuffer_getSOptions', self, PACKAGE='rswat');
}
attr(`SW_CASDataBuffer_getSOptions`, 'returnType') = 'character'
attr(`SW_CASDataBuffer_getSOptions`, "inputTypes") = c('_p_CASDataBuffer')
class(`SW_CASDataBuffer_getSOptions`) = c("SWIGFunction", class('SW_CASDataBuffer_getSOptions'))
# Start of SW_CASDataBuffer_setString
`SW_CASDataBuffer_setString` = function(self, row, offset, value, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
row = as.integer(row);
if(length(row) > 1) {
warning("using only the first element of row");
};
offset = as.integer(offset);
if(length(offset) > 1) {
warning("using only the first element of offset");
};
value = as(value, "character");
;.Call('R_swig_SW_CASDataBuffer_setString', self, row, offset, value, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASDataBuffer_setString`, 'returnType') = 'integer'
attr(`SW_CASDataBuffer_setString`, "inputTypes") = c('_p_CASDataBuffer', 'integer', 'integer', 'character')
class(`SW_CASDataBuffer_setString`) = c("SWIGFunction", class('SW_CASDataBuffer_setString'))
# Start of SW_CASDataBuffer_setFixedString
`SW_CASDataBuffer_setFixedString` = function(self, row, offset, value, width, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
row = as.integer(row);
if(length(row) > 1) {
warning("using only the first element of row");
};
offset = as.integer(offset);
if(length(offset) > 1) {
warning("using only the first element of offset");
};
value = as(value, "character");
width = as.integer(width);
if(length(width) > 1) {
warning("using only the first element of width");
};
;.Call('R_swig_SW_CASDataBuffer_setFixedString', self, row, offset, value, width, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASDataBuffer_setFixedString`, 'returnType') = 'integer'
attr(`SW_CASDataBuffer_setFixedString`, "inputTypes") = c('_p_CASDataBuffer', 'integer', 'integer', 'character', 'integer')
class(`SW_CASDataBuffer_setFixedString`) = c("SWIGFunction", class('SW_CASDataBuffer_setFixedString'))
# Start of SW_CASDataBuffer_setBinary
`SW_CASDataBuffer_setBinary` = function(self, row, offset, value, width, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
row = as.integer(row);
if(length(row) > 1) {
warning("using only the first element of row");
};
offset = as.integer(offset);
if(length(offset) > 1) {
warning("using only the first element of offset");
};
value = as(value, "character");
width = as.integer(width);
if(length(width) > 1) {
warning("using only the first element of width");
};
;.Call('R_swig_SW_CASDataBuffer_setBinary', self, row, offset, value, width, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASDataBuffer_setBinary`, 'returnType') = 'integer'
attr(`SW_CASDataBuffer_setBinary`, "inputTypes") = c('_p_CASDataBuffer', 'integer', 'integer', 'character', 'integer')
class(`SW_CASDataBuffer_setBinary`) = c("SWIGFunction", class('SW_CASDataBuffer_setBinary'))
# Start of SW_CASDataBuffer_setFixedBinaryFromBase64
`SW_CASDataBuffer_setFixedBinaryFromBase64` = function(self, row, offset, value, width, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
row = as.integer(row);
if(length(row) > 1) {
warning("using only the first element of row");
};
offset = as.integer(offset);
if(length(offset) > 1) {
warning("using only the first element of offset");
};
value = as(value, "character");
width = as.integer(width);
if(length(width) > 1) {
warning("using only the first element of width");
};
;.Call('R_swig_SW_CASDataBuffer_setFixedBinaryFromBase64', self, row, offset, value, width, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASDataBuffer_setFixedBinaryFromBase64`, 'returnType') = 'integer'
attr(`SW_CASDataBuffer_setFixedBinaryFromBase64`, "inputTypes") = c('_p_CASDataBuffer', 'integer', 'integer', 'character', 'integer')
class(`SW_CASDataBuffer_setFixedBinaryFromBase64`) = c("SWIGFunction", class('SW_CASDataBuffer_setFixedBinaryFromBase64'))
# Start of SW_CASDataBuffer_setFixedBinary
`SW_CASDataBuffer_setFixedBinary` = function(self, row, offset, value, length, width, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
row = as.integer(row);
if(length(row) > 1) {
warning("using only the first element of row");
};
offset = as.integer(offset);
if(length(offset) > 1) {
warning("using only the first element of offset");
};
value = as(value, "character");
length = as.integer(length);
if(length(length) > 1) {
warning("using only the first element of length");
};
width = as.integer(width);
if(length(width) > 1) {
warning("using only the first element of width");
};
;.Call('R_swig_SW_CASDataBuffer_setFixedBinary', self, row, offset, value, length, width, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASDataBuffer_setFixedBinary`, 'returnType') = 'integer'
attr(`SW_CASDataBuffer_setFixedBinary`, "inputTypes") = c('_p_CASDataBuffer', 'integer', 'integer', 'character', 'integer', 'integer')
class(`SW_CASDataBuffer_setFixedBinary`) = c("SWIGFunction", class('SW_CASDataBuffer_setFixedBinary'))
# Start of SW_CASDataBuffer_setBinaryFromBase64
`SW_CASDataBuffer_setBinaryFromBase64` = function(self, row, offset, value, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
row = as.integer(row);
if(length(row) > 1) {
warning("using only the first element of row");
};
offset = as.integer(offset);
if(length(offset) > 1) {
warning("using only the first element of offset");
};
value = as(value, "character");
;.Call('R_swig_SW_CASDataBuffer_setBinaryFromBase64', self, row, offset, value, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASDataBuffer_setBinaryFromBase64`, 'returnType') = 'integer'
attr(`SW_CASDataBuffer_setBinaryFromBase64`, "inputTypes") = c('_p_CASDataBuffer', 'integer', 'integer', 'character')
class(`SW_CASDataBuffer_setBinaryFromBase64`) = c("SWIGFunction", class('SW_CASDataBuffer_setBinaryFromBase64'))
# Start of SW_CASDataBuffer_setDouble
`SW_CASDataBuffer_setDouble` = function(self, row, offset, value, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
row = as.integer(row);
if(length(row) > 1) {
warning("using only the first element of row");
};
offset = as.integer(offset);
if(length(offset) > 1) {
warning("using only the first element of offset");
};
;.Call('R_swig_SW_CASDataBuffer_setDouble', self, row, offset, value, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASDataBuffer_setDouble`, 'returnType') = 'integer'
attr(`SW_CASDataBuffer_setDouble`, "inputTypes") = c('_p_CASDataBuffer', 'integer', 'integer', 'numeric')
class(`SW_CASDataBuffer_setDouble`) = c("SWIGFunction", class('SW_CASDataBuffer_setDouble'))
# Start of SW_CASDataBuffer_setInt32
`SW_CASDataBuffer_setInt32` = function(self, row, offset, value, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
row = as.integer(row);
if(length(row) > 1) {
warning("using only the first element of row");
};
offset = as.integer(offset);
if(length(offset) > 1) {
warning("using only the first element of offset");
};
value = as.integer(value);
if(length(value) > 1) {
warning("using only the first element of value");
};
;.Call('R_swig_SW_CASDataBuffer_setInt32', self, row, offset, value, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASDataBuffer_setInt32`, 'returnType') = 'integer'
attr(`SW_CASDataBuffer_setInt32`, "inputTypes") = c('_p_CASDataBuffer', 'integer', 'integer', 'integer')
class(`SW_CASDataBuffer_setInt32`) = c("SWIGFunction", class('SW_CASDataBuffer_setInt32'))
# Start of SW_CASDataBuffer_setInt64
`SW_CASDataBuffer_setInt64` = function(self, row, offset, value, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
row = as.integer(row);
if(length(row) > 1) {
warning("using only the first element of row");
};
offset = as.integer(offset);
if(length(offset) > 1) {
warning("using only the first element of offset");
};
value = as.integer(value);
if(length(value) > 1) {
warning("using only the first element of value");
};
;.Call('R_swig_SW_CASDataBuffer_setInt64', self, row, offset, value, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASDataBuffer_setInt64`, 'returnType') = 'integer'
attr(`SW_CASDataBuffer_setInt64`, "inputTypes") = c('_p_CASDataBuffer', 'integer', 'integer', 'integer')
class(`SW_CASDataBuffer_setInt64`) = c("SWIGFunction", class('SW_CASDataBuffer_setInt64'))
# Start of SW_CASDataBuffer_setInt64FromString
`SW_CASDataBuffer_setInt64FromString` = function(self, row, offset, value, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
row = as.integer(row);
if(length(row) > 1) {
warning("using only the first element of row");
};
offset = as.integer(offset);
if(length(offset) > 1) {
warning("using only the first element of offset");
};
value = as(value, "character");
;.Call('R_swig_SW_CASDataBuffer_setInt64FromString', self, row, offset, value, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASDataBuffer_setInt64FromString`, 'returnType') = 'integer'
attr(`SW_CASDataBuffer_setInt64FromString`, "inputTypes") = c('_p_CASDataBuffer', 'integer', 'integer', 'character')
class(`SW_CASDataBuffer_setInt64FromString`) = c("SWIGFunction", class('SW_CASDataBuffer_setInt64FromString'))
# Start of SW_CASDataBuffer_send
`SW_CASDataBuffer_send` = function(self, connection, nrecs, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
if (inherits(connection, "ExternalReference")) connection = slot(connection,"ref")
nrecs = as.integer(nrecs);
if(length(nrecs) > 1) {
warning("using only the first element of nrecs");
};
;.Call('R_swig_SW_CASDataBuffer_send', self, connection, nrecs, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASDataBuffer_send`, 'returnType') = 'integer'
attr(`SW_CASDataBuffer_send`, "inputTypes") = c('_p_CASDataBuffer', '_p_CASConnection', 'integer')
class(`SW_CASDataBuffer_send`) = c("SWIGFunction", class('SW_CASDataBuffer_send'))
# Start of SW_CASDataBuffer_getLastErrorMessage
`SW_CASDataBuffer_getLastErrorMessage` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASDataBuffer_getLastErrorMessage', self, PACKAGE='rswat');
}
attr(`SW_CASDataBuffer_getLastErrorMessage`, 'returnType') = 'character'
attr(`SW_CASDataBuffer_getLastErrorMessage`, "inputTypes") = c('_p_CASDataBuffer')
class(`SW_CASDataBuffer_getLastErrorMessage`) = c("SWIGFunction", class('SW_CASDataBuffer_getLastErrorMessage'))
# Start of accessor method for CASDataBuffer
setMethod('$', '_p_CASDataBuffer', function(x, name)
{
accessorFuns = list('destroy' = SW_CASDataBuffer_destroy, 'getTypeName' = SW_CASDataBuffer_getTypeName, 'getSOptions' = SW_CASDataBuffer_getSOptions, 'setString' = SW_CASDataBuffer_setString, 'setFixedString' = SW_CASDataBuffer_setFixedString, 'setBinary' = SW_CASDataBuffer_setBinary, 'setFixedBinaryFromBase64' = SW_CASDataBuffer_setFixedBinaryFromBase64, 'setFixedBinary' = SW_CASDataBuffer_setFixedBinary, 'setBinaryFromBase64' = SW_CASDataBuffer_setBinaryFromBase64, 'setDouble' = SW_CASDataBuffer_setDouble, 'setInt32' = SW_CASDataBuffer_setInt32, 'setInt64' = SW_CASDataBuffer_setInt64, 'setInt64FromString' = SW_CASDataBuffer_setInt64FromString, 'send' = SW_CASDataBuffer_send, 'getLastErrorMessage' = SW_CASDataBuffer_getLastErrorMessage);
; idx = pmatch(name, names(accessorFuns));
if(is.na(idx))
return(callNextMethod(x, name));
f = accessorFuns[[idx]];
function(...){
f(x, ...)
};
}
);
# end of accessor method for CASDataBuffer
setMethod('delete', '_p_CASDataBuffer', function(obj) {delete_CASDataBuffer(obj)})
# Start definition of copy functions & methods for CASDataBuffer
CopyToR_CASDataBuffer = function(value, obj = new("CASDataBuffer"))
{
obj;
}
CopyToC_CASDataBuffer = function(value, obj)
{
obj
}
# Start definition of copy methods for CASDataBuffer
setMethod('copyToR', '_p_CASDataBuffer', CopyToR_CASDataBuffer);
setMethod('copyToC', 'CASDataBuffer', CopyToC_CASDataBuffer);
# End definition of copy methods for CASDataBuffer
# End definition of copy functions & methods for CASDataBuffer
# Start of new_SW_CASError
`SW_CASError` = function(soptions, .copy = FALSE)
{
soptions = as(soptions, "character");
;ans = .Call('R_swig_new_SW_CASError', soptions, as.logical(.copy), PACKAGE='rswat');
ans <- if (is.null(ans)) ans
else new("_p_CASError", ref=ans);
reg.finalizer(ans@ref, delete_SW_CASError)
ans
}
attr(`SW_CASError`, 'returnType') = '_p_CASError'
attr(`SW_CASError`, "inputTypes") = c('character')
class(`SW_CASError`) = c("SWIGFunction", class('SW_CASError'))
# Start of delete_SW_CASError
`delete_SW_CASError` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_delete_SW_CASError', self, PACKAGE='rswat');
}
attr(`delete_SW_CASError`, 'returnType') = 'void'
attr(`delete_SW_CASError`, "inputTypes") = c('_p_CASError')
class(`delete_SW_CASError`) = c("SWIGFunction", class('delete_SW_CASError'))
# Start of SW_CASError_destroy
`SW_CASError_destroy` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASError_destroy', self, PACKAGE='rswat');
}
attr(`SW_CASError_destroy`, 'returnType') = 'void'
attr(`SW_CASError_destroy`, "inputTypes") = c('_p_CASError')
class(`SW_CASError_destroy`) = c("SWIGFunction", class('SW_CASError_destroy'))
# Start of SW_CASError_getTypeName
`SW_CASError_getTypeName` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASError_getTypeName', self, PACKAGE='rswat');
}
attr(`SW_CASError_getTypeName`, 'returnType') = 'character'
attr(`SW_CASError_getTypeName`, "inputTypes") = c('_p_CASError')
class(`SW_CASError_getTypeName`) = c("SWIGFunction", class('SW_CASError_getTypeName'))
# Start of SW_CASError_getSOptions
`SW_CASError_getSOptions` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASError_getSOptions', self, PACKAGE='rswat');
}
attr(`SW_CASError_getSOptions`, 'returnType') = 'character'
attr(`SW_CASError_getSOptions`, "inputTypes") = c('_p_CASError')
class(`SW_CASError_getSOptions`) = c("SWIGFunction", class('SW_CASError_getSOptions'))
# Start of SW_CASError_isNULL
`SW_CASError_isNULL` = function(self, .copy = FALSE)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASError_isNULL', self, as.logical(.copy), PACKAGE='rswat');
}
attr(`SW_CASError_isNULL`, 'returnType') = 'integer'
attr(`SW_CASError_isNULL`, "inputTypes") = c('_p_CASError')
class(`SW_CASError_isNULL`) = c("SWIGFunction", class('SW_CASError_isNULL'))
# Start of SW_CASError_getLastErrorMessage
`SW_CASError_getLastErrorMessage` = function(self)
{
if (inherits(self, "ExternalReference")) self = slot(self,"ref")
;.Call('R_swig_SW_CASError_getLastErrorMessage', self, PACKAGE='rswat');
}
attr(`SW_CASError_getLastErrorMessage`, 'returnType') = 'character'
attr(`SW_CASError_getLastErrorMessage`, "inputTypes") = c('_p_CASError')
class(`SW_CASError_getLastErrorMessage`) = c("SWIGFunction", class('SW_CASError_getLastErrorMessage'))
# Start of accessor method for CASError
setMethod('$', '_p_CASError', function(x, name)
{
accessorFuns = list('destroy' = SW_CASError_destroy, 'getTypeName' = SW_CASError_getTypeName, 'getSOptions' = SW_CASError_getSOptions, 'isNULL' = SW_CASError_isNULL, 'getLastErrorMessage' = SW_CASError_getLastErrorMessage);
; idx = pmatch(name, names(accessorFuns));
if(is.na(idx))
return(callNextMethod(x, name));
f = accessorFuns[[idx]];
function(...){
f(x, ...)
};
}
);
# end of accessor method for CASError
setMethod('delete', '_p_CASError', function(obj) {delete_CASError(obj)})
# Start definition of copy functions & methods for CASError
CopyToR_CASError = function(value, obj = new("CASError"))
{
obj;
}
CopyToC_CASError = function(value, obj)
{
obj
}
# Start definition of copy methods for CASError
setMethod('copyToR', '_p_CASError', CopyToR_CASError);
setMethod('copyToC', 'CASError', CopyToC_CASError);
# End definition of copy methods for CASError
# End definition of copy functions & methods for CASError
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.