tahamajs's picture
download
raw
579 Bytes
#ifndef OBJECT_H
#define OBJECT_H
#include <chrono>
#include <cstdint>
#include <string>
#include <thread>
class Object
{
public:
std::string name() const;
void setName(const std::string &newName);
private:
std::string m_name;
};
inline std::string
Object::name() const
{
return m_name;
}
inline void
Object::setName(const std::string &newName)
{
m_name = newName;
}
static inline void
delay(std::uint64_t millis)
{
std::this_thread::sleep_for(std::chrono::milliseconds(millis));
}
#endif // OBJECT_H

Xet Storage Details

Size:
579 Bytes
·
Xet hash:
b21f22f6b690133555185290fe96a5893f961e8fdbe2b4c098c81a32154219f7

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.