xc
|
Load combination container. More...
#include <LoadCombinationGroup.h>
Public Member Functions | |
LoadCombinationGroup (LoadHandler *owr) | |
Default constructor. | |
~LoadCombinationGroup (void) | |
Destructor. | |
boost::python::list | getKeys (void) const |
Returns container's keys. | |
void | remove (const std::string &) |
Removes the combination from the domain. | |
void | clear (void) |
Deletes all the combinations. | |
XC::LoadCombination * | newLoadCombination (const std::string &, const std::string &) |
void | addToDomain (const std::string &) |
Adds the combination to the domain. | |
void | removeFromDomain (const std::string &) |
Removes the combination from the domain. | |
void | removeAllFromDomain (void) |
Remomves all the load combinations from the domain. | |
std::deque< std::string > | getNamesList (void) const |
const std::string & | getNombreLoadCombination (const LoadCombination *) const |
Returns the name of the load combination pointed by the parameter. | |
const LoadCombination * | buscaLoadCombination (const std::string &) const |
Returns a pointer to the load combination identified by the name being passed as parameter. More... | |
const_iterator | buscaCombPrevia (const LoadCombination &) const |
Search for the nearest combination to the one being passed as parameter from those that have their factors equal or lesser than those of the parameter (c). More... | |
const LoadCombination * | getPtrCombPrevia (const LoadCombination &) const |
const_iterator | buscaCombPrevia (const std::string &) const |
const std::string | getNombreCombPrevia (const std::string &) const |
int | getTagCombPrevia (const std::string &) const |
int | sendSelf (CommParameters &) |
Sends object through the channel being passed as parameter. | |
int | recvSelf (const CommParameters &) |
Receives object through the channel being passed as parameter. | |
![]() | |
LoadHandlerMember (LoadHandler *owr) | |
Default constructor. | |
const LoadHandler * | getLoadHandler (void) const |
Returns the owner. | |
LoadHandler * | getLoadHandler (void) |
Returns the owner. | |
const Domain * | getDomain (void) const |
Returns the domain. | |
Domain * | getDomain (void) |
Returns the domain. | |
int & | getTagLP (void) |
Returns the tag para el siguiente load pattern. | |
const int & | getTagLP (void) const |
Returns the tag para el siguiente load pattern. | |
![]() | |
MovableObject (int classTag, int dbTag) | |
Constructor. More... | |
MovableObject (int classTag) | |
Constructor. More... | |
MovableObject (const MovableObject &) | |
Copy constructor. Doesn't copy the dbTag. | |
MovableObject & | operator= (const MovableObject &) |
Assignment operator. Doesn't copy the dbTag. | |
int | getClassTag (void) const |
Return the class identifier. | |
int | getDbTag (void) const |
Return the object identifier in the database. | |
int | getDbTag (CommParameters &) |
Return the object identifier in the database. | |
void | setDbTag (int dbTag) |
Sets the object identifier in the database. | |
void | setDbTag (CommParameters &) |
Sets the object identifier in the database if not already set. More... | |
virtual int | setParameter (const std::vector< std::string > &argv, Parameter ¶m) |
Sets the value param to the parameter argv . | |
virtual int | updateParameter (int parameterID, Information &info) |
Updates the parameter identified by parameterID with info . | |
virtual int | activateParameter (int parameterID) |
Activates the parameter identified by parameterID . | |
virtual int | setVariable (const std::string &variable, Information &) |
Set the value of the variable idenfified by var . | |
virtual int | getVariable (const std::string &variable, Information &) |
Return the value of the variable idenfified by var . | |
![]() | |
DistributedBase (void) | |
Constructor. | |
const int & | getDbTagDataPos (const int &i) const |
Returns the data at the i-th position. | |
void | setDbTagDataPos (const int &i, const int &v) |
Sets the data at the i-th position. | |
void | inicComm (const int &dataSize) const |
Initializes communication. | |
Protected Member Functions | |
LoadCombination * | find_combination (const std::string &) |
Returns a pointer to the load combination identified by the name being passed as parameter. More... | |
DbTagData & | getDbTagData (void) const |
Returns a vector to store the dbTags of the class members. More... | |
int | sendData (CommParameters &cp) |
Send members through the channel being passed as parameter. | |
int | recvData (const CommParameters &cp) |
Send members through the channel being passed as parameter. | |
Friends | |
class | LoadHandler |
Load combination container.
XC::LoadCombinationGroup::const_iterator XC::LoadCombinationGroup::buscaCombPrevia | ( | const LoadCombination & | c | ) | const |
Search for the nearest combination to the one being passed as parameter from those that have their factors equal or lesser than those of the parameter (c).
const XC::LoadCombination * XC::LoadCombinationGroup::buscaLoadCombination | ( | const std::string & | comb_code | ) | const |
Returns a pointer to the load combination identified by the name being passed as parameter.
|
protected |
Returns a pointer to the load combination identified by the name being passed as parameter.
|
protectedvirtual |
Returns a vector to store the dbTags of the class members.
Reimplemented from XC::DistributedBase.