#include <materialtypefactory.hpp>
Public Types | |
typedef std::map< std::string, boost::weak_ptr< MaterialType > > | Type_material_type_idents |
typedef std::vector < boost::shared_ptr < MaterialType > > | Type_material_types |
Public Member Functions | |
template<class T> | |
boost::shared_ptr< MaterialType > & | getInstance (const std::string &type_ident) |
creates a new element type of type T and inserts it into the database: | |
const Type_material_types & | getMaterialTypes () const |
returns the specific integration point data | |
const Type_material_type_idents & | getMaterialTypesByIdent () const |
returns the map of element_types | |
unsigned int | numItems () const |
returns the number of currently contained types | |
Protected Attributes | |
Type_material_type_idents | material_type_idents |
associates all element types with their string identifier, contains pointers only. | |
Type_material_types | material_types |
contains all element types (the pointers will be automatically deleted), the index coorespondes to Type_type_ids |
const Type_material_types& sfem::material::MaterialTypeFactory::getMaterialTypes | ( | ) | const [inline] |
returns the specific integration point data
intpt | ... number of intpt returns the element_types |