MFMv2.0.10
Movable Feast Machine Simulator 2.0.10
|
#include <ExternalConfig.h>
Public Member Functions | |
ExternalConfig (Grid< GC > &grid) | |
void | SetByteSource (ByteSource &byteSource, const char *label) |
void | SetErrorByteSink (ByteSink &errorsTo) |
bool | Read () |
void | Write (ByteSink &byteSink) |
void | RegisterFunction (ConfigFunctionCall< GC > &fc) |
bool | RegisterElement (const UUID &uuid, OString16 &nick) |
Element< CC > * | LookupElement (const OString16 &nick) const |
bool | PlaceAtom (const Element< CC > &elt, s32 x, s32 y, const char *dataStr) |
bool | PlaceAtom (const Element< CC > &elt, s32 x, s32 y, const BitVector< BPA > &bv) |
void | SetTileToExecuteOnly (const SPoint &tileLoc, bool value) |
LineCountingByteSource & | GetByteSource () |
Structure for reading and writing the current grid configuration
bool MFM::ExternalConfig< GC >::Read | ( | ) |
Reads a configuration to the grid specified at construction.
void MFM::ExternalConfig< GC >::Write | ( | ByteSink & | byteSink | ) |
Writes the current grid configuration to the give ByteSink.