User Tools

Site Tools


dev:atomic_parameters

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dev:atomic_parameters [2014/09/17 21:26] lnunnodev:atomic_parameters [2014/09/21 17:54] (current) – [Make Getter and Setter] tsmall1
Line 23: Line 23:
 </code> </code>
  
-make sure that BitField is included in the file by adding.+make sure that BitField is included in the file by adding:
  
 <code> <code>
Line 29: Line 29:
 </code> </code>
  
-to the top of the file+to the top of the file.
  
 ===== Make Getter and Setter ===== ===== Make Getter and Setter =====
Line 41: Line 41:
 } }
  
-void SetByteBits(const T& us, u32 bits) const+void SetByteBits(T& us, u32 bits) const
 { {
     AFByteBits::Write(this->GetBits(us), bits & 0xff);     AFByteBits::Write(this->GetBits(us), bits & 0xff);
dev/atomic_parameters.1410989175.txt.gz · Last modified: 2014/09/17 21:26 by lnunno