Files
EHS/src/system/BaseOpen.cpp
Karutoh bcd71cf2b5
All checks were successful
Build & Release / Windows-AMD64-Build (push) Successful in 1m8s
Build & Release / Linux-AMD64-Build (push) Successful in 1m30s
Build & Release / Linux-AARCH64-Build (push) Successful in 3m21s
Adjusted workflow.
2024-02-05 22:25:30 -08:00

48 lines
665 B
C++

#include "ehs/system/BaseOpen.h"
namespace ehs
{
BaseOpen::BaseOpen()
{
}
BaseOpen::BaseOpen(Str_8 filePath)
: filePath((Str_8&&)filePath)
{
}
BaseOpen::BaseOpen(BaseOpen&& bo) noexcept
: filePath((Str_8&&)bo.filePath)
{
}
BaseOpen::BaseOpen(const BaseOpen& bo)
: filePath(bo.filePath)
{
}
BaseOpen& BaseOpen::operator=(BaseOpen&& bo) noexcept
{
if (this == &bo)
return *this;
filePath = (Str_8&&)bo.filePath;
return *this;
}
BaseOpen& BaseOpen::operator=(const BaseOpen& bo)
{
if (this == &bo)
return *this;
filePath = bo.filePath;
return *this;
}
Str_8 BaseOpen::GetFilePath() const
{
return filePath;
}
}