NeTrainSim 0.1.1 beta
The Open-Source Network Trains Simulator
 
Loading...
Searching...
No Matches
JSONManager Class Reference

#include <jsonmanager.h>

Public Member Functions

 JSONManager (Vector< std::string > fileKeys, Vector< std::string > fileCriticalKeys)
 
 ~JSONManager ()
 
Vector< Vector< std::string > > read (const std::string &filename)
 
void write (const std::string &filename, const Vector< Vector< std::string > > &data)
 

Constructor & Destructor Documentation

◆ JSONManager()

JSONManager::JSONManager ( Vector< std::string >  fileKeys,
Vector< std::string >  fileCriticalKeys 
)

◆ ~JSONManager()

JSONManager::~JSONManager ( )

Member Function Documentation

◆ read()

Vector< Vector< std::string > > JSONManager::read ( const std::string &  filename)

◆ write()

void JSONManager::write ( const std::string &  filename,
const Vector< Vector< std::string > > &  data 
)