Public Member Functions | |
| ItemPairGroupImpl (const ItemGroup &group, const ItemGroup &sub_group) | |
| ~ItemPairGroupImpl () override | |
| Releases resources. | |
| virtual ISharedReference & | sharedReference () |
| const String & | name () const |
| Group name. | |
| virtual Integer | nbRef () const |
| Number of references on the group. | |
| bool | null () const |
| Returns true if the group is null. | |
| IMesh * | mesh () const |
| Mesh to which the group belongs (0 for the null group). | |
| eItemKind | itemKind () const |
| Group kind. This is the kind of its elements. | |
| eItemKind | subItemKind () const |
| Group kind. This is the kind of its elements. | |
| IItemFamily * | itemFamily () const |
| Family to which the group belongs (or 0 if none). | |
| IItemFamily * | subItemFamily () const |
| Family to which the group belongs (or 0 if none). | |
| const ItemGroup & | itemGroup () const |
| Group of entities. | |
| const ItemGroup & | subItemGroup () const |
| Group of sub-entities. | |
| Integer | size () const |
| Number of entities in the group. | |
| void | invalidate (bool force_recompute) |
| Invalidates the group. | |
| void | checkValid () |
| Checks that the group is valid. | |
| bool | checkNeedUpdate () |
| Updates the group if necessary. | |
| void | changeIds (IntegerConstArrayView old_to_new_ids) |
| Changes the indices of the group's entities. | |
| Array< Int64 > & | unguardedIndexes () const |
| Array< Int32 > & | unguardedLocalIds () const |
| void | setComputeFunctor (IFunctor *functor) |
| Int64ArrayView | indexes () |
| Span< const Int32 > | subItemsLocalId () |
| void | addRef () override |
| Increments the reference counter. | |
| void | removeRef () override |
| Decrements the reference counter. | |
| Public Member Functions inherited from Arcane::SharedReference | |
| void | addRef () override |
| Increments the reference counter. | |
| void | removeRef () override |
| Decrements the reference counter. | |
| Int32 | refCount () const override |
| Returns the value of the reference counter. | |
| Public Member Functions inherited from Arcane::ISharedReference | |
| virtual | ~ISharedReference ()=default |
| Releases resources. | |
Static Public Member Functions | |
| static ItemPairGroupImpl * | checkSharedNull () |
Static Public Attributes | |
| static ItemPairGroupImpl * | shared_null = 0 |
Definition at line 34 of file ItemPairGroupImpl.h.
| Arcane::ItemPairGroupImpl::ItemPairGroupImpl | ( | ) |
Definition at line 189 of file ItemPairGroupImpl.cc.
| Arcane::ItemPairGroupImpl::ItemPairGroupImpl | ( | const ItemGroup & | group, |
| const ItemGroup & | sub_group ) |
Definition at line 178 of file ItemPairGroupImpl.cc.
|
override |
Releases resources.
Definition at line 198 of file ItemPairGroupImpl.cc.
|
overridevirtual |
Increments the reference counter.
Implements Arcane::ISharedReference.
Definition at line 221 of file ItemPairGroupImpl.cc.
References Arcane::SharedReference::addRef().
Referenced by changeIds().
| bool Arcane::ItemPairGroupImpl::checkNeedUpdate | ( | ) |
Updates the group if necessary.
A group must be updated when it becomes invalid, for example following a call to invalidate().
| true | if the group was updated, |
| false | otherwise. |
Definition at line 330 of file ItemPairGroupImpl.cc.
Referenced by invalidate(), and size().
|
static |
Definition at line 165 of file ItemPairGroupImpl.cc.
| void Arcane::ItemPairGroupImpl::checkValid | ( | ) |
Checks that the group is valid.
Definition at line 311 of file ItemPairGroupImpl.cc.
Referenced by size().
Definition at line 363 of file ItemPairGroupImpl.cc.
| void Arcane::ItemPairGroupImpl::invalidate | ( | bool | force_recompute | ) |
Invalidates the group.
Definition at line 319 of file ItemPairGroupImpl.cc.
References checkNeedUpdate().
Referenced by size().
| IItemFamily * Arcane::ItemPairGroupImpl::itemFamily | ( | ) | const |
Family to which the group belongs (or 0 if none).
Definition at line 248 of file ItemPairGroupImpl.cc.
| const ItemGroup & Arcane::ItemPairGroupImpl::itemGroup | ( | ) | const |
Group of entities.
Definition at line 293 of file ItemPairGroupImpl.cc.
| eItemKind Arcane::ItemPairGroupImpl::itemKind | ( | ) | const |
Group kind. This is the kind of its elements.
Definition at line 275 of file ItemPairGroupImpl.cc.
| IMesh * Arcane::ItemPairGroupImpl::mesh | ( | ) | const |
Mesh to which the group belongs (0 for the null group).
Definition at line 239 of file ItemPairGroupImpl.cc.
|
inlinevirtual |
Number of references on the group.
Definition at line 58 of file ItemPairGroupImpl.h.
References Arcane::SharedReference::refCount().
| bool Arcane::ItemPairGroupImpl::null | ( | ) | const |
Returns true if the group is null.
Definition at line 266 of file ItemPairGroupImpl.cc.
|
overridevirtual |
Decrements the reference counter.
Implements Arcane::ISharedReference.
Definition at line 230 of file ItemPairGroupImpl.cc.
References Arcane::SharedReference::removeRef().
Referenced by changeIds().
| void Arcane::ItemPairGroupImpl::setComputeFunctor | ( | IFunctor * | functor | ) |
Definition at line 383 of file ItemPairGroupImpl.cc.
|
inlinevirtual |
Definition at line 50 of file ItemPairGroupImpl.h.
| IItemFamily * Arcane::ItemPairGroupImpl::subItemFamily | ( | ) | const |
Family to which the group belongs (or 0 if none).
Definition at line 257 of file ItemPairGroupImpl.cc.
| const ItemGroup & Arcane::ItemPairGroupImpl::subItemGroup | ( | ) | const |
Group of sub-entities.
Definition at line 302 of file ItemPairGroupImpl.cc.
| eItemKind Arcane::ItemPairGroupImpl::subItemKind | ( | ) | const |
Group kind. This is the kind of its elements.
Definition at line 284 of file ItemPairGroupImpl.cc.
Definition at line 373 of file ItemPairGroupImpl.cc.
Definition at line 345 of file ItemPairGroupImpl.cc.
Definition at line 354 of file ItemPairGroupImpl.cc.
|
static |
Definition at line 45 of file ItemPairGroupImpl.h.