|
| basic_atom_set () |
| 空のコンテナを構築する [詳解]
|
|
| basic_atom_set (allocator_type const &alloc) |
| アロケータを指定して空のコンテナを構築する [詳解]
|
|
template<typename InputIterator , typename std::enable_if_t< std::is_integral_v< typename std::iterator_traits< InputIterator >::value_type >, std::nullptr_t > = nullptr> |
| basic_atom_set (InputIterator first, InputIterator last, allocator_type const &alloc=allocator_type()) |
| 直列化データからの構築 [詳解]
|
|
template<typename InputIterator , typename std::enable_if_t< std::negation_v< std::is_integral< typename std::iterator_traits< InputIterator >::value_type >>, std::nullptr_t > = nullptr> |
| basic_atom_set (InputIterator first, InputIterator last, allocator_type const &alloc=allocator_type()) |
| 文字列リストからの構築 [詳解]
|
|
| basic_atom_set (std::initializer_list< detail::trie_node > il, allocator_type const &alloc=allocator_type()) |
| 初期化子リストから構築する [詳解]
|
|
template<typename InputIterator , typename std::enable_if_t< std::is_integral_v< typename std::iterator_traits< InputIterator >::value_type >, std::nullptr_t > = nullptr> |
void | assign (InputIterator first, InputIterator last) |
| 直列化データからの割り当て [詳解]
|
|
template<typename InputIterator , typename std::enable_if_t< std::negation_v< std::is_integral< typename std::iterator_traits< InputIterator >::value_type >>, std::nullptr_t > = nullptr> |
void | assign (InputIterator first, InputIterator last) |
| 文字列リストからの割り当て [詳解]
|
|
value_type | at (std::uint32_t id) const |
| IDからアトムを返す [詳解]
|
|
template<typename InputIterator > |
value_type | at (InputIterator first, InputIterator last) const |
| 文字列からアトムを返す [詳解]
|
|
value_type | at (std::basic_string_view< label_type > sv) const |
| 文字列からアトムを返す [詳解]
|
|
value_type | operator[] (std::basic_string_view< label_type > sv) |
| 文字列からアトムを返す [詳解]
|
|
template<typename InputIterator > |
value_type | insert (InputIterator first, InputIterator last) |
| 文字列を挿入する [詳解]
|
|
value_type | insert (std::basic_string_view< label_type > sv) |
| 文字列を挿入する [詳解]
|
|
void | erase (std::uint32_t id) |
| アトムを削除する [詳解]
|
|
template<typename InputIterator > |
void | erase (InputIterator first, InputIterator last) |
| アトムを削除する [詳解]
|
|
void | erase (std::basic_string_view< label_type > sv) |
| アトムを削除する [詳解]
|
|
template<typename InputIterator > |
bool | contains (InputIterator first, InputIterator last) const |
| 文字列が格納されているか調べる [詳解]
|
|
bool | contains (std::basic_string_view< label_type > sv) const |
| 文字列が格納されているか調べる [詳解]
|
|
size_type | size () const noexcept |
| 格納しているキー文字列数を調べる [詳解]
|
|
文字列アトムのコンテナ
単語に番号を割り当てる辞書のようなクラス。
文字列から整数値への変換、整数値から文字列の変換が出来る。 整数値は、文字列に対して自動的に割り当てられるため、変更できない。
- 直列化
直列化には ibegin(), iend() を使う。
ibegin() の逆参照は32ビット整数値を返す。 ファイルへ保存するためにバイト列を必要とする場合、直列化イテレータを使う。