sfem::element::ETFactory Class Reference

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

#include <etfactory.hpp>

Collaboration diagram for sfem::element::ETFactory:

Collaboration graph
[legend]

List of all members.

Public Types

typedef std::map< std::string,
boost::weak_ptr< ET > > 
Type_element_type_idents
typedef std::vector
< boost::shared_ptr< ET > > 
Type_element_types
typedef unsigned int Type_type_ids

Public Member Functions

const Type_element_types & getElementTypes () const
 returns the specific integration point data
const Type_element_type_idents & getElementTypesByIdent () const
 returns the map of element_types
template<class T>
boost::shared_ptr< ET > & getInstance (const std::string &type_ident, const std::string &integration_node_type)
template<class T>
boost::shared_ptr< ET > & getInstance (const std::string &type_ident)
 creates a new element type of type T and inserts it into the database:
template<class T>
boost::shared_ptr< ET > & getInstance2 (const std::string &type_ident, bool flag1)
template<class T>
boost::shared_ptr< ET > & getInstance3 (const std::string &type_ident, const std::string &integration_node_type, bool flag1)
unsigned int numItems () const
 returns the number of currently contained element types

Protected Attributes

Type_element_type_idents element_type_idents
 associates all element types with their string identifier, contains pointers only.
Type_element_types element_types
 contains all element types (the pointers will be automatically deleted), the index coorespondes to Type_type_ids


Detailed Description

... a factory which provides element type objects

Member Function Documentation

const Type_element_types& sfem::element::ETFactory::getElementTypes (  )  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