ru:abckin:kin-util:src:index
This is an old revision of the document!
Kin-util C++ interfaces
Main routine of kin-util program is the parser of the input XML-file with the job instructions. It looks for the job commands and pass their XML-text to the corresponding subroutins.
CLIStatus importSchema(const XMLElement&, Schema*& result); CLIStatus importSchemaInstance(const XMLElement& elem, SchemaInstance*& instance_ptr); CLIStatus doComputation(const XMLElement& calc_elem); CLIStatus displayResult(const XMLElement&); CLIStatus importInstanceExptlData(const XMLElement& exptl_elem); CLIStatus importDataPoints(const XMLElement& data_elem, const SchemaInstance&, ABCKIN::DataPointsContainer&); CLIStatus optimize(const XMLElement& optimize_elem); CLIStatus calcDisper(const XMLElement& disper_elem);
extern std::vector<Schema*> globalSchemaList; extern std::vector<SchemaInstance*> globalInstanceList; extern std::map<String, CalculationResult*> globalResultMap; extern std::map<String, ABCKIN::ExptlDataContainer> globalExptlMap;
CLIStatus is the class which objects depict results of any parsing or calculation subroutine. It declares an Error/Warning ID, textual description of the error and the error context (e.g. an invalid command syntax).
ru/abckin/kin-util/src/index.1793633659.txt.gz · Last modified: by abc
