40 typedef std::vector< DeckRecord >::const_iterator const_iterator;
51 const std::string& name()
const;
59 const DeckRecord& getRecord(
size_t index)
const;
62 const DeckRecord& operator[](std::size_t index)
const;
64 void setDataKeyword(
bool isDataKeyword =
true);
65 void setDoubleRecordKeyword(
bool isDoubleRecordKeyword =
true);
66 bool isDataKeyword()
const;
67 bool isDoubleRecordKeyword()
const;
69 const std::vector<int>& getIntData()
const;
70 const std::vector<double>& getRawDoubleData()
const;
71 const std::vector<double>& getSIDoubleData()
const;
72 const std::vector<std::string>& getStringData()
const;
73 const std::vector<value::status>& getValueStatus()
const;
74 size_t getDataSize()
const;
79 template <
class Keyword>
81 if (Keyword::keywordName == this->m_keywordName)
87 const_iterator begin()
const;
88 const_iterator end()
const;
89 bool equal_data(
const DeckKeyword& other,
bool cmp_default =
false,
bool cmp_numeric =
true)
const;
90 bool equal(
const DeckKeyword& other,
bool cmp_default =
false,
bool cmp_numeric =
true)
const;
94 friend std::ostream& operator<<(std::ostream& os,
const DeckKeyword& keyword);
96 template<
class Serializer>
99 serializer(m_keywordName);
100 serializer(m_location);
101 serializer(m_recordList);
102 serializer(m_isDataKeyword);
103 serializer(m_slashTerminated);
104 serializer(m_isDoubleRecordKeyword);
108 std::string m_keywordName;
111 std::vector< DeckRecord > m_recordList;
112 bool m_isDataKeyword;
113 bool m_slashTerminated;
114 bool m_isDoubleRecordKeyword =
false;
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30