24 #ifndef ACTIONWEIGHTINGMAP_H 25 #define ACTIONWEIGHTINGMAP_H 27 #include "utility/kernel/CommandEntity.h" 28 #include "utility/load_combinations/actions/factors/Factors.h" 36 class ActionsAndFactors;
37 class LoadCombinations;
45 typedef std::map<std::string,ActionsAndFactors *> map_actions_and_factors;
46 typedef map_actions_and_factors::iterator iterator;
47 typedef map_actions_and_factors::const_iterator const_iterator;
50 map_actions_and_factors actions_and_factors;
52 bool exists(
const std::string &nmb)
const;
55 void copy(
const map_actions_and_factors &pond);
65 ActionWrapper &
insert(
const std::string &,
const std::string &,
const Action &,
const std::string &combination_factors_name=
"",
const std::string &partial_safety_factors_name=
"");
66 ActionWrapper &
insertGroup(
const std::string &,
const std::string &,
const std::vector<Action> &,
const std::vector<std::string> &,
const std::string &);
69 size_t size(
void)
const;
70 bool empty(
void)
const;
72 const_iterator begin(
void)
const;
74 const_iterator end(
void)
const;
75 boost::python::list
getKeys(
void)
const;
ActionWeightingMap & operator=(const ActionWeightingMap &)
Assignment operator (NO COPIA LAS ACTIONS_AND_FACTORS).
Definition: ActionWeightingMap.cc:76
cmb_acc::ActionsAndFactors * create(const std::string &, const Factors &coefs=Factors())
Define una ponderación de acciones.
Definition: ActionWeightingMap.cc:84
Routines to generate combinations of actions.
Container for all the action families.
Definition: ActionsAndFactors.h:34
ActionWrapper & insertGroup(const std::string &, const std::string &, const std::vector< Action > &, const std::vector< std::string > &, const std::string &)
Insert the group of actions being passed as parameter and sets its combination and partial safety fac...
Definition: ActionWeightingMap.cc:123
size_t size(void) const
Return el número de actions_and_factors de todas las actions_and_factors.
Definition: ActionWeightingMap.cc:184
Almacena todas las familias de acciones.
Definition: Factors.h:34
Container for ActionAndFactors objects.
Definition: ActionWeightingMap.h:42
ActionsAndFactors * findByName(const std::string &nmb)
Return a pointer to the object with argument name.
Definition: ActionWeightingMap.cc:32
LoadCombinations getLoadCombinations(void)
Return the combinations that correspond to all actions_and_factors.
Definition: ActionWeightingMap.cc:210
Action or linear combination of actions.
Definition: Action.h:44
bool empty(void) const
brief Return verdadero si las actions_and_factors estan vacías.
Definition: ActionWeightingMap.cc:188
Almacena todas las Load Combinations que deben formarse para las acciones.
Definition: LoadCombinations.h:35
Objet that can execute python scripts.
Definition: CommandEntity.h:40
ActionWrapper & insert(const std::string &, const std::string &, const Action &, const std::string &combination_factors_name="", const std::string &partial_safety_factors_name="")
Insert the action being passed as parameter.
Definition: ActionWeightingMap.cc:99
boost::python::list getKeys(void) const
Return the names of the action weightings.
Definition: ActionWeightingMap.cc:201
ActionWeightingMap(void)
Default constructor.
Definition: ActionWeightingMap.cc:65
Base class for action design values and action groups.
Definition: ActionWrapper.h:42
ActionWrapper & insertGroupPy(const std::string &, const std::string &, const boost::python::list &, const std::string &)
Insert the group of actions being passed as parameter and sets its combination and partial safety fac...
Definition: ActionWeightingMap.cc:145