2012-12-06 13:56:04 +00:00
|
|
|
|
|
|
|
#include "record.hpp"
|
|
|
|
|
|
|
|
CSMWorld::RecordBase::~RecordBase() {}
|
|
|
|
|
2013-02-12 12:57:16 +00:00
|
|
|
bool CSMWorld::RecordBase::isDeleted() const
|
2012-12-06 13:56:04 +00:00
|
|
|
{
|
|
|
|
return mState==State_Deleted || mState==State_Erased;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-02-12 12:57:16 +00:00
|
|
|
bool CSMWorld::RecordBase::isErased() const
|
2012-12-06 13:56:04 +00:00
|
|
|
{
|
|
|
|
return mState==State_Erased;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-02-12 12:57:16 +00:00
|
|
|
bool CSMWorld::RecordBase::isModified() const
|
2012-12-06 13:56:04 +00:00
|
|
|
{
|
|
|
|
return mState==State_Modified || mState==State_ModifiedOnly;
|
|
|
|
}
|