xc
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
cmb_acc::SingleActionWrapper Class Reference

Wrapper for a single action. More...

#include <SingleActionWrapper.h>

Inheritance diagram for cmb_acc::SingleActionWrapper:
Inheritance graph
[legend]
Collaboration diagram for cmb_acc::SingleActionWrapper:
Collaboration graph
[legend]

Public Member Functions

std::vector< const Action * > getWrappedActions (void) const
 Return pointers to the actions wrapped in this object.
 
const ActiongetAction (const size_t &) const
 Return the action corresponding to the given index.
 
virtual Action getRepresentativeValue (const LeadingActionInfo &) const
 Get the representative value of the action in the contest being pased as parameter. More...
 
const ActionRelationshipsgetRelaciones (void) const
 Return the relatioships with the other actions.
 
bool notDeterminant (void) const
 Return true if the action cannot be determinant.
 
- Public Member Functions inherited from cmb_acc::ActionWrapper
const PartialSafetyFactorsgetPartialSafetyFactors (void) const
 Return the partial safety factors.
 
void setPartialSafetyFactors (const std::string &)
 Set the partial safety factors.
 
const ActionsFamilygetFamily (void) const
 Return the family that owns this object.
 
int getIndex (void) const
 Return the index of the action in its container.
 
virtual bool Incompatible (const ActionWrapper &f) const
 Return true if this actions are not compatible with those in the argument wrapper. More...
 
bool Compatible (const ActionWrapper &aw) const
 Return true if this actions is compatible with the argument one. More...
 
std::string incompatibleStringList (ActionWrapperList *) const
 
Action::map_descomp getComponents (void) const
 When the wrapped actions decomposition.
 
boost::python::dict getComponentsPy (void) const
 Return the group components in a Python dictionary.
 
boost::python::dict getPyDict (void) const
 Return a Python dictionary with the object members values.
 
void setPyDict (const boost::python::dict &)
 Set the values of the object members from a Python dictionary.
 
Variations getVariations (const bool &, const bool &) const
 Compute the variations that can be formed with this action. More...
 
Action getCombinationValue (const LeadingActionInfo &, const double &) const
 Return the combination value for the action. More...
 
void Print (std::ostream &os) const
 Print stuff.
 
- Public Member Functions inherited from EntityWithOwner
 EntityWithOwner (EntityWithOwner *owr=nullptr)
 Default constructor.
 
 EntityWithOwner (const EntityWithOwner &)
 Copy constructor.
 
EntityWithOwneroperator= (const EntityWithOwner &)
 Assignment operator.
 
virtual bool operator== (const EntityWithOwner &) const
 Comparison operator.
 
virtual ~EntityWithOwner (void)
 Virtual destructor.
 
virtual std::string getClassName (void) const
 Returns demangled class name.
 
void set_owner (EntityWithOwner *owr)
 Assigns the owner of the object.
 
EntityWithOwnerOwner (void)
 
const EntityWithOwnerOwner (void) const
 

Protected Member Functions

 SingleActionWrapper (const std::string &n="", const std::string &descrip="", ActionWrapperList *list=nullptr)
 Default constructor.
 
 SingleActionWrapper (const Action &a, ActionWrapperList *list=nullptr, const std::string &nmb_comb_factors="", const std::string &nmb_partial_safety_factors="")
 Default constructor.
 
virtual std::string getName (void) const
 Return the action name.
 
- Protected Member Functions inherited from cmb_acc::ActionWrapper
 ActionWrapper (ActionWrapperList *list=nullptr, const std::string &nmb_partial_safety_factors="")
 Default constructor.
 
- Protected Member Functions inherited from EntityWithOwner
virtual bool isEqual (const EntityWithOwner &) const
 Return true if both objects are equal.
 

Protected Attributes

ActionRepresentativeValues action
 
- Protected Attributes inherited from cmb_acc::ActionWrapper
ActionWrapperListcontainer
 Container for the actions of the family.
 
const PartialSafetyFactorspartial_safety_factors
 Partial safety factors for the actions in this wrapper.
 

Friends

class ActionWrapperList
 

Additional Inherited Members

- Static Public Member Functions inherited from EntityWithOwner
static int getVerbosityLevel (void)
 Get the value of the verbosity level.
 
static void setVerbosityLevel (const int &)
 Set the value of the verbosity level.
 
- Static Protected Attributes inherited from EntityWithOwner
static int verbosity = 1
 Object that owns THIS ONE. More...
 

Detailed Description

Wrapper for a single action.

Member Function Documentation

◆ getRepresentativeValue()

cmb_acc::Action cmb_acc::SingleActionWrapper::getRepresentativeValue ( const LeadingActionInfo linfo) const
virtual

Get the representative value of the action in the contest being pased as parameter.

Parameters
LeadingActionInfoinformation about the combination leading action.

Implements cmb_acc::ActionWrapper.


The documentation for this class was generated from the following files: