37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# File 'lib/autoc/hash_map.rb', line 37
def render_interface(stream)
if public?
stream << %{
/**
#{defgroup}
@brief Unordered collection of elements of type #{element} associated with unique index of type #{index}.
For iteration over the set elements refer to @ref #{range}.
@see C++ [std::unordered_map<K,T>](https://en.cppreference.com/w/cpp/container/unordered_map)
@since 2.0
*/
/**
#{ingroup}
@brief Opaque structure holding state of the hash map
@since 2.0
*/
}
else
stream << PRIVATE
end
stream << %{
typedef struct {
#{_set} set; /**< @private */
} #{signature};
}
end
|