35#ifndef xmlinputrecord_h
36#define xmlinputrecord_h
47#define _XML_NI std::cerr<<__PRETTY_FUNCTION__<<": not yet implemented."<<std::endl; abort();
63 static std::string xmlizeAttrName(
const std::string& s);
66 std::tuple<std::string,pugi::xml_node> _attr_traced_read_with_node(
const char* name);
69 std::shared_ptr<InputRecord>
clone()
const override {
return std::make_shared<XMLInputRecord>(*
this); }
71 void finish(
bool wrn =
true)
override;
74 std::string loc(
const pugi::xml_node& node)
const ;
75 int setRecId(
int lastRecId);
98 std::string giveRecordAsString()
const override;
99 std::string giveRecordInTXTFormat()
const override;
103 static bool node_seen_get(
const pugi::xml_node& n);
104 static void node_seen_set(pugi::xml_node& n,
bool seen);
const char * InputFieldType
Identifier of fields in input records.