language-extensions/R/src/RLibrarySession.cpp
//--------------------------------------------------------------------------------------------------
// Name: RLibrarySession::Init
//
// Description:
//  Initializes the R library session by storing the session Id and the library name.
//
:Init
Description:
Initializes the R library session by storing the session Id and the library name.
: Init Description : Initializes the R library session by storing the session Id and the library name .
void RLibrarySession::Init(
	const SQLGUID &sessionId,
	const SQLCHAR *libraryName,
	SQLINTEGER    libraryNameLength)
{
	LOG("RLibrarySession::Init");
	m_sessionId = sessionId;
	m_libraryName = string(static_cast<const char*>(
			static_cast<const void*>(libraryName)),
			libraryNameLength);
}
void RLibrarySession :: Init ( const SQLGUID & sessionId , const SQLCHAR * libraryName , SQLINTEGER libraryNameLength ) { LOG ( " " ) ; m_sessionId = sessionId ; m_libraryName = string ( static_cast < const char * > ( static_cast < const void * > ( libraryName ) ) , libraryNameLength ) ; }
Name: RLibrarySession::Init
Description:
Initializes the R library session by storing the session Id and the library name.
Name : RLibrarySession :: Init Description : Initializes the R library session by storing the session Id and the library name .