亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? tlob.cpp

?? oracle引用庫
?? CPP
字號:
#define __OCICPP_INTERNAL_USE_#include "TLob.h"#if ( OCILIBVERMAJOR>=8 && OCILIBVERMINOR>=1 ) || DOXYGEN/*! \class OCICPP::TLob  \brief Representation of an Oracle temporary large object  Temporary LOBs within Oracle are almost like normal (persistent) LOBs, with  the exception that they only exist during the current session. In constrast  to LOBs, TLOBs are not stored within 'normal' tablespace(s), but exist only  within the temporary tablespace(s).  \ora8i_cl *//*!  Default-Constructor for a temporary LOB. A TLOB may be initialized by calling  void Connection::createTLob()  \ora8i_fn */OCICPP::TLob::TLob(): type(OCICPP::BLOB),cache(OCICPP::CACHE_OFF) {	init(0,0,0,type,cache);}OCICPP::TLob::TLob(OCIEnv *env,OCISvcCtx *svcctx,OCIError *err,OCICPP::LobType lob_type,OCICPP::CacheMode cache_mode):type(lob_type),cache(cache_mode){	init(env,svcctx,err,lob_type,cache_mode);}void OCICPP::TLob::init(OCIEnv *env,OCISvcCtx *svcctx,OCIError *err,OCICPP::LobType lob_type,OCICPP::CacheMode cache_mode) {	ub1 ltype;	boolean cachem;	OCIDuration d;	if(lob_type==BLOB) ltype=OCI_TEMP_BLOB;	else if(lob_type==CLOB) ltype=OCI_TEMP_CLOB;	else throw OraError("OCICPPLIB: Trying to build temporary lob of unknown type",OCICPPERROR);	if(cache_mode==CACHE_ON) cachem=TRUE;	else cachem=FALSE;	svchp=svcctx;	errhp=err;	type=lob_type;	cache=cache_mode;	offset=1;		if(env && svchp && errhp) {		if(OCIDescriptorAlloc(env,(void **)&lob,OCI_DTYPE_LOB,0,0)!=OCI_SUCCESS) {			throw OraError("OCICPPLIB: Cannot make new Temporary Lob: Handle Allocation failed",OCICPPERROR);		}		CHECKERR(errhp,OCILobCreateTemporary(svchp,errhp,lob,OCI_DEFAULT,OCI_DEFAULT,ltype,cachem,OCI_DURATION_SESSION));		CHECKERR(errhp,OCILobGetLength(svchp,errhp,lob,(ub4 *)&len));	} else {		len=0;	}}/*! At the end of a duration (e.g. the current session or an explicitly specified duration), all temporary LOBs associated to this duration are freed. However, the descriptor associated with the temporary LOB must be freed explicitly. \ora8i_fn*/OCICPP::TLob::~TLob() {	drop();}/*!  Drop (free) a temporary LOB. \ora8i_fn */void OCICPP::TLob::drop() {	CHECKERR(errhp,OCILobFreeTemporary(svchp,errhp,lob));}/*!  Seek a position within the temporary LOB.  \param dir may be \b SET, \b CUR or \b END .   \arg SET \a new_offset from begining of the temporary lob. \a new_offset may           not be greater than temporary Lob's length ( getLen() ).  \arg CUR modifies the access point within the temporary lob relative to the           current position. \a current position \a + \a new_offset may not	   exceed the temporary lob's length  \arg END sets the position from the end of the temporary lob.  \param new_offset is the new distance relative to the given direction \a dir  \ora8i_fn */void OCICPP::TLob::seek(unsigned new_offset,OCICPP::LobDirection dir) {	if((!len && new_offset>0) ||	   ((dir==OCICPP::LOB_END ||dir==OCICPP::LOB_SET) && new_offset>len) ||	   (dir==OCICPP::LOB_CUR && (new_offset+offset-1)>len)) {		throw OraError("OCICPPLIB: Cannot seek: offset out of range",OCICPPERROR);	}	if(dir==OCICPP::LOB_SET) offset=new_offset+1;	else if(dir==OCICPP::LOB_END) offset=len-new_offset+1;	else if(dir==OCICPP::LOB_CUR) offset=offset+new_offset;	else throw OraError("OCICPPLIB: Cannot seek: Unknown direction",OCICPPERROR);}/*!  Retuns the current position from the start of the temporary lob. For this  position, the inequation 0 <= tell() < getLen() holds.  \ora8i_fn */unsigned OCICPP::TLob::tell() {	return offset-1;}/*!  Read a sequence of \a buf_len bytes from the temporary lob into the buffer  \a buf. The amount of bytes actually transfered is being returned.  \ora8i_fn */unsigned OCICPP::TLob::read(void * buf,int buf_len) {	unsigned off;	unsigned actread=buf_len;	off=offset;	CHECKERR(errhp,OCILobRead(svchp,errhp,lob,(ub4 *)&actread,(ub4)off,buf,(ub4)buf_len,0,			   (sb4 (*)(dvoid *, dvoid *, ub4, ub1)) 0,(ub2) 0, (ub1) SQLCS_IMPLICIT));	offset+=actread;	return actread;}/*!  Write a sequence of \a buf_len bytes into the temporary lob from the buffer  \a buf. The amount of bytes actually transfered is being returned.  \ora8i_fn */unsigned OCICPP::TLob::write(const void *buf,int buf_len) {	unsigned off;	unsigned actread=buf_len;	off=offset;	DEBUG(DLEV_DEBUG,"Writing to lob |%s|\n",buf);	CHECKERR(errhp,OCILobWrite(svchp,errhp,lob,(ub4 *)&actread,(ub4)off,const_cast<void *>(buf),(ub4)buf_len,OCI_ONE_PIECE,(dvoid *)0,				(sb4 (*)(dvoid *, dvoid *, ub4 *, ub1 *)) 0,(ub2) 0, (ub1) SQLCS_IMPLICIT));	DEBUG(DLEV_DEBUG,"Wrote data done\n");	if((offset+buf_len)>len) {		len=offset+buf_len-1;	}	offset+=actread;	return actread;}/*!  Truncates the temporary lob to a specified to a length of \a new_len bytes.  The function throws an exception if \a new_len is greater than the current  temporary LOB's length.  \ora8i_fn */void OCICPP::TLob::trunc(unsigned new_len) {	if(new_len>len) throw OraError("OCICPPLIB: Cannot truncate LOB: new len greater than len",OCICPPERROR);	CHECKERR(errhp,OCILobTrim(svchp,errhp,lob,(ub4)new_len));	len=new_len;}/*!  \todo not implemented  \ora8i_fn */void OCICPP::TLob::setCacheMode(OCICPP::CacheMode mode) {/* Not implemented Yet */}/*!  Retreive the total amount of data stored within this temporary lob.  \ora8i_fn */unsigned OCICPP::TLob::getLen() const {	return len;}/*! Copies data from Lob \a src_lob Both locators must be of the same type (they are both must be BLOB or CLOB) Lob cache must not be enabled for either locator. The \a amount parameter indicates the maximum amount to copy.  If the end of the source LOB is reached before the specified amount is copied, the operation terminates without error.  \sa setCacheMode(), getLen(), loadFromBFile()  \ora8i_fn*/void OCICPP::TLob::copyFrom(Lob &src_lob,unsigned amount,							unsigned dst_off,unsigned src_off) {	 CHECKERR(errhp,OCILobCopy(svchp,errhp,lob,	                             src_lob.lob,amount,dst_off+1,src_off+1));}	                 /*!  Copies data from a temporary Lob \a src_lob  \sa copyFrom(Lob &,unsigned,unsigned,unsigned)  \ora8i_fn */void OCICPP::TLob::copyFrom(TLob &src_lob,unsigned amount,							unsigned dst_off,unsigned src_off) {	CHECKERR(errhp,OCILobCopy(svchp,errhp,lob,							src_lob.lob,amount,dst_off+1,src_off+1));}/*!  Copies data from a BFile \a src_file  \sa copyFrom(Lob &,unsigned,unsigned,unsigned)  \ora8i_fn*/void OCICPP::TLob::copyFrom(BFile &src_file,unsigned amount,							unsigned dst_off,unsigned src_off) {	CHECKERR(errhp,OCILobLoadFromFile(svchp,errhp,lob,src_file.lob,										amount,dst_off,src_off));	}#endif

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲视频香蕉人妖| 国产一二精品视频| 亚洲国产美女搞黄色| 亚洲高清三级视频| 欧美日韩极品在线观看一区| 亚洲线精品一区二区三区八戒| 在线观看国产日韩| 日本亚洲三级在线| 久久综合一区二区| 国产成人高清在线| 亚洲免费观看高清在线观看| 不卡的av在线| 亚洲第一会所有码转帖| 337p亚洲精品色噜噜噜| 激情成人综合网| 欧美国产97人人爽人人喊| 色哟哟欧美精品| 偷窥少妇高潮呻吟av久久免费| 欧美一区二区私人影院日本| 美女mm1313爽爽久久久蜜臀| 亚洲国产高清aⅴ视频| 91精品办公室少妇高潮对白| 日韩黄色在线观看| 亚洲国产精品激情在线观看| 色婷婷香蕉在线一区二区| 亚洲成人中文在线| 国产午夜精品在线观看| 欧美自拍丝袜亚洲| 久久99精品国产.久久久久| 中文字幕欧美一区| 欧美一区永久视频免费观看| 成人97人人超碰人人99| 香蕉乱码成人久久天堂爱免费| 久久精品一区二区三区四区| 91福利视频久久久久| 国产中文一区二区三区| 亚洲精品五月天| 精品sm捆绑视频| 欧美精品xxxxbbbb| 成人av在线播放网址| 天天av天天翘天天综合网| 欧美国产激情二区三区| 正在播放一区二区| 99精品久久久久久| 国产很黄免费观看久久| 性欧美大战久久久久久久久| 国产精品动漫网站| 久久先锋影音av| 欧美丰满美乳xxx高潮www| av在线播放成人| 国产不卡视频在线观看| 久久er99热精品一区二区| 亚洲免费av高清| 国产精品国产三级国产专播品爱网| 欧美欧美欧美欧美| 欧洲精品在线观看| 99精品黄色片免费大全| 国产成人三级在线观看| 麻豆国产精品777777在线| 亚洲成人一区在线| 亚洲自拍欧美精品| 亚洲人成人一区二区在线观看| 久久久久久99精品| 26uuu精品一区二区| 欧美日韩在线免费视频| 午夜av一区二区| 精品日韩在线观看| 日韩一区二区三区免费观看 | 亚洲成人黄色小说| 中文字幕亚洲一区二区av在线 | 午夜影院在线观看欧美| 亚洲一二三四在线| 一区二区三区免费| 亚洲色图欧美偷拍| 亚洲美女精品一区| 亚洲三级电影全部在线观看高清| 国产精品网站在线观看| 欧美国产一区二区| 国产精品第四页| 国产精品久久久久毛片软件| 日本一区二区三区视频视频| 国产午夜亚洲精品羞羞网站| 久久精品一区二区三区av | 欧美经典一区二区三区| 久久久久久久久99精品| 国产亚洲欧美一级| 国产欧美一区二区精品婷婷| 中文字幕免费观看一区| 国产精品无圣光一区二区| 中文字幕在线不卡国产视频| 一区二区在线观看视频在线观看| 一区二区三区四区在线| 一级做a爱片久久| 亚洲福利一区二区| 麻豆一区二区99久久久久| 日韩av中文字幕一区二区三区| 蜜桃视频一区二区| 粉嫩aⅴ一区二区三区四区 | 欧美色中文字幕| 欧美一级日韩一级| 国产婷婷一区二区| 中文字幕亚洲欧美在线不卡| 一区二区久久久久久| 日韩成人一级片| 国产精品一区二区三区四区| eeuss鲁片一区二区三区| 日本大香伊一区二区三区| 欧美电影免费提供在线观看| 国产欧美视频一区二区| 亚洲欧美激情视频在线观看一区二区三区| 欧美日韩一级片网站| 欧美一区二区福利在线| 国产欧美日韩中文久久| 亚洲午夜一区二区| 国产一区二区在线电影| 99精品欧美一区二区蜜桃免费| 666欧美在线视频| 国产亚洲一区二区在线观看| 一区二区三区免费| 国产真实乱偷精品视频免| 91亚洲国产成人精品一区二区三| 日韩亚洲欧美中文三级| 国产精品欧美精品| 日本不卡不码高清免费观看| 成人精品免费网站| 91精品国产综合久久久久久久 | 成人一区二区三区| 欧美日韩免费观看一区三区| 久久综合久色欧美综合狠狠| 亚洲黄色在线视频| 国内成人精品2018免费看| 色综合久久综合中文综合网| www国产亚洲精品久久麻豆| 一区二区三区精品视频在线| 国产乱子伦一区二区三区国色天香| 91免费版在线| 精品国产一区二区精华| 亚洲第一搞黄网站| 91伊人久久大香线蕉| 精品国产一区二区三区av性色 | 免费看黄色91| 欧美性色综合网| 国产精品久久久久久亚洲毛片 | 不卡免费追剧大全电视剧网站| 欧美日韩视频专区在线播放| 亚洲视频狠狠干| 成人18视频日本| 国产丝袜在线精品| 狠狠色丁香久久婷婷综合_中| 欧美亚洲日本国产| 亚洲人成在线观看一区二区| 高清beeg欧美| 久久女同精品一区二区| 日韩精品高清不卡| 在线一区二区视频| 亚洲男女毛片无遮挡| 成人精品视频一区二区三区尤物| 欧美第一区第二区| 蜜乳av一区二区三区| 欧美肥妇毛茸茸| 日韩中文字幕91| 欧美精品欧美精品系列| 五月激情丁香一区二区三区| 欧美色爱综合网| 亚洲综合色噜噜狠狠| 91成人免费在线视频| 国产精品成人免费| 国产网红主播福利一区二区| 国产毛片一区二区| 精品国产亚洲在线| 国产麻豆视频精品| 国产女同互慰高潮91漫画| 丁香婷婷综合激情五月色| 国产蜜臀av在线一区二区三区| 国产乱国产乱300精品| xfplay精品久久| www.av亚洲| 亚洲精品国产精品乱码不99| 精品视频一区三区九区| 亚洲r级在线视频| 3d动漫精品啪啪| 国产福利电影一区二区三区| 国产欧美日韩在线看| 91免费小视频| 亚洲第一在线综合网站| 欧美一区在线视频| 国产a久久麻豆| 亚洲欧美日韩国产一区二区三区 | 国产麻豆日韩欧美久久| 国产色婷婷亚洲99精品小说| 成人av资源站| 偷拍与自拍一区| 欧美电影免费观看高清完整版在| 国产精品一区二区黑丝| 一色桃子久久精品亚洲| 7799精品视频| 国产99精品国产| 亚洲大片免费看| 国产亚洲精久久久久久| 91麻豆成人久久精品二区三区|