libbio
Loading...
Searching...
No Matches
NameIndex.h
Go to the documentation of this file.
1/*
2 * This file is a part of the Biology project by eons LLC.
3 * Biology (aka Develop Biology) is a framework for approaching software
4 * development from a natural sciences perspective.
5 *
6 * Copyright (C) 2026 Séon O'Shannon & eons LLC
7 *
8 * This program is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU Affero General Public License as
10 * published by the Free Software Foundation, either version 3 of the
11 * License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Affero General Public License for more details.
17 *
18 * You should have received a copy of the GNU Affero General Public License
19 * along with this program. If not, see <https://www.gnu.org/licenses/>.
20 */
21
22#pragma once
23
25
26#include <string>
27
28#if BIO_CPP_VERSION < 11
29 #include <stdint.h>
30#else
31 #include <cstdint>
32#endif
33
34namespace bio {
35namespace physical {
36
56namespace detail {
57
58#if BIO_CPP_VERSION < 11
60#else
61 typedef ::std::uintptr_t IndexValue;
62#endif
63
65 const void* perspective,
66 const ::std::string& key
67);
68
70 const void* perspective,
71 const ::std::string& key,
73);
74
80void ErasePerspectiveEntries(const void* perspective);
81
82} //detail namespace
83
84} //physical namespace
85} //bio namespace
double value
Definition Potential.cpp:41
Definition Pointer.h:115
void ErasePerspectiveEntries(const void *perspective)
Definition NameIndex.cpp:166
IndexValue LookupPerspectiveName(const void *perspective, const ::std::string &key)
Definition NameIndex.cpp:136
uintptr_t IndexValue
Definition NameIndex.h:59
void StorePerspectiveName(const void *perspective, const ::std::string &key, IndexValue value)
Definition NameIndex.cpp:156
Definition FinalCell.h:29