本文整理汇总了C++中VSIVirtualHandle类的典型用法代码示例。如果您正苦于以下问题:C++ VSIVirtualHandle类的具体用法?C++ VSIVirtualHandle怎么用?C++ VSIVirtualHandle使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了VSIVirtualHandle类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: VSIFTellL
vsi_l_offset VSIFTellL( VSILFILE * fp )
{
VSIVirtualHandle *poFileHandle = reinterpret_cast<VSIVirtualHandle *>( fp );
return poFileHandle->Tell();
}
示例2: VSIFFlushL
int VSIFFlushL( VSILFILE * fp )
{
VSIVirtualHandle *poFileHandle = (VSIVirtualHandle *) fp;
return poFileHandle->Flush();
}
示例3: VSIFEofL
int VSIFEofL( VSILFILE * fp )
{
VSIVirtualHandle *poFileHandle = (VSIVirtualHandle *) fp;
return poFileHandle->Eof();
}
示例4: VSIFReadL
size_t VSIFReadL( void * pBuffer, size_t nSize, size_t nCount, VSILFILE * fp )
{
VSIVirtualHandle *poFileHandle = (VSIVirtualHandle *) fp;
return poFileHandle->Read( pBuffer, nSize, nCount );
}
示例5: VSIFWriteL
size_t VSIFWriteL( const void *pBuffer, size_t nSize, size_t nCount, VSILFILE *fp )
{
VSIVirtualHandle *poFileHandle = (VSIVirtualHandle *) fp;
return poFileHandle->Write( pBuffer, nSize, nCount );
}
示例6: VSIFEofL
int VSIFEofL( VSILFILE * fp )
{
VSIVirtualHandle *poFileHandle = reinterpret_cast<VSIVirtualHandle *>( fp );
return poFileHandle->Eof();
}
示例7: VSIFTruncateL
int VSIFTruncateL( VSILFILE * fp, vsi_l_offset nNewSize )
{
VSIVirtualHandle *poFileHandle = (VSIVirtualHandle *) fp;
return poFileHandle->Truncate(nNewSize);
}
示例8: VSIFTruncateL
int VSIFTruncateL( VSILFILE * fp, vsi_l_offset nNewSize )
{
VSIVirtualHandle *poFileHandle = reinterpret_cast<VSIVirtualHandle *>( fp );
return poFileHandle->Truncate(nNewSize);
}
示例9: VSIFWriteL
size_t VSIFWriteL( const void *pBuffer, size_t nSize, size_t nCount, VSILFILE *fp )
{
VSIVirtualHandle *poFileHandle = reinterpret_cast<VSIVirtualHandle *>( fp );
return poFileHandle->Write( pBuffer, nSize, nCount );
}
示例10: VSIFReadL
size_t VSIFReadL( void * pBuffer, size_t nSize, size_t nCount, VSILFILE * fp )
{
VSIVirtualHandle *poFileHandle = reinterpret_cast<VSIVirtualHandle *>( fp );
return poFileHandle->Read( pBuffer, nSize, nCount );
}
示例11: VSIFFlushL
int VSIFFlushL( VSILFILE * fp )
{
VSIVirtualHandle *poFileHandle = reinterpret_cast<VSIVirtualHandle *>( fp );
return poFileHandle->Flush();
}
示例12: VSIFTellL
vsi_l_offset VSIFTellL( VSILFILE * fp )
{
VSIVirtualHandle *poFileHandle = (VSIVirtualHandle *) fp;
return poFileHandle->Tell();
}
示例13: VSIFSeekL
int VSIFSeekL( VSILFILE * fp, vsi_l_offset nOffset, int nWhence )
{
VSIVirtualHandle *poFileHandle = (VSIVirtualHandle *) fp;
return poFileHandle->Seek( nOffset, nWhence );
}
示例14: VSIFReadMultiRangeL
int VSIFReadMultiRangeL( int nRanges, void ** ppData,
const vsi_l_offset* panOffsets,
const size_t* panSizes, VSILFILE * fp )
{
VSIVirtualHandle *poFileHandle = (VSIVirtualHandle *) fp;
return poFileHandle->ReadMultiRange( nRanges, ppData, panOffsets, panSizes );
}
示例15: VSIFCloseL
int VSIFCloseL( FILE * fp )
{
VSIVirtualHandle *poFileHandle = (VSIVirtualHandle *) fp;
int nResult = poFileHandle->Close();
delete poFileHandle;
return nResult;
}