Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::CollectionEventArgs Class Reference

Arguments of an event sent by a collection. More...

#include </__w/arcaneframework.github.io/arcaneframework.github.io/framework/arccore/src/common/arccore/common/Collection.h>

Collaboration diagram for Arcane::CollectionEventArgs:

Public Types

enum  eAction { ClearComplete , InsertComplete , RemoveComplete , SetComplete }

Public Member Functions

 CollectionEventArgs (eAction aaction, void *aobject, Integer aposition)
eAction action () const
void * object () const
Integer position () const

Private Attributes

eAction m_action
void * m_object
Integer m_position

Detailed Description

Arguments of an event sent by a collection.

A collection can send 4 types of events, indicated by the field m_action:

  • Clear when all elements of the list are deleted
  • Insert when an element is added to the list.
  • Remove when an element is deleted from the list.
  • Set

Definition at line 259 of file arccore/src/common/arccore/common/Collection.h.

Member Enumeration Documentation

◆ eAction

enum Arcane::CollectionEventArgs::eAction

Constructor & Destructor Documentation

◆ CollectionEventArgs()

Arcane::CollectionEventArgs::CollectionEventArgs ( eAction aaction,
void * aobject,
Integer aposition )
inline

Member Function Documentation

◆ action()

eAction Arcane::CollectionEventArgs::action ( ) const
inline

◆ object()

void * Arcane::CollectionEventArgs::object ( ) const
inline

◆ position()

Integer Arcane::CollectionEventArgs::position ( ) const
inline

Member Data Documentation

◆ m_action

eAction Arcane::CollectionEventArgs::m_action
private

◆ m_object

void* Arcane::CollectionEventArgs::m_object
private

◆ m_position

Integer Arcane::CollectionEventArgs::m_position
private

The documentation for this class was generated from the following file: