37 lines
789 B
C++
37 lines
789 B
C++
//-----------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
|
|
// = FileName : TGraphPath.h
|
|
// = Version : ver2.0
|
|
// = Author : xlc
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: ÀàµÄÉùÃ÷
|
|
// = Maintainers:
|
|
//
|
|
//-----------------------------------------------------------------------------+
|
|
#ifndef _TGRAPHPATH_H_
|
|
#define _TGRAPHPATH_H_
|
|
|
|
#ifndef _TDUALPTRLIST_H_
|
|
#include "TDualPtrList.h"
|
|
#endif
|
|
|
|
#ifndef _TGRAPHARC_H_
|
|
#include "TGraphArc.h"
|
|
#endif
|
|
|
|
class TGraphNode;
|
|
|
|
class GEOAPI TGraphPath : public TDualPtrList<TGraphArc*>
|
|
{
|
|
public:
|
|
|
|
~TGraphPath();
|
|
TGraphNode* GetStartNode()const;
|
|
|
|
void SetStartNode(TGraphNode* pNode);
|
|
|
|
protected:
|
|
TGraphNode* m_pStartNode;
|
|
};
|
|
|
|
#endif |