Changeset 5902 for source/ariba/overlay/messages
- Timestamp:
- Aug 13, 2009, 2:51:52 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/messages/OverlayMsg.h
r5889 r5902 147 147 } 148 148 149 bool isRegisterRelay() const { 150 return (flags & 0x02)!=0; 151 } 152 153 void setRegisterRelay( bool relayed = true ) { 154 if (relayed) flags |= 0x02; else flags &= ~0x02; 155 } 156 149 157 bool isRouteRecord() const { 150 return (flags & 0x0 2)!=0;158 return (flags & 0x04)!=0; 151 159 } 152 160 153 161 void setRouteRecord( bool route_record = true ) { 154 if (route_record) flags |= 0x0 2; else flags &= ~0x02;162 if (route_record) flags |= 0x04; else flags &= ~0x04; 155 163 } 156 164
Note:
See TracChangeset
for help on using the changeset viewer.