Copy constructor on LaneDescription

This commit is contained in:
caheckman 2019-10-17 13:06:08 -04:00
parent 2f3415de8c
commit 5ef7347ca3
2 changed files with 10 additions and 0 deletions

View file

@ -94,6 +94,7 @@ class LaneDescription {
vector<int4> laneSize; ///< Size of lanes in bytes
vector<int4> lanePosition; ///< Significance positions of lanes in bytes
public:
LaneDescription(const LaneDescription &op2); ///< Copy constructor
LaneDescription(int4 origSize,int4 sz); ///< Construct uniform lanes
LaneDescription(int4 origSize,int4 lo,int4 hi); ///< Construct two lanes of arbitrary size
int4 getNumLanes(void) const { return laneSize.size(); } ///< Get the total number of lanes