PBPatientNutrition Class Reference

#include <PBPatientNutrition.h>

Static Public Member Functions

static void Load (const cdm::NutritionData &src, SENutrition &dst)
 
static cdm::NutritionData * Unload (const SENutrition &src)
 
static void Serialize (const cdm::NutritionData &src, SENutrition &dst)
 
static void Serialize (const SENutrition &src, cdm::NutritionData &dst)
 
static void Copy (const SENutrition &src, SENutrition &dst)
 
static bool SerializeToString (const SENutrition &src, std::string &output, SerializationFormat m)
 
static bool SerializeToFile (const SENutrition &src, const std::string &filename, SerializationFormat m)
 
static bool SerializeFromString (const std::string &src, SENutrition &dst, SerializationFormat m)
 
static bool SerializeFromFile (const std::string &filename, SENutrition &dst, SerializationFormat m)
 
static void Load (const cdm::MealData &src, SEMeal &dst)
 
static cdm::MealData * Unload (const SEMeal &src)
 
static void Serialize (const cdm::MealData &src, SEMeal &dst)
 
static void Serialize (const SEMeal &src, cdm::MealData &dst)
 
static void Copy (const SEMeal &src, SEMeal &dst)
 
static bool SerializeToString (const SEMeal &src, std::string &output, SerializationFormat m)
 
static bool SerializeToFile (const SEMeal &src, const std::string &filename, SerializationFormat m)
 
static bool SerializeFromString (const std::string &src, SEMeal &dst, SerializationFormat m)
 
static bool SerializeFromFile (const std::string &filename, SEMeal &dst, SerializationFormat m)
 

Member Function Documentation

◆ Copy() [1/2]

void PBPatientNutrition::Copy ( const SENutrition src,
SENutrition dst 
)
static

◆ Copy() [2/2]

void PBPatientNutrition::Copy ( const SEMeal src,
SEMeal dst 
)
static

◆ Load() [1/2]

void PBPatientNutrition::Load ( const cdm::NutritionData &  src,
SENutrition dst 
)
static

◆ Load() [2/2]

void PBPatientNutrition::Load ( const cdm::MealData &  src,
SEMeal dst 
)
static

◆ Serialize() [1/4]

void PBPatientNutrition::Serialize ( const cdm::NutritionData &  src,
SENutrition dst 
)
static

◆ Serialize() [2/4]

void PBPatientNutrition::Serialize ( const SENutrition src,
cdm::NutritionData &  dst 
)
static

◆ Serialize() [3/4]

void PBPatientNutrition::Serialize ( const cdm::MealData &  src,
SEMeal dst 
)
static

◆ Serialize() [4/4]

void PBPatientNutrition::Serialize ( const SEMeal src,
cdm::MealData &  dst 
)
static

◆ SerializeFromFile() [1/2]

bool PBPatientNutrition::SerializeFromFile ( const std::string &  filename,
SENutrition dst,
SerializationFormat  m 
)
static

◆ SerializeFromFile() [2/2]

bool PBPatientNutrition::SerializeFromFile ( const std::string &  filename,
SEMeal dst,
SerializationFormat  m 
)
static

◆ SerializeFromString() [1/2]

bool PBPatientNutrition::SerializeFromString ( const std::string &  src,
SENutrition dst,
SerializationFormat  m 
)
static

◆ SerializeFromString() [2/2]

bool PBPatientNutrition::SerializeFromString ( const std::string &  src,
SEMeal dst,
SerializationFormat  m 
)
static

◆ SerializeToFile() [1/2]

bool PBPatientNutrition::SerializeToFile ( const SENutrition src,
const std::string &  filename,
SerializationFormat  m 
)
static

◆ SerializeToFile() [2/2]

bool PBPatientNutrition::SerializeToFile ( const SEMeal src,
const std::string &  filename,
SerializationFormat  m 
)
static

◆ SerializeToString() [1/2]

bool PBPatientNutrition::SerializeToString ( const SENutrition src,
std::string &  output,
SerializationFormat  m 
)
static

◆ SerializeToString() [2/2]

bool PBPatientNutrition::SerializeToString ( const SEMeal src,
std::string &  output,
SerializationFormat  m 
)
static

◆ Unload() [1/2]

cdm::NutritionData * PBPatientNutrition::Unload ( const SENutrition src)
static

◆ Unload() [2/2]

cdm::MealData * PBPatientNutrition::Unload ( const SEMeal src)
static