34 typedef std::vector< DeckItem >::const_iterator const_iterator;
37 explicit DeckRecord( std::vector< DeckItem >&& items,
const bool check_for_duplicate_names =
true );
45 DeckItem& getItem(
const std::string& name );
48 const DeckItem& getItem(
size_t index )
const;
49 const DeckItem& getItem(
const std::string& name )
const;
52 bool hasItem(
const std::string& name)
const;
56 return getItem( Item::itemName );
61 return getItem( Item::itemName );
64 const_iterator begin()
const;
65 const_iterator end()
const;
67 void write(
DeckOutput& writer, std::size_t item_offset = 0)
const;
68 void write_data(
DeckOutput& writer, std::size_t item_offset = 0)
const;
69 friend std::ostream& operator<<(std::ostream& os,
const DeckRecord& record);
71 bool equal(
const DeckRecord& other,
bool cmp_default,
bool cmp_numeric)
const;
72 bool operator==(
const DeckRecord& other)
const;
73 bool operator!=(
const DeckRecord& other)
const;
75 template<
class Serializer>
82 std::vector< DeckItem > m_items;
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30