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

Public Member Functions

 SQLiteDatastore (const std::string &, Preprocessor &, FEM_ObjectBroker &, int dbRun=0)
 
int sendMsg (int, int, const Message &, ChannelAddress *a=nullptr)
 
int recvMsg (int, int, Message &, ChannelAddress *a=nullptr)
 
int sendMatrix (int, int, const Matrix &, ChannelAddress *a=nullptr)
 
int recvMatrix (int, int, Matrix &, ChannelAddress *a=nullptr)
 
int sendVector (int, int, const Vector &, ChannelAddress *a=nullptr)
 
int recvVector (int, int, Vector &, ChannelAddress *a=nullptr)
 
int sendID (int, int, const ID &, ChannelAddress *a=nullptr)
 
int recvID (int, int, ID &, ChannelAddress *a=nullptr)
 
int createTable (const std::string &, const std::vector< std::string > &)
 
int insertData (const std::string &, const std::vector< std::string > &, int, const Vector &)
 
int getData (const std::string &, const std::vector< std::string > &, int, Vector &)
 
- 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ó
 
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.
 

Protected Member Functions

int createOpenSeesDatabase (const std::string &projectName)
 
int execute (const std::string &query)
 
- 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.
 

Additional Inherited Members

- Protected Attributes inherited from XC::DBDatastore
int dbTAG
 

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