xc
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
XC::DqGroundMotions Class Reference

Seismic definitions container. More...

#include <DqGroundMotions.h>

Inheritance diagram for XC::DqGroundMotions:
XC::MovableObject XC::DistributedBase

Public Member Functions

 DqGroundMotions (const size_t &num=0)
 Constructor.
 
 DqGroundMotions (const DqGroundMotions &)
 Copy constructor.
 
DqGroundMotionsoperator= (const DqGroundMotions &)
 Assignment operator.
 
 ~DqGroundMotions (void)
 Destructor:
 
bool empty (void) const
 
size_t getNumGroundMotions (void) const
 
iterator begin (void)
 
const_iterator begin (void) const
 
iterator end (void)
 
const_iterator end (void) const
 
reference operator[] (const size_t &n)
 
const_reference operator[] (const size_t &n) const
 
void addMotion (GroundMotion &f)
 
void clear (void)
 
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.
 
void Print (std::ostream &s, const int &flag)
 
- 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.
 
virtual DbTagDatagetDbTagData (void) const
 Returns a vector to store class dbTags.
 
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 Types

typedef std::deque< GroundMotion * > dq_ptr_GroundMotions
 
typedef dq_ptr_GroundMotions::const_reference const_reference
 
typedef dq_ptr_GroundMotions::reference reference
 
typedef dq_ptr_GroundMotions::iterator iterator
 
typedef dq_ptr_GroundMotions::const_iterator const_iterator
 

Protected Member Functions

int sendData (CommParameters &)
 Sends object through the channel being passed as parameter.
 
int recvData (const CommParameters &)
 Receives object through the channel being passed as parameter.
 

Protected Attributes

dq_ptr_GroundMotions gMotions
 Pointers to GroundMotion container.
 

Detailed Description

Seismic definitions container.


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