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

A pointer class to wrap a MeshElementVector. More...

#include <MeshElementVector.h>

Public Member Functions

MeshElementVectorIterator begin () const
 
bool empty () const
 Is the vector empty.
 
MeshElementVectorIterator end () const
 
 MeshElementVectorPtr ()
 
 MeshElementVectorPtr (const MeshElementVectorPtr &)=delete
 
 MeshElementVectorPtr (MeshElementVectorPtr &&)=default
 
template<class T >
 MeshElementVectorPtr (std::unique_ptr< MeshElementVector< T > > p)
 
 MeshElementVectorPtr (std::unique_ptr< MeshElementVectorBase > p)
 
MeshElementVectorPtroperator= (const MeshElementVectorPtr &)=delete
 
MeshElementVectorPtroperator= (MeshElementVectorPtr &&)=default
 
const MeshElementoperator[] (size_t i) const
 
size_t size () const
 Return the number of elements.
 

Protected Attributes

std::unique_ptr< MeshElementVectorBaseptr
 

Detailed Description

A pointer class to wrap a MeshElementVector.

Definition at line 76 of file MeshElementVector.h.

Constructor & Destructor Documentation

◆ MeshElementVectorPtr() [1/5]

template<class T >
AMP::Mesh::MeshElementVectorPtr::MeshElementVectorPtr ( std::unique_ptr< MeshElementVector< T > >  p)
inline

Definition at line 80 of file MeshElementVector.h.

◆ MeshElementVectorPtr() [2/5]

AMP::Mesh::MeshElementVectorPtr::MeshElementVectorPtr ( std::unique_ptr< MeshElementVectorBase p)
inline

Definition at line 83 of file MeshElementVector.h.

◆ MeshElementVectorPtr() [3/5]

AMP::Mesh::MeshElementVectorPtr::MeshElementVectorPtr ( )

◆ MeshElementVectorPtr() [4/5]

AMP::Mesh::MeshElementVectorPtr::MeshElementVectorPtr ( MeshElementVectorPtr &&  )
default

◆ MeshElementVectorPtr() [5/5]

AMP::Mesh::MeshElementVectorPtr::MeshElementVectorPtr ( const MeshElementVectorPtr )
delete

Member Function Documentation

◆ begin()

MeshElementVectorIterator AMP::Mesh::MeshElementVectorPtr::begin ( ) const

◆ empty()

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

Is the vector empty.

Definition at line 89 of file MeshElementVector.h.

References ptr.

◆ end()

MeshElementVectorIterator AMP::Mesh::MeshElementVectorPtr::end ( ) const

◆ operator=() [1/2]

MeshElementVectorPtr & AMP::Mesh::MeshElementVectorPtr::operator= ( const MeshElementVectorPtr )
delete

◆ operator=() [2/2]

MeshElementVectorPtr & AMP::Mesh::MeshElementVectorPtr::operator= ( MeshElementVectorPtr &&  )
default

◆ operator[]()

const MeshElement & AMP::Mesh::MeshElementVectorPtr::operator[] ( size_t  i) const
inline

Definition at line 91 of file MeshElementVector.h.

References ptr.

◆ size()

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

Return the number of elements.

Definition at line 90 of file MeshElementVector.h.

References ptr.

Member Data Documentation

◆ ptr

std::unique_ptr<MeshElementVectorBase> AMP::Mesh::MeshElementVectorPtr::ptr
protected

Definition at line 96 of file MeshElementVector.h.

Referenced by empty(), operator[](), and size().


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