Alien  1.3.0
User documentation
Loading...
Searching...
No Matches
Alien::BasicIndexManager::MyEntryImpl Class Reference

Squelette de l'implementation locale de Entry La vraie implémentation est MyAbstractEntryImpl. Cette classe permet de la factorisation de code. More...

Public Member Functions

 MyEntryImpl (const String &name, const IAbstractFamily *family, const Integer creationIndex, BasicIndexManager *manager, Integer kind)
 Constructeur par défaut.
Arccore::ConstArrayView< Arccore::Integer > getOwnIndexes () const override
 Retourne la liste des Index de l'Entry.
Arccore::ConstArrayView< Arccore::Integer > getOwnLocalIds () const override
 Retourne la liste des Items de l'Entry.
Arccore::ConstArrayView< Arccore::Integer > getAllIndexes () const override
 Retourne la liste des Index de l'Entry (own + ghost).
Arccore::ConstArrayView< Integer > getAllLocalIds () const override
 Retourne la liste des Items de l'Entry (own + ghost).
void addTag (const String &tagname, const String &tagvalue) override
void removeTag (const String &tagname) override
bool hasTag (const String &tagname) override
String tagValue (const String &tagname) override
String getName () const override
 Retourne le nom de l'entrée.
Integer getKind () const override
 Retourne le type de support de l'Entry.
const IAbstractFamilygetFamily () const override
 Retourne la famille abstraite de l'Entry.
IIndexManagermanager () const override
 Référentiel du manager associé
Integer getCreationIndex () const
Public Member Functions inherited from Alien::IIndexManager::EntryImpl
virtual ~EntryImpl ()=default
 Destructeur.
virtual void addTag (const Arccore::String &tagname, const Arccore::String &tagvalue)=0
 Ajout d'un tag.
virtual void removeTag (const Arccore::String &tagname)=0
 Suppression d'un tag.
virtual bool hasTag (const Arccore::String &tagname)=0
 Test d'existance d'un tag.
virtual Arccore::String tagValue (const Arccore::String &tagname)=0
 Lecture d'un tag.

Protected Member Functions

void reserve (const Integer n)
 Préparation des buffers d'indices et d'items.
void finalize (const EntryIndexMap &entryIndex)
 Fige les données de l'entry (fin de phase prepare).
void resetFamily (const IAbstractFamily *family)
void reserveLid (const Integer count)
bool isDefinedLid (const Integer localId) const
void defineLid (const Integer localId, const Integer pos)
void undefineLid (const Integer localId)
const UniqueArray< std::pair< Integer, Integer > > & definedLids () const
void freeDefinedLids ()

Friends

class BasicIndexManager

Detailed Description

Squelette de l'implementation locale de Entry La vraie implémentation est MyAbstractEntryImpl. Cette classe permet de la factorisation de code.

Definition at line 56 of file BasicIndexManager.cc.

Constructor & Destructor Documentation

◆ MyEntryImpl()

Alien::BasicIndexManager::MyEntryImpl::MyEntryImpl ( const String & name,
const IAbstractFamily * family,
const Integer creationIndex,
BasicIndexManager * manager,
Integer kind )
inline

Constructeur par défaut.

Definition at line 62 of file BasicIndexManager.cc.

References manager().

Member Function Documentation

◆ addTag()

void Alien::BasicIndexManager::MyEntryImpl::addTag ( const String & tagname,
const String & tagvalue )
inlineoverride

Definition at line 96 of file BasicIndexManager.cc.

◆ definedLids()

const UniqueArray< std::pair< Integer, Integer > > & Alien::BasicIndexManager::MyEntryImpl::definedLids ( ) const
inlineprotected

Definition at line 225 of file BasicIndexManager.cc.

◆ defineLid()

void Alien::BasicIndexManager::MyEntryImpl::defineLid ( const Integer localId,
const Integer pos )
inlineprotected

Definition at line 185 of file BasicIndexManager.cc.

◆ finalize()

void Alien::BasicIndexManager::MyEntryImpl::finalize ( const EntryIndexMap & entryIndex)
inlineprotected

Fige les données de l'entry (fin de phase prepare).

Utilisation réservée au 'friend' BasicIndexManager

Definition at line 138 of file BasicIndexManager.cc.

◆ freeDefinedLids()

void Alien::BasicIndexManager::MyEntryImpl::freeDefinedLids ( )
inlineprotected

Definition at line 231 of file BasicIndexManager.cc.

◆ getAllIndexes()

Arccore::ConstArrayView< Arccore::Integer > Alien::BasicIndexManager::MyEntryImpl::getAllIndexes ( ) const
inlineoverridevirtual

Retourne la liste des Index de l'Entry (own + ghost).

