14#include "arccore/base/StringView.h"
30 o.write((
const char*)m_v.data(),m_v.size());
50 return { m_v.subspan(pos, len) };
void writeBytes(std::ostream &o) const
Écrit la chaîne au format UTF-8 sur le flot o.
std::string_view toStdStringView() const ARCCORE_NOEXCEPT
Retourne une vue de la STL de la vue actuelle.
constexpr Int64 length() const ARCCORE_NOEXCEPT
Longueur en octet de la chaîne de caractères.
StringView subView(Int64 pos) const
Sous-chaîne commençant à la position pos.
friend ARCCORE_BASE_EXPORT bool operator==(const StringView &a, const StringView &b)
Compare deux vues.
StringView()=default
Crée une vue sur une chaîne vide.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
std::int64_t Int64
Type entier signé sur 64 bits.
bool operator<(const Item &item1, const Item &item2)
Compare deux entités.
std::ostream & operator<<(std::ostream &ostr, eItemKind item_kind)
Opérateur de sortie sur un flot.