-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
414e40b
commit a29b49a
Showing
10 changed files
with
52 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
#ifndef CURTYPES_H | ||
#define CURTYPES_H | ||
|
||
#include <map> | ||
#include "CTString.h" | ||
#define CCUniqueRequests_MAX_DIMS 255 | ||
typedef std::map<int, std::string> map_type_dimvalindex; | ||
typedef std::map<int, std::string>::iterator it_type_dimvalindex; | ||
|
||
class CURUniqueRequests; | ||
|
||
struct CURAggregatedDimensionNoName { | ||
int start; | ||
std::vector<std::string> values; | ||
}; | ||
struct CURAggregatedDimensionAndName { | ||
CT::string name; | ||
int start; | ||
std::vector<std::string> values; | ||
}; | ||
|
||
struct CURDimInfo { | ||
map_type_dimvalindex dimValuesMap; // All values, many starts with 1 count, result of set() | ||
std::vector<CURAggregatedDimensionNoName> aggregatedValues; // Aggregated values (start/count series etc), result of addDimSet() | ||
}; | ||
|
||
typedef std::map<std::string, CURDimInfo> map_type_diminfo; | ||
typedef map_type_diminfo::iterator it_type_diminfo; | ||
|
||
struct CURDimensionKey { | ||
std::string name; | ||
int type; | ||
}; | ||
|
||
struct CURResult { | ||
CURUniqueRequests *parent; | ||
CURDimensionKey dimensionKeys[CCUniqueRequests_MAX_DIMS]; | ||
CT::string value; | ||
int numDims; | ||
}; | ||
|
||
struct CURFileInfo { | ||
std::vector<std::vector<CURAggregatedDimensionAndName>> requests; | ||
map_type_diminfo dimInfoMap; // AggregatedDimension name is key | ||
}; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters