Bitstream Interpretation Library (BIL)  0.1
V5CfgExtractor.cpp
Go to the documentation of this file.
1 
8 
9 using namespace bil;
10 
11 
13  const V5CfgTileMap& cfgTileMap):
14  m_configuration(&configuration),
15  m_cfgTileMap(&cfgTileMap)
16 {
17 
18 }
19 
20 
21 size_t V5CfgExtractor::getDataWordCount(unsigned row, unsigned column) const
22 {
23  const V5CfgTileMapEntry& entry = m_cfgTileMap->entries(row, column);
24  return getCfgDataWordCount(entry);
25 }
26 
27 
28 size_t V5CfgExtractor::getDataWords(unsigned row, unsigned column,
29  boost::uint32_t* data, size_t dataWordCount) const
30 {
31  const V5CfgTileMapEntry& entry = m_cfgTileMap->entries(row, column);
32  return getCfgData(data, dataWordCount, *m_configuration, entry);
33 }