#include <arccore/common/StringVector.h>
Classes | |
| class | Impl |
Public Member Functions | |
| StringVector (const StringList &string_list) | |
| StringVector (const StringVector &rhs) | |
| StringVector (StringVector &&rhs) noexcept | |
| StringVector & | operator= (const StringVector &rhs) |
| Int32 | size () const |
| Number of elements. | |
| void | add (const String &str) |
| Adds str to the list of strings. | |
| String | operator[] (Int32 index) const |
| Returns the i-th string. | |
| StringList | toStringList () const |
| Converts the instance to 'StringList'. | |
Vector of 'String'.
This class has a value semantics and behaves the same as a UniqueArray<String>.
Definition at line 34 of file common/arccore/common/StringVector.h.
|
explicit |
Definition at line 50 of file StringVector.cc.
| Arcane::StringVector::StringVector | ( | const StringVector & | rhs | ) |
Definition at line 65 of file StringVector.cc.
|
noexcept |
Definition at line 75 of file StringVector.cc.
| Arcane::StringVector::~StringVector | ( | ) |
Definition at line 101 of file StringVector.cc.
| void Arcane::StringVector::add | ( | const String & | str | ) |
Adds str to the list of strings.
Definition at line 119 of file StringVector.cc.
| StringVector & Arcane::StringVector::operator= | ( | const StringVector & | rhs | ) |
Definition at line 85 of file StringVector.cc.
Returns the i-th string.
Definition at line 129 of file StringVector.cc.
References ARCCORE_CHECK_POINTER.
| Int32 Arcane::StringVector::size | ( | ) | const |
Number of elements.
Definition at line 110 of file StringVector.cc.
| StringList Arcane::StringVector::toStringList | ( | ) | const |
Converts the instance to 'StringList'.
Definition at line 139 of file StringVector.cc.
References Arcane::ConstArrayView< T >::size().