资源简介
本代码主要介绍了通过ArcGis API解析FileGDB文件!
代码片段和文件信息
/*
www.sourceforge.net/projects/tinyxml
This software is provided ‘as-is‘ without any express or implied
warranty. In no event will the authors be held liable for any
damages arising from the use of this software.
Permission is granted to anyone to use this software for any
purpose including commercial applications and to alter it and
redistribute it freely subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must
not claim that you wrote the original software. If you use this
software in a product an acknowledgment in the product documentation
would be appreciated but is not required.
2. Altered source versions must be plainly marked as such and
must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source
distribution.
*/
#ifndef TIxml_USE_STL
#include “tinystr.h“
// Error value for find primitive
const TixmlString::size_type TixmlString::npos = static_cast< TixmlString::size_type >(-1);
// Null rep.
TixmlString::Rep TixmlString::nullrep_ = { 0 0 { ‘\0‘ } };
void TixmlString::reserve (size_type cap)
{
if (cap > capacity())
{
TixmlString tmp;
tmp.init(length() cap);
memcpy(tmp.start() data() length());
swap(tmp);
}
}
TixmlString& TixmlString::assign(const char* str size_type len)
{
size_type cap = capacity();
if (len > cap || cap > 3*(len + 8))
{
TixmlString tmp;
tmp.init(len);
memcpy(tmp.start() str len);
swap(tmp);
}
else
{
memmove(start() str len);
set_size(len);
}
return *this;
}
TixmlString& TixmlString::append(const char* str size_type len)
{
size_type newsize = length() + len;
if (newsize > capacity())
{
reserve (newsize + capacity());
}
memmove(finish() str len);
set_size(newsize);
return *this;
}
TixmlString operator + (const TixmlString & a const TixmlString & b)
{
TixmlString tmp;
tmp.reserve(a.length() + b.length());
tmp += a;
tmp += b;
return tmp;
}
TixmlString operator + (const TixmlString & a const char* b)
{
TixmlString tmp;
TixmlString::size_type b_len = static_castlString::size_type>( strlen(b) );
tmp.reserve(a.length() + b_len);
tmp += a;
tmp.append(b b_len);
return tmp;
}
TixmlString operator + (const char* a const TixmlString & b)
{
TixmlString tmp;
TixmlString::size_type a_len = static_castlString::size_type>( strlen(a) );
tmp.reserve(a_len + b.length());
tmp.append(a a_len);
tmp += b;
return tmp;
}
#endif // TIxml_USE_STL
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2014-06-16 22:05 FileGDBTest\
目录 0 2014-06-13 10:53 FileGDBTest\3rdParty\
目录 0 2014-06-13 10:53 FileGDBTest\3rdParty\FileGDB\
目录 0 2014-06-13 10:53 FileGDBTest\3rdParty\FileGDB\Bin\
文件 8293984 2012-10-02 14:54 FileGDBTest\3rdParty\FileGDB\Bin\FileGDBAPID.dll
目录 0 2014-06-13 10:53 FileGDBTest\3rdParty\FileGDB\Include\
文件 688 2014-05-28 16:10 FileGDBTest\3rdParty\FileGDB\Include\FileGDBAPI.h
文件 8695 2014-05-28 16:10 FileGDBTest\3rdParty\FileGDB\Include\FileGDBCore.h
文件 16182 2014-05-28 16:59 FileGDBTest\3rdParty\FileGDB\Include\Geodataba
文件 3133 2014-05-28 16:10 FileGDBTest\3rdParty\FileGDB\Include\Geodataba
文件 2657 2012-10-02 14:47 FileGDBTest\3rdParty\FileGDB\Include\Raster.h
文件 20025 2014-06-03 14:32 FileGDBTest\3rdParty\FileGDB\Include\Row.h
文件 13651 2014-05-28 16:46 FileGDBTest\3rdParty\FileGDB\Include\Table.h
文件 35317 2014-06-03 14:32 FileGDBTest\3rdParty\FileGDB\Include\Util.h
目录 0 2014-06-13 10:53 FileGDBTest\3rdParty\FileGDB\Lib\
目录 0 2014-06-13 10:53 FileGDBTest\3rdParty\FileGDB\Lib\x64\
目录 0 2014-06-13 10:53 FileGDBTest\3rdParty\FileGDB\Lib\x64\debug\
文件 155998 2012-10-02 14:52 FileGDBTest\3rdParty\FileGDB\Lib\x64\debug\FileGDBAPID.lib
目录 0 2014-06-13 10:53 FileGDBTest\3rdParty\FileGDB\Lib\x64\release\
文件 155660 2012-10-02 14:54 FileGDBTest\3rdParty\FileGDB\Lib\x64\release\FileGDBAPI.lib
目录 0 2014-06-13 10:53 FileGDBTest\3rdParty\FileGDB\Lib\x86\
目录 0 2014-06-13 10:53 FileGDBTest\3rdParty\FileGDB\Lib\x86\debug\
文件 152914 2012-10-02 14:50 FileGDBTest\3rdParty\FileGDB\Lib\x86\debug\FileGDBAPID.lib
目录 0 2014-06-13 10:53 FileGDBTest\3rdParty\FileGDB\Lib\x86\release\
文件 152548 2012-10-02 14:53 FileGDBTest\3rdParty\FileGDB\Lib\x86\release\FileGDBAPI.lib
目录 0 2014-06-13 10:53 FileGDBTest\3rdParty\Tinyxm
目录 0 2014-06-13 10:53 FileGDBTest\3rdParty\Tinyxm
文件 8198 2011-05-15 10:24 FileGDBTest\3rdParty\Tinyxm
文件 64834 2011-05-15 10:24 FileGDBTest\3rdParty\Tinyxm
目录 0 2014-06-13 10:53 FileGDBTest\3rdParty\Tinyxm
文件 2507 2011-05-15 10:24 FileGDBTest\3rdParty\Tinyxm
............此处省略187个文件信息
- 上一篇:cfree5_0_中文免注册
- 下一篇:haoyu314_10648830.doc
评论
共有 条评论