| Remote Access Control | |||||
#include <hexfile.h>
Definition at line 96 of file hexfile.h.
Public Member Functions | |
| void | Add (const HEXRecord &record, size_t copies) |
| void | Add (const HEXRecord &record) |
| HEXFile () | |
| void | Print (std::ostream &os) const |
| ~HEXFile () | |
Private Attributes | |
| unsigned long | m_nextAddress |
| std::vector< HEXRecord > | m_records |
| HEXFile::HEXFile | ( | ) | [inline] |
| void HEXFile::Add | ( | const HEXRecord & | record, | |
| size_t | copies | |||
| ) | [inline] |
| void HEXFile::Add | ( | const HEXRecord & | record | ) | [inline] |
Add one record to the end of the file.
Definition at line 108 of file hexfile.h.
References HEXRecord::GetByteCount(), m_nextAddress, and m_records.
Referenced by Add(), and operator<<().
00108 { 00109 m_records.push_back( record ); 00110 m_records.back().SetAddress( m_nextAddress ); 00111 m_nextAddress += record.GetByteCount(); 00112 }
Here is the call graph for this function:

| void HEXFile::Print | ( | std::ostream & | os | ) | const |
Print whole file to an output stream.
Definition at line 140 of file hexfile.cpp.
References m_records.
Referenced by operator<<().
00141 { 00142 for( size_t idx = 0; idx < m_records.size(); ++idx ) { 00143 os << m_records.at( idx ); 00144 } 00145 os << ":00000001ff" << std::endl; 00146 }
unsigned long HEXFile::m_nextAddress [private] |
std::vector< HEXRecord > HEXFile::m_records [private] |
Generated on Fri Aug 8 11:02:27 2008 for AVR411 Secure Rolling Code Algorithm (PC Tools - createrxhex) by 1.4.7
|