Implements Alien::IIndexManager::EntryImpl.

Definition at line 86 of file BasicIndexManager.cc.

Referenced by Alien::BasicIndexManager::getIndexes().

◆ getAllLocalIds()

Arccore::ConstArrayView< Integer > Alien::BasicIndexManager::MyEntryImpl::getAllLocalIds ( ) const
inlineoverridevirtual

Retourne la liste des Items de l'Entry (own + ghost).

Implements Alien::IIndexManager::EntryImpl.

Definition at line 91 of file BasicIndexManager.cc.

◆ getCreationIndex()

Integer Alien::BasicIndexManager::MyEntryImpl::getCreationIndex ( ) const
inline

Definition at line 268 of file BasicIndexManager.cc.

◆ getFamily()

const IAbstractFamily & Alien::BasicIndexManager::MyEntryImpl::getFamily ( ) const
inlineoverridevirtual

Retourne la famille abstraite de l'Entry.

Implements Alien::IIndexManager::EntryImpl.

Definition at line 127 of file BasicIndexManager.cc.

Referenced by Alien::BasicIndexManager::keepAlive(), and Alien::BasicIndexManager::prepare().

◆ getKind()

Integer Alien::BasicIndexManager::MyEntryImpl::getKind ( ) const
inlineoverridevirtual

Retourne le type de support de l'Entry.

Implements Alien::IIndexManager::EntryImpl.

Definition at line 118 of file BasicIndexManager.cc.

Referenced by Alien::BasicIndexManager::prepare().

◆ getName()

String Alien::BasicIndexManager::MyEntryImpl::getName ( ) const
inlineoverridevirtual

Retourne le nom de l'entrée.

Implements Alien::IIndexManager::EntryImpl.

Definition at line 116 of file BasicIndexManager.cc.

◆ getOwnIndexes()

Arccore::ConstArrayView< Arccore::Integer > Alien::BasicIndexManager::MyEntryImpl::getOwnIndexes ( ) const
inlineoverridevirtual

Retourne la liste des Index de l'Entry.

Implements Alien::IIndexManager::EntryImpl.

Definition at line 76 of file BasicIndexManager.cc.

◆ getOwnLocalIds()

Arccore::ConstArrayView< Arccore::Integer > Alien::BasicIndexManager::MyEntryImpl::getOwnLocalIds ( ) const
inlineoverridevirtual

Retourne la liste des Items de l'Entry.

Implements Alien::IIndexManager::EntryImpl.

Definition at line 81 of file BasicIndexManager.cc.

◆ hasTag()

bool Alien::BasicIndexManager::MyEntryImpl::hasTag ( const String & tagname)
inlineoverride

Definition at line 103 of file BasicIndexManager.cc.

◆ isDefinedLid()

bool Alien::BasicIndexManager::MyEntryImpl::isDefinedLid ( const Integer localId) const
inlineprotected

Definition at line 183 of file BasicIndexManager.cc.

◆ manager()

IIndexManager * Alien::BasicIndexManager::MyEntryImpl::manager ( ) const
inlineoverridevirtual

Référentiel du manager associé

Implements Alien::IIndexManager::EntryImpl.

Definition at line 129 of file BasicIndexManager.cc.

References Alien::IIndexManager::IIndexManager().

Referenced by MyEntryImpl().

◆ removeTag()

void Alien::BasicIndexManager::MyEntryImpl::removeTag ( const String & tagname)
inlineoverride

Definition at line 101 of file BasicIndexManager.cc.

◆ reserve()

void Alien::BasicIndexManager::MyEntryImpl::reserve ( const Integer n)
inlineprotected

Préparation des buffers d'indices et d'items.

Utilisation réservée au 'friend' BasicIndexManager

Definition at line 134 of file BasicIndexManager.cc.

◆ reserveLid()

void Alien::BasicIndexManager::MyEntryImpl::reserveLid ( const Integer count)
inlineprotected

Definition at line 176 of file BasicIndexManager.cc.

◆ resetFamily()

void Alien::BasicIndexManager::MyEntryImpl::resetFamily ( const IAbstractFamily * family)
inlineprotected

Definition at line 173 of file BasicIndexManager.cc.

◆ tagValue()

String Alien::BasicIndexManager::MyEntryImpl::tagValue ( const String & tagname)
inlineoverride

Definition at line 108 of file BasicIndexManager.cc.

◆ undefineLid()

void Alien::BasicIndexManager::MyEntryImpl::undefineLid ( const Integer localId)
inlineprotected

Definition at line 196 of file BasicIndexManager.cc.

◆ BasicIndexManager

friend class BasicIndexManager
friend

Definition at line 58 of file BasicIndexManager.cc.


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