能用的有QT库, 还有标准库. 环境在kde下. 用emacs.
有一些xml文档的数据. 要求读取里面数据, 并且供其他方法来使用.
我的思路是 , 因为这些数据文档格式都已知,而且是固定的, 我建几个结构体. 然后在用vector来存储. 还是分别建立几个class. 在我的xmlreader类里面嵌套?
或者哪位高手有其他好的思路. 谢谢了. 具体用到哪些个类呢. 比较迷茫
xml格式如下:
<Grasp name='noname'>
<Grasp number = 0>
<Translation>
<x>x=10</x>
<y>y=11</y>
<z>z=12</z>
</Translation>
<Rotation>
<x>x=2</x>
<y>y=3</y>
</Rotation>
<Jointangle>
<alpha>alphe=0</alpha>
</Jointangle>
</Grasp>
<Grasp number = 1>
... ... ...
</Grasp >
... ...
<Grasp number = n>
</Grasp>
</Grasp name..>
关于xml读取信息. 谢谢指点
-
- 帖子: 16
- 注册时间: 2006-10-28 20:08
- 来自: germany
-
- 帖子: 353
- 注册时间: 2007-04-03 9:52
- 联系: