PBPatientNutrition Class Reference

#include <PBPatientNutrition.h>

Static Public Member Functions

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

Member Function Documentation

◆ Copy() [1/2]

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

◆ Copy() [2/2]

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

◆ Load() [1/2]

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

◆ Load() [2/2]

PUSH_PROTO_WARNINGS POP_PROTO_WARNINGS void PBPatientNutrition::Load ( const CDM_BIND::NutritionData &  src,
SENutrition dst 
)
static

◆ Serialize() [1/4]

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

◆ Serialize() [2/4]

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

◆ Serialize() [3/4]

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

◆ Serialize() [4/4]

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

◆ SerializeFromFile() [1/2]

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

◆ SerializeFromFile() [2/2]

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

◆ SerializeFromString() [1/2]

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

◆ SerializeFromString() [2/2]

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

◆ SerializeToFile() [1/2]

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

◆ SerializeToFile() [2/2]

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

◆ SerializeToString() [1/2]

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

◆ SerializeToString() [2/2]

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

◆ Unload() [1/2]

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

◆ Unload() [2/2]

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

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.