language-extensions/R/src/RParam.cpp
//--------------------------------------------------------------------------------------------------
// Name: RRawParam::SetRcppVector
//
// Description:
//  Sets the RcppVector for RRawParam with the given paramValue.
//  This is a wrapper to CreateRawVector with rowsNumber = 1.
//  For null parameters, a size one vector with member value = raw(0) is created.
//
:SetRcppVector
Description:
Sets the RcppVector for RRawParam with the given paramValue.
This is a wrapper to CreateRawVector with rowsNumber = 1.
For null parameters, a size one vector with member value = raw(0) is created.
: SetRcppVector Description : Sets the RcppVector for RRawParam with the given paramValue . This is a wrapper to CreateRawVector with rowsNumber = 1 . For null parameters a size one vector with member value = raw ( 0 ) is created .
void RRawParam::SetRcppVector(SQLPOINTER paramValue)
{
	LOG("RRawParam::SetRcppVector");
	SQLINTEGER strLen_or_IndArray[1] = {0};
	SQLINTEGER strLenOrInd = StrLenOrInd();
	strLen_or_IndArray[0] = { strLenOrInd };
	m_RcppVector = RTypeUtils::CreateRawVector(
		1,        
		paramValue,
		strLen_or_IndArray);
}
void RRawParam :: SetRcppVector ( SQLPOINTER paramValue ) { LOG ( " " ) ; SQLINTEGER strLen_or_IndArray [ 1 ] = { 0 } ; SQLINTEGER strLenOrInd = StrLenOrInd ( ) ; strLen_or_IndArray [ 0 ] = { strLenOrInd } ; m_RcppVector = RTypeUtils :: CreateRawVector ( 1 , paramValue , strLen_or_IndArray ) ; }
Name: RRawParam::SetRcppVector
Description:
Sets the RcppVector for RRawParam with the given paramValue.
Name : RRawParam :: SetRcppVector Description : Sets the RcppVector for RRawParam with the given paramValue .
// rowsNumber