mirror of
https://github.com/AxioDL/amuse.git
synced 2025-12-09 21:47:53 +00:00
All editors implemented
This commit is contained in:
@@ -316,6 +316,11 @@ std::string NameDB::generateName(ObjectId id, Type tp)
|
||||
return name;
|
||||
}
|
||||
|
||||
std::string NameDB::generateDefaultName(Type tp) const
|
||||
{
|
||||
return generateName(generateId(tp), tp);
|
||||
}
|
||||
|
||||
std::string_view NameDB::registerPair(std::string_view str, ObjectId id)
|
||||
{
|
||||
m_stringToId[std::string(str)] = id;
|
||||
|
||||
Reference in New Issue
Block a user