33#if BIO_CPP_VERSION < 11
69template <
typename DIMENSION >
75 typedef std::vector< Id >
Ids;
119 typename Hadits::iterator itt =
m_hadits.begin();
126 delete[] itt->m_name;
154 return "INVALID_NAME";
166 typename Hadits::iterator hdt =
m_hadits.begin();
187 typename Hadits::const_iterator
Find(
Id id)
const
190 typename Hadits::const_iterator hdt =
m_hadits.begin();
260 typename Hadits::const_iterator result =
Find(
id);
265 return result->m_name;
284 std::ostringstream usedName;
290 uint8_t nameCount = 0;
296 usedName <<
"_" << nameCount++;
320 typename Hadits::const_iterator itt =
m_hadits.begin();
359 typename Hadits::iterator hdt =
Find(
id);
360 if (hdt ==
m_hadits.end() || hdt->m_type)
381 typename Hadits::iterator hdt =
Find(
id);
407 typename Hadits::const_iterator result =
Find(
id);
412 return result->m_type;
456 template <
typename T >
470 template <
typename T >
484 template <
typename T >
498 template <
typename T >
#define BIO_SANITIZE_AT_SAFETY_LEVEL_2(test, success, failure)
#define BIO_SANITIZE(test, success, failure)
#define BIO_SANITIZE_WITH_CACHE(test, success, failure)
void UnlockThread() const
Hadit(Id id, Name name, Wave *type)
virtual Id GetNumUsedIds() const
T GetNewObjectFromNameAs(Name name)
const T GetTypeFromIdAs(Id id) const
static Name InvalidName()
virtual const Wave * GetTypeFromName(Name name) const
virtual Id GetIdWithoutCreation(Name name) const
Hadits::iterator Find(Id id)
std::vector< Hadit > Hadits
virtual Wave * GetNewObjectFromName(Name name)
virtual bool AssociateType(Id id, Wave *type)
const T GetTypeFromNameAs(Name name) const
virtual Id GetIdFromName(Name name)
virtual const Wave * GetTypeFromId(Id id) const
Hadits::const_iterator Find(Id id) const
T GetNewObjectFromIdAs(Id id)
virtual bool DisassociateType(Id id)
virtual Wave * GetNewObjectFromId(Id id) const
virtual Id GetUniqueIdFor(Name name)
virtual Name GetNameFromId(Id id) const
#define BIO_SINGLE_ARG(...)
void CloneInto(const char *source, const char *&target)
static void Delete(Wave *toDelete)
static Wave * Clone(const Wave *toClone)