Void CFxLine::GetEndIFxPin(IFxPin** ppIfxPin) { CNode* pNode = (_NodeVector[_NodeVector.size() - 1]); CNode* pFirstNode = NULL; pFirstNode = CNodeManager::Instance()->GetFirstLink(pNode); if(pFirstNode) { *ppIfxPin = pFirstNode->GetIFxPin(); return; } *ppIfxPin = NULL; return; }
Void CFxLine::GetBeginIFxPin(IFxPin** ppIfxPin) { CNode* pNode = (*(_NodeVector.begin())); CNode* pFirstNode = NULL; pFirstNode = CNodeManager::Instance()->GetFirstLink(pNode); if(pFirstNode) { *ppIfxPin = pFirstNode->GetIFxPin(); return; } *ppIfxPin = NULL; return; }