52 #ifndef MySqlDatastore_h 53 #define MySqlDatastore_h 66 #include "DBDatastore.h" 89 int createOpenSeesDatabase(
const std::string &projectName);
90 int execute(
const std::string &query);
93 MySqlDatastore(
const std::string &,
const std::string &,
const std::string &,
const std::string &,
unsigned int port,
const std::string &,
unsigned int clientFlag,
Preprocessor &,
FEM_ObjectBroker &,
int dbRun = 0);
96 std::string getTypeId(
void)
const 112 int createTable(
const std::string &tableName,
const std::vector<std::string> &columns);
113 int insertData(
const std::string &tableName,
const std::vector<std::string> &columns,
int commitTag,
const Vector &data);
114 int getData(
const std::string &tableName,
const std::vector<std::string> &columns,
int commitTag,
Vector &data);
116 int setDbRun(
int run);
Base class for classes that store model information on a database.
Definition: DBDatastore.h:40
Float vector abstraction.
Definition: Vector.h:94
int sendMsg(int dbTag, int commitTag, const Message &, ChannelAddress *theAddress=nullptr)
A method invoked to send the data in the Message object theMsg to another Channel object...
Definition: MySqlDatastore.cpp:148
Finite element model generation tools.
Definition: Preprocessor.h:59
int recvID(int dbTag, int commitTag, ID &, ChannelAddress *theAddress=nullptr)
Invoked to receive the data in the ID object theID to another Channel object.
Definition: MySqlDatastore.cpp:478
FEM_ObjectBroker is is an object broker class for the finite element method.
Definition: FEM_ObjectBroker.h:151
Vector of integers.
Definition: ID.h:95
int recvMsg(int dbTag, int commitTag, Message &, ChannelAddress *theAddress=nullptr)
Invoked to send the data in the Message object theMsg to another Channel object.
Definition: MySqlDatastore.cpp:155
int recvVector(int dbTag, int commitTag, Vector &, ChannelAddress *theAddress=nullptr)
Invoked to receive the data in the Vector object theVector to another Channel object.
Definition: MySqlDatastore.cpp:352
int sendID(int dbTag, int commitTag, const ID &, ChannelAddress *theAddress=nullptr)
Invoked to receive the data in the ID object theID to another Channel object.
Definition: MySqlDatastore.cpp:418
int recvMatrix(int dbTag, int commitTag, Matrix &, ChannelAddress *theAddress=nullptr)
Invoked to receive the data in the Matrix object theMatrix to another Channel object.
Definition: MySqlDatastore.cpp:223
Store model data in a MySQL database.
Definition: MySqlDatastore.h:78
int sendVector(int dbTag, int commitTag, const Vector &, ChannelAddress *theAddress=nullptr)
Invoked to receive the data in the Vector object theVector to another Channel object.
Definition: MySqlDatastore.cpp:292
Message between processes.
Definition: Message.h:77
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
Base class for classes that encapsulate channel addresses.
Definition: ChannelAddress.h:78
Matrix of floats.
Definition: Matrix.h:111
int sendMatrix(int dbTag, int commitTag, const Matrix &, ChannelAddress *theAddress=nullptr)
Invoked to receive the data in the Matrix object theMatrix to another Channel object.
Definition: MySqlDatastore.cpp:164