xc
Public Types | Public Member Functions | List of all members
XC::ModelComponentContainer< T > Class Template Reference

Container for model entities. More...

#include <ModelComponentContainer.h>

Inheritance diagram for XC::ModelComponentContainer< T >:
XC::ModelComponentContainerBase

Public Types

typedef std::map< Indice, T * > map_base
 
typedef std::pair< Indice, T * > pair
 
typedef map_base::iterator iterator
 
typedef map_base::const_iterator const_iterator
 
- Public Types inherited from XC::ModelComponentContainerBase
typedef size_t Indice
 

Public Member Functions

 ModelComponentContainer (MultiBlockTopology *mbt=nullptr)
 Constructor.
 
T * busca (const Indice &)
 Return a pointer to the geometry entity whose identifier is passed as parameter.
 
const T * busca (const Indice &) const
 Return a pointer to the entity whose identifier is passed as parameter.
 
bool exists (const Indice &) const
 Return true if the entity already exists.
 
T * get (const Indice &)
 Return the entity with tag iEnt.
 
boost::python::list getKeys (void) const
 Return the container's keys.
 
void clearAll (void)
 Erase all the entities.
 
virtual ~ModelComponentContainer (void)
 Destructor.
 
- Public Member Functions inherited from XC::ModelComponentContainerBase
 ModelComponentContainerBase (MultiBlockTopology *mbt=nullptr)
 Default identifier for new component. More...
 
const MultiBlockTopologygetMultiBlockTopology (void) const
 Return a pointer to MultiBlockTopology.
 
MultiBlockTopologygetMultiBlockTopology (void)
 Return a pointer to MultiBlockTopology.
 
const PreprocessorgetPreprocessor (void) const
 Return a pointer to preprocessor.
 
PreprocessorgetPreprocessor (void)
 Return a pointer to preprocessor.
 
size_t getTag (void) const
 
void setTag (const size_t &t)
 

Additional Inherited Members

- Protected Attributes inherited from XC::ModelComponentContainerBase
Indice tag
 

Detailed Description

template<class T>
class XC::ModelComponentContainer< T >

Container for model entities.


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