#pragma once #include "..\Identifier\schema_struct.h" #include "basic_struct_result.h" #include "..\Schema\schema_struct.h" #include "..\Identifier\OnLineCardSchemaStruct.h" #include using namespace std; using namespace identify::schema; class CSchemaLoader { public: CSchemaLoader(void); ~CSchemaLoader(void); // ¼ÓÔØÄ£°åÐÅÏ¢ int Load(std::string fileName, std::string muban_img_dir, schema::SCHEMA& schema_schema, boost::shared_ptr & schema_identify, boost::shared_ptr& handleInfos); template int caulateGroupAndItem(std::vector &matrix, int nextItemId, vector &itemv, std::vector &groupsv, std::vector& handleInfos, GROUP_TYPE _type); template int caulateGroupAndItem2(std::vector &matrix, int nextItemId, vector &itemv, std::vector &groupsv, std::vector& handleInfos, GROUP_TYPE _type); void SetPageDefault(identify::schema::ISCH_SCHEMA_PAGE& page); long m_examId; };