Updated riGetSelectedCases to use a string as type name

Improved how to get currently selected cases
p4#: 21625
This commit is contained in:
Magne Sjaastad
2013-05-15 12:03:36 +02:00
parent b5f5f49572
commit 97c3a330f6
7 changed files with 88 additions and 64 deletions

View File

@@ -49,6 +49,7 @@ private slots:
private:
void readCommandFromOctave();
void readPropertyDataFromOctave();
@@ -66,7 +67,13 @@ private:
std::vector<qint32>& hostCellJ,
std::vector<qint32>& hostCellK);
void caseInfo(RimCase* rimCase, qint64& caseGroupId, QString& caseType);
void getCaseInfoFromCase(RimCase* rimCase, qint64& caseId, QString& caseName, QString& caseType, qint64& caseGroupId);
void getCaseInfoFromCases( std::vector<RimCase*>& cases,
std::vector<qint64>& caseIds,
std::vector<QString>& caseNames,
std::vector<QString>& caseTypes,
std::vector<qint64>& caseGroupIds);
private: