mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
28 lines
376 B
C++
28 lines
376 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::get_path() const
|
|
{
|
|
return path_;
|
|
}
|
|
|
|
bool operator==(const uri &left, const uri &right)
|
|
{
|
|
return left.to_string() == right.to_string();
|
|
}
|
|
|
|
} // namespace xlnt
|