28 lines
634 B
C++
28 lines
634 B
C++
//-----------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
|
|
// = FileName : TGraphPath.cpp
|
|
// = Version : ver2.0
|
|
// = Author : xlc
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: 类的定义
|
|
// = Maintainers:
|
|
//
|
|
//-----------------------------------------------------------------------------+
|
|
#include "StdAfx.h"
|
|
#include "TGraphPath.h"
|
|
|
|
|
|
TGraphPath::~TGraphPath()
|
|
{
|
|
|
|
}
|
|
|
|
TGraphNode* TGraphPath::GetStartNode()const
|
|
{
|
|
return m_pStartNode;
|
|
}
|
|
|
|
void TGraphPath::SetStartNode(TGraphNode* pNode)
|
|
{
|
|
m_pStartNode = pNode;
|
|
} |