diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2012-08-09 12:04:43 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2012-08-09 12:04:43 +0200 |
commit | 05182c2214c5983c8ce7376c42805ad9802c75e5 (patch) | |
tree | a6b014773363d9828032056c09e44b3d0f5f830d /server/src/sessionheaderparser.h | |
parent | 40211cd5598c5349358e1d33b6353a4c729b17b3 (diff) |
Added session files to admin session list.
Diffstat (limited to 'server/src/sessionheaderparser.h')
-rw-r--r-- | server/src/sessionheaderparser.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/server/src/sessionheaderparser.h b/server/src/sessionheaderparser.h index a56215a..5f2d3cf 100644 --- a/server/src/sessionheaderparser.h +++ b/server/src/sessionheaderparser.h @@ -44,6 +44,13 @@ */ class SessionHeaderParser : public SAXParser { public: + class Header { + public: + std::string patientid; + std::string templ; + std::string id; + }; + /** * Constructor. * @param sessionfile A std::string containing the name of the file to parse. @@ -71,8 +78,7 @@ public: * freed upon parser deletion. * @return A pointer to the macro or NULL on error. */ - std::string getPatientID(); - std::string getTemplate(); + Header getHeader(); protected: /** @@ -85,8 +91,7 @@ private: bool done; - std::string patientid; - std::string templ; + Header header; std::string file; // Error callback function. |