Skip to content
Snippets Groups Projects
Commit 0c685ea2 authored by Jan Trávníček's avatar Jan Trávníček
Browse files

uncomment measurements in data

parent bc1a898c
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,7 @@
 
#include <string>
#include <deque>
#include <measure>
 
#include <sax/Token.h>
#include <sax/SaxParseInterface.h>
......@@ -87,10 +88,9 @@ public:
 
if ( alib::xmlApi < exception::AlibException >::first ( context ) ) throw alib::xmlApi < exception::AlibException >::parse ( context );
 
// FIXME po extrakci measurements nad alib2data (extrahováním sax do std) znovu povolit
// measurements::start ( "XML Parser", measurements::Type::INIT );
measurements::start ( "XML Parser", measurements::Type::INIT );
T res = alib::xmlApi < T >::parse ( context );
// measurements::end ( );
measurements::end ( );
 
if ( context != tokens.end ( ) ) throw exception::AlibException ( "Unexpeted tokens at the end of the xml" );
 
......@@ -160,10 +160,10 @@ public:
template < class T >
static std::deque < sax::Token > toTokens ( const T & data ) {
xmlApiOutputContext context;
// FIXME po extrakci measurements nad alib2data (extrahováním sax do std) znovu povolit
// measurements::start ( "XML Composer", measurements::Type::FINALIZE );
measurements::start ( "XML Composer", measurements::Type::FINALIZE );
alib::xmlApi < T >::compose ( context, data );
// measurements::end ( );
measurements::end ( );
 
return context;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment