Example #1
0
LPCSTR CModel::GLAName(void)
{
	CSequence* curSequence = GetFirstSequence();
	while (curSequence)
	{
		if (curSequence->IsGLA())
		{
			return curSequence->GetName();
		}
		curSequence = curSequence->GetNext();
	}

	return NULL;
}
Example #2
0
bool CModel::HasGLA()
{
	CSequence* curSequence = GetFirstSequence();
	while (curSequence)
	{
		if (curSequence->IsGLA())
		{
			return true;
		}
		curSequence = curSequence->GetNext();
	}

	return false;
}