外部接口类隐藏JSON细节:#ifndef __GEOMETRY_JSONSTORAGE_H_#define __GEOMETRY_JSONSTORAGE_H_struct MgStorage;//! JSON序列化适配器类/*! \ingroup GEOM_SHAPE*/class MgJsonStorage{public: MgJsonStorage(); ~MgJsonStorage(); //! 给定JSON内容,返回存取接口对象以便开始读取 MgStorage* storageForRead(const char* content); //! 返回存取接... Read More
posted @ 2013-01-07 23:16 张云贵 Views(2416) Comments(0) Diggs(0) Edit