using System;
using System.Collections;
using System.Xml.Serialization;

namespace QC.QsprTestObjects.Tests.Base;

[Serializable]
public class GlobalVariables
{
	private ArrayList qGlobalVariable = new ArrayList();

	[XmlElement(Type = typeof(GlobalVariable))]
	public ArrayList QGlobalVariable
	{
		get
		{
			return qGlobalVariable;
		}
		set
		{
			qGlobalVariable = value;
		}
	}

	public GlobalVariables()
	{
	}

	public GlobalVariables(ArrayList gvList)
	{
		try
		{
			foreach (string gv in gvList)
			{
				qGlobalVariable.Add(new GlobalVariable(gv));
			}
		}
		catch
		{
		}
	}
}
