1 #ifndef _AccessPattern_h_
2 #define _AccessPattern_h_
16 AccessPattern() : ID_(-1), numRowIDs_(0), numFieldsPerRow_(NULL),
17 rowFieldIDs_(NULL), numColIDsPerRow_(0), numFieldsPerCol_(NULL),
18 colFieldIDs_(NULL), interleaveStrategy_(0) {}
23 for(i=0; i<numRowIDs_; i++)
delete [] rowFieldIDs_[i];
24 for(i=0; i<numColIDsPerRow_; i++)
delete [] colFieldIDs_[i];
26 delete [] rowFieldIDs_;
27 delete [] colFieldIDs_;
28 delete [] numFieldsPerRow_;
29 delete [] numFieldsPerCol_;
36 int* numFieldsPerRow_;
39 int* numFieldsPerCol_;
41 int interleaveStrategy_;
44 #endif // _AccessPattern_h_