Enzo
Loading...
Searching...
No Matches
enzo::nt::Serializer Class Reference

Public Member Functions

void save (NetworkManager &networkManager, std::string filePath)
 Writes a network out to a file.
 
void load (NetworkManager &networkManager, std::string filePath)
 Reads a file into the network, replacing whatever was there.
 

Member Function Documentation

◆ load()

void enzo::nt::Serializer::load ( NetworkManager & networkManager,
std::string filePath )

Reads a file into the network, replacing whatever was there.

Note
Loading creates nodes, which runs through undo, cooking, and the signals the interface listens to, so it goes through the manager rather than the network alone.

The documentation for this class was generated from the following files: