9 #ifndef _fei_Pattern_hpp_
10 #define _fei_Pattern_hpp_
12 #include "fei_macros.hpp"
17 class RecordCollection;
32 enum PatternType { NO_FIELD, SIMPLE, SINGLE_IDTYPE, GENERAL };
41 int fieldID,
int fieldSize);
47 const int* numFieldsPerID,
48 const int* fieldIDs,
const int* fieldSizes);
54 const int* numFieldsPerID,
55 const int* fieldIDs,
const int* fieldSizes);
64 int getNumIDs()
const {
return( numIDs_ ); }
67 const int*
getIDTypes()
const {
return( idTypes_ ); }
76 const int*
getFieldIDs()
const {
return( fieldIDs_ ); }
81 return( numIndicesPerID_ );
107 std::vector<int> data_;
108 std::vector<snl_fei::RecordCollection*> recordCollections_;
111 const int* numFieldsPerID_;
112 const int* fieldIDs_;
113 const int* numIndicesPerID_;
118 #endif // _fei_Pattern_hpp_
bool operator==(const Pattern &rhs) const
snl_fei::RecordCollection *const * getRecordCollections() const
const int * getIDTypes() const
int getNumIndices() const
const int * getNumFieldsPerID() const
const int * getFieldIDs() const
int getTotalNumFields() const
PatternType getPatternType() const
const int * getNumIndicesPerID() const
Pattern(int numIDs, int idType, snl_fei::RecordCollection *records)
bool operator!=(const Pattern &rhs) const