#include <CoWRecord.h>
Definition at line 12 of file CoWRecord.h.
◆ CoWRecord()
| CoWTools::CoWRecord::CoWRecord |
( |
bool | summary = true | ) |
|
|
inline |
◆ operator bool()
| CoWTools::CoWRecord::operator bool |
( |
| ) |
const |
|
inlineexplicit |
Definition at line 40 of file CoWRecord.h.
40 {
42 for(
int i=0;
i<11;
i++){
43 if(vals[i])return true;
44 }
45 return false;
46 }
◆ operator+=()
Definition at line 52 of file CoWRecord.h.
52 {
55 return *this;
56 }
◆ operator-()
| CoWRecord CoWTools::CoWRecord::operator- |
( |
| ) |
const |
|
inline |
◆ operator-=()
Definition at line 58 of file CoWRecord.h.
58 {
61 return *this;
62 }
◆ parseRecord()
| void CoWTools::CoWRecord::parseRecord |
( |
std::istream & | in | ) |
|
Definition at line 8 of file CoWRecord.cxx.
8 {
10 std::getline(in,line);
11 int len=0;
12 char pbuff[5]={"----"};
13
14 sscanf(
line.c_str(),
"%08lx-%08lx %4s %08llx %02x:%02x %80lu %n",
17 pbuff,
22 &len);
23
25 perms|=((pbuff[
i]!=
'-')<<(4-
i));
26 }
27 perms |= (pbuff[3]==
'p');
29}
◆ operator+
Definition at line 48 of file CoWRecord.h.
48 {
49 return lhs+=rhs;
50 }
◆ operator-
Definition at line 32 of file CoWRecord.h.
32 {
33 return lhs-=rhs;
34 }
◆ addrEnd
| unsigned long CoWTools::CoWRecord::addrEnd |
◆ addrStart
| unsigned long CoWTools::CoWRecord::addrStart |
◆ dmaj
| unsigned int CoWTools::CoWRecord::dmaj |
◆ dmin
| unsigned int CoWTools::CoWRecord::dmin |
◆ inode
| unsigned long CoWTools::CoWRecord::inode |
◆ m_ms
◆ offset
| unsigned long long CoWTools::CoWRecord::offset |
◆ perms
| short CoWTools::CoWRecord::perms |
The documentation for this class was generated from the following files: