|
BioDynaMo
v1.05.125-2619fe54
|
#include <type_index.h>
Public Member Functions | |
| void | Add (Agent *agent) |
| void | Update (Agent *new_agent) |
| void | Remove (Agent *agent) |
| void | Clear () |
| void | Reserve (uint64_t capacity) |
| const std::vector< Agent * > & | GetType (TClass *tclass) const |
Private Attributes | |
| UnorderedFlatmap< TClass *, std::vector< Agent * > > | data_ |
| AgentUidMap< uint64_t > | index_ |
Definition at line 27 of file type_index.h.
| void bdm::TypeIndex::Add | ( | Agent * | agent | ) |
Definition at line 22 of file type_index.cc.
| void bdm::TypeIndex::Clear | ( | ) |
Definition at line 55 of file type_index.cc.
| const std::vector< Agent * > & bdm::TypeIndex::GetType | ( | TClass * | tclass | ) | const |
Definition at line 70 of file type_index.cc.
| void bdm::TypeIndex::Remove | ( | Agent * | agent | ) |
Definition at line 40 of file type_index.cc.
| void bdm::TypeIndex::Reserve | ( | uint64_t | capacity | ) |
Definition at line 63 of file type_index.cc.
| void bdm::TypeIndex::Update | ( | Agent * | new_agent | ) |
Definition at line 33 of file type_index.cc.
|
private |
Definition at line 42 of file type_index.h.
|
private |
Definition at line 43 of file type_index.h.
1.8.17