Скачиваний:
17
Добавлен:
01.05.2014
Размер:
706 б
Скачать
#include "InsertError.h"

InsertError :: InsertError():ErrorBase()
{
	insertedIndex = 0;
	minNullIndex =  0;
}

InsertError :: InsertError(std :: string _methodName,
						   std :: string _ErrorName,
						   int _insertedIndex,
						   int _minNullIndex)
:ErrorBase(_methodName , _ErrorName)
{
	insertedIndex = _insertedIndex;
	minNullIndex=_minNullIndex;
}

int InsertError :: getInsertedIndex() const
{
	return insertedIndex;
}
	void InsertError :: setInsertedIndex(int _index)
	{
		insertedIndex = _index;
	}

	int InsertError :: getMinNullIndex() const
	{
		return minNullIndex;
	}

	void InsertError :: setMinNullIndex(int _index)
	{
		minNullIndex = _index;
	}
Соседние файлы в папке lab1t