-
Notifications
You must be signed in to change notification settings - Fork 0
Class Overview
mdsimmo edited this page Jun 30, 2018
·
3 revisions
This section presents a brief overview of the classes. How to use the classes is specified in the links.
-
DataIn/DataOut - These objects are high level objects that the majority of the code will be using. They are used to write all the data to
-
DataSerializable/DataConverter - All classes that want to be serialized must either implement
DataSerializableor have aDataConverterregistered (See Making Serializable Classes) DataOutRoot- This object is the top level DataOut object. It is the exact same as a
DataOut, but can also be converted toPData PData- Short for "primitive data", it is an intermediate step between the raw text output and the high level
DataIn/DataOutclasses. The conversion to/from this class resolves the complexities of circular references and multiple references to the same instance. By converting through this stage, it is easy to have multiple output formats. DataLoader- This interface specifies the methods for something that can read/write PData to/from a file. The only provided implementation so far is
JSONLoader. (See Saving and Restoring Data)