XC Open source finite element analysis program
Public Member Functions | List of all members
XC::BerkeleyDbDatastore Class Reference
Inheritance diagram for XC::BerkeleyDbDatastore:
XC::DBDatastore XC::FE_Datastore XC::Channel

Public Member Functions

 BerkeleyDbDatastore (const std::string &projectName, Preprocessor &preprocessor, FEM_ObjectBroker &theBroker, const std::string &type="")
 Constructor.
 
int getDbTag (void) const
 
int sendMsg (int dbTag, int commitTag, const Message &, ChannelAddress *theAddress=nullptr)
 
int recvMsg (int dbTag, int commitTag, Message &, ChannelAddress *theAddress=nullptr)
 
int sendMatrix (int dbTag, int commitTag, const Matrix &theMatrix, ChannelAddress *theAddress=nullptr)
 
int recvMatrix (int dbTag, int commitTag, Matrix &theMatrix, ChannelAddress *theAddress=nullptr)
 
int sendVector (int dbTag, int commitTag, const Vector &, ChannelAddress *theAddress=nullptr)
 
int recvVector (int dbTag, int commitTag, Vector &, ChannelAddress *theAddress=nullptr)
 
int sendID (int dbTag, int commitTag, const ID &, ChannelAddress *theAddress=nullptr)
 
int recvID (int dbTag, int commitTag, ID &theID, ChannelAddress *theAddress=nullptr)
 
- Public Member Functions inherited from XC::DBDatastore
 DBDatastore (Preprocessor &, FEM_ObjectBroker &theBroker)
 
- Public Member Functions inherited from XC::FE_Datastore
 FE_Datastore (Preprocessor &, FEM_ObjectBroker &theBroker)
 Constructor.
 
char * addToProgram (void)
 
int setUpConnection (void)
 
int setNextAddress (const ChannelAddress &otherChannelAddress)
 
ChannelAddressgetLastSendersAddress (void)
 
int sendObj (int commitTag, MovableObject &theObject, ChannelAddress *theAddress=0)
 
int recvObj (int commitTag, MovableObject &theObject, FEM_ObjectBroker &theBroker, ChannelAddress *theAddress=0)
 
int getDbTag (void) const
 
virtual bool isDatastore (void) const
 
virtual int commitState (int commitTag)
 Salva el estado en la database.
 
virtual int restoreState (int commitTag)
 
bool isSaved (int commitTag) const
 Returns true if the estado se salvó
 
virtual int createTable (const std::string &tableName, const std::vector< std::string > &)
 
virtual int insertData (const std::string &tableName, const std::vector< std::string > &, int commitTag, const Vector &data)
 
virtual int getData (const std::string &tableName, const std::vector< std::string > &, int commitTag, Vector &data)
 
int save (const int &commitTag)
 
int restore (const int &commitTag)
 
- Public Member Functions inherited from XC::Channel
 Channel (void)
 Constructor.
 
bool checkDbTag (const int &dbTag)
 Comprueba si ya se ha usado este dbTag.
 
const IDgetUsedTags (void) const
 Return the lista de dbTags usados.
 
void clearDbTags (void)
 
int getTag (void) const
 
template<class inputIterator >
int sendObjs (int commitTag, const inputIterator &first, const inputIterator &last, ChannelAddress *theAddress=nullptr)
 Send the objects on interval [first,last).
 
template<class inputIterator >
int recvObjs (int commitTag, const inputIterator &first, const inputIterator &last, FEM_ObjectBroker &, ChannelAddress *theAddress=nullptr)
 Recibe una serie de objetos.
 

Additional Inherited Members

- Protected Member Functions inherited from XC::FE_Datastore
FEM_ObjectBrokergetObjectBroker (void)
 
const Preprocessorget_preprocessor (void) const
 
- Protected Member Functions inherited from XC::Channel
int sendMovable (int commitTag, MovableObject &)
 Envía el objeto a través de éste canal.
 
int receiveMovable (int commitTag, MovableObject &, FEM_ObjectBroker &)
 Recibe el objeto a través de éste canal.
 
- Protected Attributes inherited from XC::DBDatastore
int dbTAG
 

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