|
#include "Type.hpp"
|
|
|
|
namespace roza
|
|
{
|
|
/*explicit*/ Type::Type(BaseType base)
|
|
: m_base { base }
|
|
{
|
|
}
|
|
|
|
/*virtual*/ Type::~Type()
|
|
{
|
|
}
|
|
|
|
bool Type::equals(BaseType rhs) const
|
|
{
|
|
return m_base == rhs;
|
|
}
|
|
|
|
bool Type::equals(Type const& rhs) const
|
|
{
|
|
return m_base == rhs.m_base;
|
|
}
|
|
}
|