sfem::mesh::SectionTypeFactory Class Reference

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

#include <sectiontypefactory.hpp>

Collaboration diagram for sfem::mesh::SectionTypeFactory:

Collaboration graph
[legend]

List of all members.

Public Types

typedef std::map< std::string,
boost::weak_ptr< SectionType > > 
Type_section_type_idents
typedef std::vector
< boost::shared_ptr
< SectionType > > 
Type_section_types
enum  Type_type_ids { C3D, NUM_TYPES }
 an enum holding all possible element types

Public Member Functions

const Type_section_types & getSectionTypes () const
 returns the specific integration point data
const Type_section_type_idents & getSectionTypesByIdent () const
 returns the map of element_types

Protected Member Functions

template<class T>
boost::shared_ptr< SectionType > & getInstance (const Type_type_ids &type_index, const std::string &type_ident)
 creates a new element type of type T and inserts it into the database:

Protected Attributes

Type_section_type_idents section_type_idents
 associates all element types with their string identifier, contains pointers only.
Type_section_types section_types
 contains all element types (the pointers will be automatically deleted), the index coorespondes to Type_type_ids


Detailed Description

... a factory which provides section type objects

Member Function Documentation

const Type_section_types& sfem::mesh::SectionTypeFactory::getSectionTypes (  )  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