|
| Action (const std::string &n="", const std::string &descrip="") |
| Default constructor. More...
|
|
void | setName (const std::string &nmb) |
| Sets the name to the action.
|
|
const std::string | getExpandedName (void) const |
| Return the expandend name by applying the distributive property of the multiplication so, if the combination name is '1.5*G1+1.35*(G2+F2)' it returns '1.5*G1+1.35*G2+1.35*F2'. More...
|
|
const std::string & | getDescription (void) const |
| Return the description of the action.
|
|
void | setDescription (const std::string &desc) |
| Set the description of the action.
|
|
const ActionRelationships & | getRelaciones (void) const |
|
double | getWeightingFactor (void) const |
|
void | setWeightingFactor (const double &f) |
|
bool | notDeterminant (void) const |
|
void | setNotDeterminant (const bool &b) |
|
map_descomp | getComponents (void) const |
| When the actions is a combination return its decomposition.
|
|
boost::python::dict | getComponentsPy (void) const |
| Return the action 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.
|
|
bool | Incompatible (const Action &) const |
| Return true if this actions is not compatible with the argument one, so they cannot be present both in the same combination. More...
|
|
bool | Compatible (const Action &f) const |
| Return true if this actions is compatible with the argument one. More...
|
|
bool | Simple (void) const |
| Return true if the action is not a combination of simpler ones.
|
|
bool | Nula (const double &tol=zero) const |
| Return verdadero si la acción es nula.
|
|
Action | GetMult (const double &d) const |
| Return la acción multiplicada por un escalar.
|
|
Action & | operator*= (const double &d) |
| Producto por un escalar.
|
|
Action & | operator+= (const Action &f) |
| Addition.
|
|
std::vector< double > | getCoefficients (const std::vector< std::string > &) const |
| When it's a combination, it returns the factors that multiply each of the actions in the argument. More...
|
|
boost::python::list | getCoefficientsPy (const boost::python::list &) const |
| When it's a combination, it returns the factors that multiply each of the actions in the argument. More...
|
|
virtual void | Print (std::ostream &os) const |
| Print stuff.
|
|
| NamedEntity (const std::string &Name="", CommandEntity *owr=nullptr) |
| Constructor.
|
|
const std::string & | getName (void) const |
| Return the object name.
|
|
void | setName (const std::string &s) |
| Set the object name.
|
|
std::string & | Name (void) |
| Return a reference to the object name.
|
|
virtual bool | operator== (const NamedEntity &other) const |
| Comparison operator.
|
|
bool | operator< (const NamedEntity &other) const |
| Less than operator.
|
|
NamedEntity & | operator+= (const NamedEntity &) |
| += operator.
|
|
NamedEntity & | operator-= (const NamedEntity &) |
| -= operator.
|
|
NamedEntity & | operator*= (const NamedEntity &) |
| *= operator.
|
|
Public Member Functions inherited from CommandEntity |
| CommandEntity (CommandEntity *owr=nullptr) |
| Default constructor.
|
|
CommandEntity * | Owner (void) |
| Return a pointer to the object owner.
|
|
const CommandEntity * | Owner (void) const |
| Return un puntero al objeto propietario de ESTE.
|
|
const StandardOutputWrapper & | getStandardOutputWrapper (void) const |
| Return the regular output stream wrapper.
|
|
StandardOutputWrapper & | getStandardOutputWrapper (void) |
| Return the regular output stream wrapper.
|
|
const std::string & | getLogFileName (void) const |
| Returns log file name.
|
|
void | setLogFileName (const std::string &) |
| Sets log file name.
|
|
const std::string & | getErrFileName (void) const |
| Returns err file name.
|
|
void | setErrFileName (const std::string &) |
| Sets error file name.
|
|
const std::string & | getOutputFileName (void) const |
| Returns regular output file name.
|
|
void | setOutputFileName (const std::string &) |
| Sets regular output file name.
|
|
boost::python::object | evalPy (boost::python::object dict, const std::string &) |
| Return the Python object that results from evaluating the argument.
|
|
boost::python::object | execPy (boost::python::object dict, const std::string &) |
| Return the Python objects that results from executing the code in the string argument.
|
|
boost::python::object | execFilePy (boost::python::object dict, const std::string &) |
| Return the Python object that results from executing the code in the file.
|
|
| EntityWithProperties (EntityWithProperties *owr=nullptr) |
| Default constructor.
|
|
void | clearPyProps (void) |
| Clear python properties map.
|
|
bool | hasPyProp (const std::string &) |
| Returns true if property exists.
|
|
boost::python::object | getPyProp (const std::string &str) |
| Return the Python object with the name being passed as parameter.
|
|
void | setPyProp (std::string str, boost::python::object val) |
| Sets/appends a value tho the Python object's dictionary.
|
|
void | copyPropsFrom (const EntityWithProperties &) |
| Copy the properties from the argument.
|
|
boost::python::list | getPropNames (void) const |
| Return the names of the object properties weightings.
|
|
const PythonDict & | getPropertiesDict (void) const |
| Return a std::map container with the properties of the object.
|
|
| EntityWithOwner (EntityWithOwner *owr=nullptr) |
| Default constructor.
|
|
| EntityWithOwner (const EntityWithOwner &) |
| Copy constructor.
|
|
EntityWithOwner & | operator= (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.
|
|
EntityWithOwner * | Owner (void) |
|
const EntityWithOwner * | Owner (void) const |
|
Action or linear combination of actions.