xc
Public Member Functions | Protected Member Functions | Friends | List of all members
XC::LoadCombinationGroup Class Reference

Load combination container. More...

#include <LoadCombinationGroup.h>

Inheritance diagram for XC::LoadCombinationGroup:
XC::LoadHandlerMember XC::MovableObject XC::DistributedBase

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::LoadCombinationnewLoadCombination (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 LoadCombinationbuscaLoadCombination (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 LoadCombinationgetPtrCombPrevia (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.
 
- Public Member Functions inherited from XC::LoadHandlerMember
 LoadHandlerMember (LoadHandler *owr)
 Default constructor.
 
const LoadHandlergetLoadHandler (void) const
 Returns the owner.
 
LoadHandlergetLoadHandler (void)
 Returns the owner.
 
const DomaingetDomain (void) const
 Returns the domain.
 
DomaingetDomain (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.
 
- Public Member Functions inherited from XC::MovableObject
 MovableObject (int classTag, int dbTag)
 Constructor. More...
 
 MovableObject (int classTag)
 Constructor. More...
 
 MovableObject (const MovableObject &)
 Copy constructor. Doesn't copy the dbTag.
 
MovableObjectoperator= (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 &param)
 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.
 
- Public Member Functions inherited from XC::DistributedBase
 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

LoadCombinationfind_combination (const std::string &)
 Returns a pointer to the load combination identified by the name being passed as parameter. More...
 
DbTagDatagetDbTagData (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
 

Detailed Description

Load combination container.

Member Function Documentation

§ buscaCombPrevia()

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).

§ buscaLoadCombination()

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.

§ find_combination()

XC::LoadCombination * XC::LoadCombinationGroup::find_combination ( const std::string &  comb_code)
protected

Returns a pointer to the load combination identified by the name being passed as parameter.

§ getDbTagData()

XC::DbTagData & XC::LoadCombinationGroup::getDbTagData ( void  ) const
protectedvirtual

Returns a vector to store the dbTags of the class members.

Reimplemented from XC::DistributedBase.


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