| | |
| | | m_nReportId = 0; |
| | | } |
| | | |
| | | CReport::CReport(unsigned int reportId, std::vector<unsigned int>& vids) |
| | | CReport::CReport(unsigned int reportId, const std::vector<unsigned int>& vids) |
| | | { |
| | | m_nReportId = reportId; |
| | | for (auto vid : vids) { |
| | | m_vids.push_back(vid); |
| | | } |
| | | m_vids = vids; |
| | | } |
| | | |
| | | CReport::~CReport() |
| | |
| | | } |
| | | } |
| | | |
| | | /* |
| | | for (int i = 0; i < m_variabels.size(); i++) { |
| | | strResult += std::to_string(m_variabels[i]->getVarialbleId()); |
| | | strResult += "("; |
| | | strResult += m_variabels[i]->getName(); |
| | | strResult += ")"; |
| | | if (i != m_variabels.size() - 1) { |
| | | strResult += ","; |
| | | } |
| | | } |
| | | */ |
| | | return strResult; |
| | | } |
| | | |