Formatting, comments

#930
This commit is contained in:
Klaus Basan
2017-04-06 02:56:39 +02:00
committed by Mathew Sutcliffe
parent cdb7b6631a
commit da59ff42a4
2 changed files with 5 additions and 6 deletions

View File

@@ -34,7 +34,6 @@
class QNetworkReply; class QNetworkReply;
namespace BlackMisc { class CLogCategoryList; } namespace BlackMisc { class CLogCategoryList; }
namespace BlackCore namespace BlackCore
{ {
namespace Db namespace Db
@@ -109,9 +108,9 @@ namespace BlackCore
struct JsonDatastoreResponse : public HeaderResponse struct JsonDatastoreResponse : public HeaderResponse
{ {
private: private:
QJsonArray m_jsonArray; //!< JSON array data QJsonArray m_jsonArray; //!< JSON array data
int m_arraySize = -1; //!< size of array, if applicable (copied to member for debugging purposes) int m_arraySize = -1; //!< size of array, if applicable (copied to member for debugging purposes)
bool m_restricted = false; //!< restricted reponse, only changed data bool m_restricted = false; //!< restricted reponse, only changed data
public: public:
//! Any data? //! Any data?
@@ -274,7 +273,7 @@ namespace BlackCore
//! \remark normally constant after startup phase //! \remark normally constant after startup phase
static BlackMisc::Network::CUrl getWorkingDbDataFileLocationUrl(); static BlackMisc::Network::CUrl getWorkingDbDataFileLocationUrl();
//! File appendix for given mode, such as ".php" or ".json" //! File name for given mode, either php service or shared file name
static QString fileNameForMode(BlackMisc::Network::CEntityFlags::Entity entity, BlackMisc::Db::CDbFlags::DataRetrievalModeFlag mode); static QString fileNameForMode(BlackMisc::Network::CEntityFlags::Entity entity, BlackMisc::Db::CDbFlags::DataRetrievalModeFlag mode);
//! \name Cache access //! \name Cache access

View File

@@ -115,7 +115,7 @@ namespace BlackCore
//! \threadsafe //! \threadsafe
bool areAllDataRead() const; bool areAllDataRead() const;
//! Read to JSON file //! Read from local JSON file
BlackMisc::CStatusMessageList readFromJsonFiles(const QString &dir, BlackMisc::Network::CEntityFlags::Entity whatToRead = BlackMisc::Network::CEntityFlags::DistributorLiveryModel); BlackMisc::CStatusMessageList readFromJsonFiles(const QString &dir, BlackMisc::Network::CEntityFlags::Entity whatToRead = BlackMisc::Network::CEntityFlags::DistributorLiveryModel);
//! Read from static DB data file //! Read from static DB data file