Advanced Multi-Physics (AMP)
On-Line Documentation
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
AMP::Mesh::MeshElementVectorBase Class Referenceabstract

A base class for a vector of MeshElements. More...

#include <MeshElementVector.h>

Inheritance diagram for AMP::Mesh::MeshElementVectorBase:
Inheritance graph
[legend]

Public Member Functions

bool empty () const
 Is the vector empty.
 
 MeshElementVectorBase (const MeshElementVectorBase &)=delete
 Copy constructor.
 
virtual const MeshElementoperator[] (size_t) const =0
 Access the desired element.
 
size_t size () const
 Return the number of elements.
 
virtual ~MeshElementVectorBase ()=default
 Destructor.
 

Protected Member Functions

 MeshElementVectorBase ()=default
 

Protected Attributes

size_t d_size = 0
 

Detailed Description

A base class for a vector of MeshElements.

Definition at line 22 of file MeshElementVector.h.

Constructor & Destructor Documentation

◆ MeshElementVectorBase() [1/2]

AMP::Mesh::MeshElementVectorBase::MeshElementVectorBase ( const MeshElementVectorBase )
delete

Copy constructor.

◆ ~MeshElementVectorBase()

virtual AMP::Mesh::MeshElementVectorBase::~MeshElementVectorBase ( )
virtualdefault

Destructor.

◆ MeshElementVectorBase() [2/2]

AMP::Mesh::MeshElementVectorBase::MeshElementVectorBase ( )
protecteddefault

Member Function Documentation

◆ empty()

bool AMP::Mesh::MeshElementVectorBase::empty ( ) const
inline

Is the vector empty.

Definition at line 27 of file MeshElementVector.h.

References d_size.

◆ operator[]()

virtual const MeshElement & AMP::Mesh::MeshElementVectorBase::operator[] ( size_t  ) const
pure virtual

Access the desired element.

Implemented in AMP::Mesh::MeshElementVector< TYPE >.

◆ size()

size_t AMP::Mesh::MeshElementVectorBase::size ( ) const
inline

Return the number of elements.

Definition at line 28 of file MeshElementVector.h.

References d_size.

Referenced by AMP::Mesh::MeshElementVectorIterator::size().

Member Data Documentation

◆ d_size

size_t AMP::Mesh::MeshElementVectorBase::d_size = 0
protected

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



Advanced Multi-Physics (AMP)
Oak Ridge National Laboratory
Idaho National Laboratory
Los Alamos National Laboratory
This page automatically produced from the
source code by doxygen
Last updated: Tue Mar 10 2026 13:06:43.
Comments on this page