Ejemplo n.º 1
0
void CalvinCELDataAdapter::GetParameters(FusionTagValuePairTypeList& values)
{
	ParameterNameValueTypeVector algParams;
	calvinCel.GetAlgorithmParameters(algParams);
	for (ParameterNameValueTypeIt ii = algParams.begin(); ii!= algParams.end(); ++ii)
	{
		FusionTagValuePairType ft;
		ft.Tag = ii->GetName();
		ft.Value = ii->ToString();
		ft.DetailedType() = *ii;
		values.push_back(ft);
	}
}
void affymetrix_fusion_io::ConvertGCOS(TagValuePairTypeList& fromList, FusionTagValuePairTypeList& toList)
{
	TagValuePairTypeList::iterator begin = fromList.begin();
	TagValuePairTypeList::iterator end = fromList.end();

	for(; begin != end; begin++)
	{
		FusionTagValuePairType type;
		type.Tag = StringUtils::ConvertMBSToWCS(begin->Tag);
		type.Value = StringUtils::ConvertMBSToWCS(begin->Value);
		toList.push_back(type);
	}
}