正在加载图片...
§732广义表接口 template <class tElem> class tglisto public long GetLen()=0;∥返回本表的长度 long Get Depth(void=0;/)回本表的深度 virtual TGListo<TElem>*GetList(TGListNode0<TElem>*pNode=0 ∥返回结点 pNode所对应的子表对象指针。若 pNode无相应的对象,则返回 空,并触发异常。21 §7.3.2 广义表接口 template <class TElem> class TGList0 { public: long GetLen ( ) =0; //返回本表的长度 long GetDepth(void)=0;//返回本表的深度 virtual TGList0<TElem> *GetList(TGListNode0<TElem> *pNode)=0; //返回结点pNode所对应的子表对象指针。若pNode无相应的对象,则返回 空,并触发异常
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有