24 #ifndef ACTIONWRAPPER_H 25 #define ACTIONWRAPPER_H 29 #include "utility/kernel/EntityWithOwner.h" 33 class PartialSafetyFactors;
34 class ActionWrapperList;
36 class LeadingActionInfo;
56 virtual std::string getName(
void)
const= 0;
57 virtual bool notDeterminant(
void)
const= 0;
59 virtual std::vector<const Action *> getWrappedActions(
void)
const= 0;
60 virtual const Action *getAction(
const size_t &)
const= 0;
71 boost::python::dict
getPyDict(
void)
const;
72 void setPyDict(
const boost::python::dict &);
77 void Print(std::ostream &os)
const;
84 template <
class InputIterator>
87 std::deque<const ActionWrapper *> retval;
88 for(InputIterator i=begin;i!=end;i++)
96 std::ostream &operator<<(std::ostream &,
const ActionWrapper &);
Action::map_descomp getComponents(void) const
When the wrapped actions decomposition.
Definition: ActionWrapper.cc:96
virtual bool Incompatible(const ActionWrapper &f) const
Return true if this actions are not compatible with those in the argument wrapper.
Definition: ActionWrapper.cc:201
void setPartialSafetyFactors(const std::string &)
Set the partial safety factors.
Definition: ActionWrapper.cc:53
List of representative values of actions (ActionWrapper objects).
Definition: ActionWrapperList.h:42
Routines to generate combinations of actions.
void setPyDict(const boost::python::dict &)
Set the values of the object members from a Python dictionary.
Definition: ActionWrapper.cc:141
boost::python::dict getComponentsPy(void) const
Return the group components in a Python dictionary.
Definition: ActionWrapper.cc:110
const PartialSafetyFactors * getPartialSafetyFactors(void) const
Return the partial safety factors.
Definition: ActionWrapper.cc:42
Action getCombinationValue(const LeadingActionInfo &, const double &) const
Return the combination value for the action.
Definition: ActionWrapper.cc:173
Entity with a pointer to its owner.
Definition: EntityWithOwner.h:34
Conjunto de las posibles variations de dos elementos (partial_safety_factors_fav y partial_safety_fac...
Definition: Variations.h:35
ActionWrapperList * container
Container for the actions of the family.
Definition: ActionWrapper.h:46
bool incompatibles(const Action &acc_i, const Action &acc_j)
Return true if actions are incompatible.
Definition: Action.cc:285
int getIndex(void) const
Return the index of the action in its container.
Definition: ActionWrapper.cc:79
ActionWrapper(ActionWrapperList *list=nullptr, const std::string &nmb_partial_safety_factors="")
Default constructor.
Definition: ActionWrapper.cc:33
Action or linear combination of actions.
Definition: Action.h:44
Variations getVariations(const bool &, const bool &) const
Compute the variations that can be formed with this action.
Definition: ActionWrapper.cc:164
Information about the leading action.
Definition: LeadingActionInfo.h:35
const PartialSafetyFactors * partial_safety_factors
Partial safety factors for the actions in this wrapper.
Definition: ActionWrapper.h:47
std::deque< const ActionWrapper * > listaIncompatibles(const ActionWrapper *acc, InputIterator begin, InputIterator end)
Return the list of actions wrappers incompatibles with the one being passed as parameter.
Definition: ActionWrapper.h:85
boost::python::dict getPyDict(void) const
Return a Python dictionary with the object members values.
Definition: ActionWrapper.cc:124
Partial safety factors de una familia de acciones en SLS y ULS.
Definition: PartialSafetyFactors.h:98
const ActionsFamily * getFamily(void) const
Return the family that owns this object.
Definition: ActionWrapper.cc:87
Base class for action design values and action groups.
Definition: ActionWrapper.h:42
Relationship of an action with the other ones.
Definition: ActionRelationships.h:37
bool Compatible(const ActionWrapper &aw) const
Return true if this actions is compatible with the argument one.
Definition: ActionWrapper.h:65
Family of actions (permanent, variable, accidental,...)
Definition: ActionsFamily.h:44
void Print(std::ostream &os) const
Print stuff.
Definition: ActionWrapper.cc:179