acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
aaa_atom_space.h
1
#pragma once
2
3
//
4
//
5
//
6
//inline ::collection::index BaseSortCompare(const atom & id1, const atom & id2)
7
//{
8
//
9
//
10
// return (index) (id1.m_psz - id2.m_psz);
11
//
12
//
13
//}
14
15
16
//class ::pointer < ::mutex >;
17
18
//
19
//class CLASS_DECL_ACME atom_space
20
//{
21
//protected:
22
//
23
//
24
// raw_array < char_pointer > m_psza;
25
// critical_section m_criticalsection;
26
//
27
//
28
// bool find(const ::scoped_string & scopedstrFind,::collection::index & iIndex);
29
//
30
// void free_all();
31
//
32
//
33
//
34
//public:
35
//
36
//
37
// atom_space();
38
// virtual ~atom_space();
39
//
40
//
41
// const_char_pointer get_id(const ::scoped_string & scopedstrFind);
42
//
43
//
44
// atom operator()(const ::scoped_string & scopedstr);
45
// atom operator()(::i64 i);
46
//
47
// static atom_space * s_pidspace;
48
//
49
//};
50
//
51
52
53
//
54
//class CLASS_DECL_ACME strid_array :
55
// virtual public matter
56
//{
57
//protected:
58
//
59
//
60
// index_array stackLowerBound;
61
// index_array stackUpperBound;
62
// raw_array < char_pointer > m_idptra; // ordered as added
63
// index_array m_iaId; // ordered by id_cmp
64
//
65
//
66
//
67
// void sort();
68
// bool find(const ::scoped_string & scopedstr, ::collection::index & iIndex) const;
69
//
70
//
71
//public:
72
//
73
//
74
// strid_array(bool bSynch);
75
// virtual ~strid_array();
76
//
77
// void add(const atom & atom);
78
//
79
//
80
// bool find(const atom & atom, ::collection::index & iIndex) const;
81
//
82
// bool contains(const atom & atom) const { index iIndex; return find(atom, iIndex); }
83
//
84
//
85
//};
86
//CLASS_DECL_ACME ::atom_space & get_id_space();
prototype
prototype
aaa_atom_space.h
Generated by
1.17.0