Files
SimCore/include/SimCore/IdentifierMaker.hpp

33 lines
546 B
C++

#pragma once
#include "SimCore/SimCore.hpp"
#include <cstddef>
#include <list>
#include <SimCore/Identifier.hpp>
#include <memory>
namespace SimCore {
class IdentifierMaker{
public:
IdentifierMaker();
std::shared_ptr<SimCore::Identifier> getNewIdentifier(SimCore::ObjectSource);
bool isInList(std::shared_ptr<SimCore::Identifier>);
size_t size();
private:
std::list<std::shared_ptr<SimCore::Identifier>> IDList_;
bool ObjectSource_;
};
}