Go to the documentation of this file.
44 #ifndef _INCLUDED_Field3D_ClassFactory_H_
45 #define _INCLUDED_Field3D_ClassFactory_H_
94 void registerField(CreateFieldFnPtr createFunc);
97 FieldRes::Ptr createField(
const std::string &className)
const;
101 void registerFieldIO(CreateFieldIOFnPtr createFunc);
104 FieldIO::Ptr createFieldIO(
const std::string &className)
const;
113 void registerFieldMapping(CreateFieldMappingFnPtr createFunc);
120 void registerFieldMappingIO(CreateFieldMappingIOFnPtr createFunc);
174 #endif // Include guard
#define FIELD3D_NAMESPACE_HEADER_CLOSE
Contains the FieldMappingIO base class and the NullFieldMappingIO and MatrixFieldMappingIO subclasses...
boost::intrusive_ptr< FieldMappingIO > Ptr
boost::intrusive_ptr< FieldMapping > Ptr
NameVec m_fieldMappingIONames
FieldIOFuncMap m_fieldIOs
Map of create functions for FieldIO classes. The key is the class name.
FieldMappingFuncMap m_mappings
Map of create functions for FieldMappings. The key is the class name.
std::map< std::string, CreateFieldMappingIOFnPtr > FieldMappingIOFuncMap
boost::intrusive_ptr< FieldRes > Ptr
static ClassFactory * ms_instance
Pointer to static instance.
Contains Field, WritableField and ResizableField classes.
FieldMappingIOFuncMap m_mappingIOs
Map of create functions for FieldMapping IO classes. The key is the class name.
std::map< std::string, CreateFieldFnPtr > FieldFuncMap
boost::intrusive_ptr< FieldIO > Ptr
std::map< std::string, CreateFieldIOFnPtr > FieldIOFuncMap
std::map< std::string, CreateFieldMappingFnPtr > FieldMappingFuncMap
NameVec m_fieldMappingNames
FieldFuncMap m_fields
Map of create functions for Fields. The key is the class name.
std::vector< std::string > NameVec