4 #include "fileoutputstream.h" 12 void process(
const string &_namespace,
const string &_inputDir,
const string &outputdirectory);
13 void generateInsertAndDeleteUnchanged(
ApiFileOutputStream &cpp, ostringstream &nameStream,
string &apiName,
14 ostringstream &keyStream, JSON::Object::Ptr table,
15 JSON::Array::Ptr fields);
17 ostringstream &keyStream, JSON::Object::Ptr table, JSON::Array::Ptr fields);
19 ostringstream &keyStream, JSON::Object::Ptr table, JSON::Array::Ptr fields,
string &name);
21 ostringstream &keyStream, JSON::Object::Ptr table, JSON::Array::Ptr fields,
string &name);
22 void generateInsertOnce(
ApiFileOutputStream &cpp, ostringstream &nameStream,
string &apiName,
23 ostringstream &keyStream, JSON::Object::Ptr table, JSON::Array::Ptr fields);
24 void generateInsertUnique(
ApiFileOutputStream &cpp, ostringstream &nameStream,
string &apiName,
25 ostringstream &keyStream, JSON::Object::Ptr table, JSON::Array::Ptr fields);
26 void generateInsertMultiple(
ApiFileOutputStream &cpp, ostringstream &nameStream,
string &apiName,
27 ostringstream &keyStream, JSON::Object::Ptr table, JSON::Array::Ptr fields);
28 void generateDeleteMultiple(
ApiFileOutputStream &cpp, ostringstream &nameStream,
string &apiName,
29 ostringstream &keyStream, JSON::Object::Ptr table, JSON::Array::Ptr fields);
30 void generateInsertUniqueMultiple(
ApiFileOutputStream &cpp, ostringstream &nameStream,
string &apiName,
31 ostringstream &keyStream, JSON::Object::Ptr table, JSON::Array::Ptr fields);
32 void generateGetLatest(
ApiFileOutputStream &cpp, ostringstream &nameStream,
string &apiName,
33 ostringstream &keyStream, JSON::Object::Ptr table, JSON::Array::Ptr fields);
35 ostringstream &keyStream, JSON::Object::Ptr table, JSON::Array::Ptr fields);
Definition: fileoutputstream.h:61
Definition: databaseschema.h:9