30 #ifndef MAPMODELWRAPPER_H 31 #define MAPMODELWRAPPER_H 33 #include "utility/kernel/CommandEntity.h" 34 #include "ModelWrapper.h" 38 class SolutionProcedureControl;
48 typedef std::map<std::string,ModelWrapper> map_model_wrapper;
49 typedef map_model_wrapper::iterator iterator;
50 typedef map_model_wrapper::const_iterator const_iterator;
53 map_model_wrapper solu_models;
59 inline iterator begin()
60 {
return solu_models.begin(); }
62 {
return solu_models.end(); }
63 inline const_iterator begin()
const 64 {
return solu_models.begin(); }
65 inline const_iterator end()
const 66 {
return solu_models.end(); }
68 inline bool empty(
void)
const 69 {
return solu_models.empty(); }
70 inline size_t size(
void)
const 71 {
return solu_models.size(); }
const std::string & getModelWrapperName(const ModelWrapper *) const
Return the name of a model wrapper.
Definition: MapModelWrapper.cc:71
void clearAll(void)
Clears all.
Definition: MapModelWrapper.cc:110
const ModelWrapper * getModelWrapper(const std::string &) const
Return a const pointer to the solution method.
Definition: MapModelWrapper.cc:61
bool existeModelWrapper(const std::string &) const
Return true if the method whose name is passed as parameter exists.
Definition: MapModelWrapper.cc:44
Wrapper for the finite element model "as seen" from the solver.
Definition: ModelWrapper.h:59
Objet that can execute python scripts.
Definition: CommandEntity.h:40
Container for the objects that control the solution procedure.
Definition: SolutionProcedureControl.h:45
ModelWrapper & creaModelWrapper(const std::string &)
Creates a new solution method with the identifier being passed as parameter (if already exists...
Definition: MapModelWrapper.cc:96
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
Finite element model wrappers container.
Definition: MapModelWrapper.h:45
MapModelWrapper(SolutionProcedureControl *owr)
Default constructor.
Definition: MapModelWrapper.cc:39