COMPASSi/trunk/code/inc/DataManager/Infrastructure.Data/StabCalculation/XmlTableHelper.h

57 lines
2.9 KiB
C
Raw Normal View History

2025-06-25 15:06:42 +08:00
#ifndef XML_TABLE_HELPER_H
#define XML_TABLE_HELPER_H
#include "StabCalculation/StabCalculation.h"
#include <unordered_set>
#include "XmlSerialization.h"
class XmlTableHelper
{
private:
/* data */
public:
XmlTableHelper(/* args */);
~XmlTableHelper();
static void xmlTableRowToData(BInf_Row& row,BInf& data);
static void xmlTableRowToData(Shell_Row& row,Shell& data);
static void xmlTableRowToData(FloodPoint_Row& row, FloodPoint& data);
static void xmlTableRowToData(LimitStaticPoint_Row& row, LimitStaticPoint& data);
static void xmlTableRowToData(ImmersionPoint_Row& row, ImmersionPoint& data);
static void xmlTableRowToData(Deckline_Row& row, Deckline& data);
static void xmlTableRowToData(Compartment_Row& row, Compartment& data);
static void xmlTableRowToData(LWT_Row& row, LWT& data);
static void xmlTableRowToData(PartialLoad_Row& row, PartialLoad& data);
static void xmlTableRowToData(PartialLoadWeight_Row& row, PartialLoadWeight& data);
static void xmlTableRowToData(PartialLoadFreeSurf_Row& row, PartialLoadFreeSurf& data);
static void xmlTableRowToData(PartialLoadBulk_Row& row, PartialLoadBulk& data);
static void xmlTableRowToData(PartialLoadPerson_Row& row, PartialLoadPerson& data);
static void xmlTableRowToData(PartialLoadIce_Row& row, PartialLoadIce& data);
static void xmlTableRowToData(WindFixed_Row& row, WindFixed& data);
static void xmlTableRowToData(WindNonFixed_Row& row, WindNonFixed& data);
static void xmlTableRowToData(Case_Row& row, Case& data);
static void xmlTableRowToData(AllowNM_Row& row, AllowNM& data);
static void xmlTableRowToData(DamCase_Row& row, DamCase& data);
static void xmlTableRowToData(DamCompartment_Row& row, DamCompartment& data);
static void xmlTableRowToData(DamCaseProb_Row& row, DamCaseProb& data);
static void xmlTableRowToData(DamRegion_Row& row, DamRegion& data);
static void xmlTableRowToData(CompExtent_Row& row, CompExtent& data);
static void xmlTableRowToData(DamCompartmentProb_Row& row, DamCompartmentProb& data);
static void xmlTableRowToData(IncliningDraft_Row& row, IncliningDraft& data);
static void xmlTableRowToData(IncliningStatus_Row& row, IncliningStatus& data);
static void xmlTableRowToData(IncliningExtraWeight_Row& row, IncliningExtraWeight& data);
static void xmlTableRowToData(IncliningRelocateWeight_Row& row, IncliningRelocateWeight& data);
static void xmlTableRowToData(IncliningAbsentWeight_Row& row, IncliningAbsentWeight& data);
static void xmlTableRowToData(IncliningTank_Row& row, IncliningTank& data);
static void xmlTableRowToData(IncliningMobileWeight_Row& row, IncliningMobileWeight& data);
static void xmlTableRowToData(IncliningDevice_Row& row, IncliningDevice& data);
static void xmlTableRowToData(IncliningCase_Row& row, IncliningCase& data);
static void xmlTableRowToData(IncliningRecord_Row& row, IncliningRecord& data);
};
#endif