XC Open source finite element analysis program
Public Types | Public Member Functions | List of all members
XC::MapCadMember< T > Class Template Reference

Container for model entities. More...

#include <MapCadMember.h>

Inheritance diagram for XC::MapCadMember< T >:
XC::MapCadMemberBase XC::MapEnt< T >

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::MapCadMemberBase
typedef size_t Indice
 

Public Member Functions

 MapCadMember (Cad *cad=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 existe (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 ~MapCadMember (void)
 Destructor.
 
- Public Member Functions inherited from XC::MapCadMemberBase
 MapCadMemberBase (Cad *cad=nullptr)
 Default identifier for new point. More...
 
const CadgetCad (void) const
 Return a pointer to Cad.
 
CadgetCad (void)
 Return a pointer to Cad.
 
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::MapCadMemberBase
Indice tag
 

Detailed Description

template<class T>
class XC::MapCadMember< T >

Container for model entities.


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