Pulse adds COVID-19 Simulation Support
×
PBPulseState Class Reference

#include <PBPulseState.h>

Static Public Member Functions

static void Load (const PULSE_BIND::StateData &src, PulseController &dst, const SEEngineConfiguration *config=nullptr)
 
static PULSE_BIND::StateData * Unload (const PulseController &src)
 
static bool Serialize (const PULSE_BIND::StateData &src, PulseController &dst, const SEEngineConfiguration *config=nullptr)
 
static bool Serialize (const PulseController &src, PULSE_BIND::StateData &dst)
 
static bool SerializeFromFile (const std::string &filename, PulseController &dst, const SEEngineConfiguration *config=nullptr)
 
static bool SerializeToFile (const PulseController &src, const std::string &filename)
 
static bool SerializeFromString (const std::string &src, PulseController &dst, SerializationFormat m, const SEEngineConfiguration *config=nullptr)
 
static bool SerializeToString (const PulseController &src, std::string &output, SerializationFormat m)
 

Member Function Documentation

◆ Load()

void PBPulseState::Load ( const PULSE_BIND::StateData &  src,
PulseController dst,
const SEEngineConfiguration config = nullptr 
)
static

◆ Serialize() [1/2]

bool PBPulseState::Serialize ( const PULSE_BIND::StateData &  src,
PulseController dst,
const SEEngineConfiguration config = nullptr 
)
static

Patient //

◆ Serialize() [2/2]

bool PBPulseState::Serialize ( const PulseController src,
PULSE_BIND::StateData &  dst 
)
static

◆ SerializeFromFile()

bool PBPulseState::SerializeFromFile ( const std::string &  filename,
PulseController dst,
const SEEngineConfiguration config = nullptr 
)
static

◆ SerializeFromString()

bool PBPulseState::SerializeFromString ( const std::string &  src,
PulseController dst,
SerializationFormat  m,
const SEEngineConfiguration config = nullptr 
)
static

◆ SerializeToFile()

bool PBPulseState::SerializeToFile ( const PulseController src,
const std::string &  filename 
)
static

◆ SerializeToString()

bool PBPulseState::SerializeToString ( const PulseController src,
std::string &  output,
SerializationFormat  m 
)
static

◆ Unload()

PULSE_BIND::StateData * PBPulseState::Unload ( const PulseController src)
static

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.