//-----------------------------------------------------------------------------
// File: Assertion.cpp
//-----------------------------------------------------------------------------
// Project: Kactus 2
// Author: Mikko Teuho
// Date: 05.08.2015
//
// Description:
// Matches the ipxact:assertion element.
//-----------------------------------------------------------------------------

#include "Assertion.h"

//-----------------------------------------------------------------------------
// Function: Assertion::()
//-----------------------------------------------------------------------------
Assertion::Assertion():
NameGroup(),
assert_()
{

}

//-----------------------------------------------------------------------------
// Function: Assertion::Assertion()
//-----------------------------------------------------------------------------
Assertion::Assertion(const Assertion& other):
NameGroup(other),
assert_(other.assert_)
{

}

//-----------------------------------------------------------------------------
// Function: Assertion::~Assertion()
//-----------------------------------------------------------------------------
Assertion::~Assertion()
{

}

//-----------------------------------------------------------------------------
// Function: Assertion::getAssert()
//-----------------------------------------------------------------------------
QString Assertion::getAssert() const
{
    return assert_;
}

//-----------------------------------------------------------------------------
// Function: Assertion::setAssert()
//-----------------------------------------------------------------------------
void Assertion::setAssert(QString const& newAssert)
{
    assert_ = newAssert;
}