本文整理汇总了C++中VSIVirtualHandle::Close方法的典型用法代码示例。如果您正苦于以下问题:C++ VSIVirtualHandle::Close方法的具体用法?C++ VSIVirtualHandle::Close怎么用?C++ VSIVirtualHandle::Close使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类VSIVirtualHandle
的用法示例。
在下文中一共展示了VSIVirtualHandle::Close方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: Close
int VSIBufferedReaderHandle::Close()
{
if (poBaseHandle)
{
poBaseHandle->Close();
delete poBaseHandle;
poBaseHandle = NULL;
}
return 0;
}
示例2: VSIFCloseL
int VSIFCloseL( FILE * fp )
{
VSIVirtualHandle *poFileHandle = (VSIVirtualHandle *) fp;
int nResult = poFileHandle->Close();
delete poFileHandle;
return nResult;
}
示例3: VSIFCloseL
int VSIFCloseL( VSILFILE * fp )
{
VSIVirtualHandle *poFileHandle = (VSIVirtualHandle *) fp;
VSIDebug1( "VSICloseL(%p)", fp );
int nResult = poFileHandle->Close();
delete poFileHandle;
return nResult;
}
示例4: VSIFCloseL
int VSIFCloseL( VSILFILE * fp )
{
VSIVirtualHandle *poFileHandle = reinterpret_cast<VSIVirtualHandle *>( fp );
VSIDebug1( "VSIFCloseL(%p)", fp );
const int nResult = poFileHandle->Close();
delete poFileHandle;
return nResult;
}
示例5: Close
int VSICachedFile::Close()
{
size_t i;
for( i = 0; i < apoCache.size(); i++ )
delete apoCache[i];
apoCache.resize( 0 );
poLRUStart = NULL;
poLRUEnd = NULL;
nCacheUsed = 0;
if( poBase )
{
poBase->Close();
delete poBase;
poBase = NULL;
}
return 0;
}
示例6: Close
int VSIStdoutRedirectHandle::Close()
{
return poHandle->Close();
}