xlnt/source/packaging/uri.cpp

30 lines
377 B
C++

#include <xlnt/packaging/uri.hpp>
namespace xlnt {
uri::uri()
{
}
uri::uri(const std::string &uri_string)
: path_(uri_string)
{
}
std::string uri::to_string() const
{
return path_.string();
}
path uri::path() const
{
return path_;
}
bool operator==(const uri &left, const uri &right)
{
return left.to_string() == right.to_string();
}
} // namespace xlnt