|
enum | { ATOM_CATEGORY = 0,
ATOM_FIRST_STATE_BIT = 0
} |
|
|
bool | IsSaneImpl () const |
|
bool | HasBeenRepairedImpl () |
|
u32 | GetTypeImpl () const |
|
u32 | GetStateField (u32 stateIndex, u32 stateWidth) const |
|
void | SetStateField (u32 stateIndex, u32 stateWidth, u32 value) |
|
void | WriteStateBitsImpl (ByteSink &ostream) const |
|
void | ReadStateBitsImpl (const char *stateStr) |
|
void | ReadStateBitsImpl (const BitVector< BITS > &bv) |
|
| P0Atom (u32 type=0, u32 longc=0, u32 shortc=0, u32 statec=0) |
|
void | InitAtom (u32 type, u32 longc, u32 shortc, u32 statec) |
|
void | PrintBits (ByteSink &ostream) const |
|
void | PrintImpl (ByteSink &ostream) const |
|
P0Atom & | operator= (const P0Atom &rhs) |
|
bool | IsSane () const |
|
bool | HasBeenRepaired () |
|
u32 | GetType () const |
|
void | Print (ByteSink &ostream) const |
|
void | WriteStateBits (ByteSink &ostream) const |
|
void | ReadStateBits (const char *hexStr) |
|
void | ReadStateBits (const BitVector< BPA > &bv) |
|
void | WriteBits (ByteSink &ostream) const |
|
void | ReadBits (const char *hexStr) |
|
void | XRay (Random &rand, u32 bitOdds) |
|
bool | operator== (const Atom &rhs) const |
|
bool | operator!= (const Atom &rhs) const |
|
|
static u32 | GetMaxStateSize (u32 lengthCode) |
|
static bool | IsType (const T &atom, u32 type) |
|
static bool | IsSameType (const T &atom, const T &other) |
|
|
void | SetType (u32 lengthCode, u32 type) |
|
u32 | GetLengthCodeForType (u32 type) |
|
u32 | EndStateBit () const |
|
|
static u32 | EndStateBit (u32 lengthCode) |
|
Index of first bit that isn't a state bit.
template<class PC >
u32 MFM::P0Atom< PC >::GetStateField |
( |
u32 |
stateIndex, |
|
|
u32 |
stateWidth |
|
) |
| const |
|
inline |
Read stateWidth state bits starting at stateIndex, which counts toward the right with 0 meaning the leftmost state bit.
template<class PC >
void MFM::P0Atom< PC >::SetStateField |
( |
u32 |
stateIndex, |
|
|
u32 |
stateWidth, |
|
|
u32 |
value |
|
) |
| |
|
inline |
Store value into stateWidth state bits starting at stateIndex, which counts toward the right with 0 meaning the leftmost state bit.
The documentation for this class was generated from the following files:
- src/core/include/P0Atom.h
- src/core/include/P0Atom.tcc