14#include "arcane/CaseDatasetSource.h"
16#include "arcane/utils/String.h"
17#include "arcane/utils/Array.h"
50: m_p(new Impl(*rhs.m_p))
57CaseDatasetSource& CaseDatasetSource::
58operator=(
const CaseDatasetSource& rhs)
62 m_p =
new Impl(*rhs.m_p);
81 m_p->m_file_name = name;
90 return m_p->m_file_name;
99 m_p->m_content = bytes;
108 auto d =
reinterpret_cast<const std::byte*
>(bytes.data());
118 return m_p->m_content;
Source of a case dataset.
void setFileName(const String &name)
Sets the file name of the dataset.
String fileName() const
File name of the dataset.
void setContent(Span< const std::byte > bytes)
Sets the content of the dataset.
ByteConstSpan content() const
Content of the dataset.
View of an array of elements of type T.
Unicode character string.
1D data vector with value semantics (STL style).
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Span< const std::byte > ByteConstSpan
Read-only view of a 1D array of characters.