mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-29 21:37:57 +03:00
25 lines
477 B
C++
25 lines
477 B
C++
![]() |
#include "formidrefid.hpp"
|
||
|
|
||
|
#include <ostream>
|
||
|
#include <sstream>
|
||
|
|
||
|
namespace ESM
|
||
|
{
|
||
|
std::string FormIdRefId::toString() const
|
||
|
{
|
||
|
return std::to_string(mValue);
|
||
|
}
|
||
|
|
||
|
std::string FormIdRefId::toDebugString() const
|
||
|
{
|
||
|
std::ostringstream stream;
|
||
|
stream << *this;
|
||
|
return stream.str();
|
||
|
}
|
||
|
|
||
|
std::ostream& operator<<(std::ostream& stream, FormIdRefId value)
|
||
|
{
|
||
|
return stream << "FormId{" << value.mValue << '}';
|
||
|
}
|
||
|
}
|