1.10.1
CCC
 
Loading...
Searching...
No Matches
gstlrn::VectorMeshes Class Reference

#include <VectorMeshes.hpp>

Inheritance diagram for gstlrn::VectorMeshes:
gstlrn::AStringable

Detailed Description

This corresponds to a list of AMeshes

Public Member Functions

 VectorMeshes (const std::vector< const AMesh * > &meshes={})
 
 VectorMeshes (Id nmesh)
 
 VectorMeshes (const VectorMeshes &r)
 
VectorMeshesoperator= (const VectorMeshes &r)
 
virtual ~VectorMeshes ()
 
String toString (const AStringFormat *strfmt=nullptr) const override
 Interface to AStringable.
 
Id size () const
 
bool empty () const
 
bool isTurbo () const
 Check if a series of Meshes (included in 'meshes') are Turbo.
 
bool allDefined () const
 
void replace (Id ind, const AMesh *mesh)
 
const AMeshoperator() (Id ind) const
 
- Public Member Functions inherited from gstlrn::AStringable
 AStringable ()
 
 AStringable (const AStringable &r)
 
AStringableoperator= (const AStringable &r)
 
virtual ~AStringable ()
 
virtual void display (const AStringFormat *strfmt=nullptr) const final
 
virtual void display (Id level) const final
 

Constructor & Destructor Documentation

◆ VectorMeshes() [1/3]

gstlrn::VectorMeshes::VectorMeshes ( const std::vector< const AMesh * > &  meshes = {})

◆ VectorMeshes() [2/3]

gstlrn::VectorMeshes::VectorMeshes ( Id  nmesh)

◆ VectorMeshes() [3/3]

gstlrn::VectorMeshes::VectorMeshes ( const VectorMeshes r)

◆ ~VectorMeshes()

gstlrn::VectorMeshes::~VectorMeshes ( )
virtual

Member Function Documentation

◆ allDefined()

bool gstlrn::VectorMeshes::allDefined ( ) const

◆ empty()

bool gstlrn::VectorMeshes::empty ( ) const
inline

◆ isTurbo()

bool gstlrn::VectorMeshes::isTurbo ( ) const

Check if a series of Meshes (included in 'meshes') are Turbo.

Returns
True if ALL meshes are TURBO

◆ operator()()

const AMesh * gstlrn::VectorMeshes::operator() ( Id  ind) const
inline

◆ operator=()

VectorMeshes & gstlrn::VectorMeshes::operator= ( const VectorMeshes r)

◆ replace()

void gstlrn::VectorMeshes::replace ( Id  ind,
const AMesh mesh 
)

◆ size()

Id gstlrn::VectorMeshes::size ( ) const
inline

◆ toString()

String gstlrn::VectorMeshes::toString ( const AStringFormat strfmt = nullptr) const
overridevirtual

Interface to AStringable.

Print the contents of the meshing

Parameters
[in]strfmtFormat for printout

Reimplemented from gstlrn::AStringable.


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