sfem::material::MaterialTypeFactory Class Reference

... a factory which provides material type objects More...

#include <materialtypefactory.hpp>

Collaboration diagram for sfem::material::MaterialTypeFactory:

Collaboration graph
[legend]

List of all members.

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


Detailed Description

... a factory which provides material type objects

Member Function Documentation

const Type_material_types& sfem::material::MaterialTypeFactory::getMaterialTypes (  )  const [inline]

returns the specific integration point data

Parameters:
intpt ... number of intpt returns the element_types


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

Generated on Wed Nov 17 17:35:54 2010 for 'sfem' Module Programming Interface by  doxygen 1.5.6