UniSet  1.7.0
Extensions.h
00001 // -------------------------------------------------------------------------
00002 #ifndef Extensions_H_
00003 #define Extensions_H_
00004 // -------------------------------------------------------------------------
00005 #include <string>
00006 #include "UniXML.h"
00007 #include "Debug.h"
00008 #include "UniSetTypes.h"
00009 #include "Calibration.h"
00010 // -------------------------------------------------------------------------
00011 namespace UniSetExtensions
00012 {
00014     UniSetTypes::ObjectId getSharedMemoryID();
00015 
00016     xmlNode* findNode( xmlNode* node, const std::string& snode, const std::string& field );
00017     
00018     xmlNode* getCalibrationsSection();
00019     
00023     void escape_string( std::string& s );
00024 
00026     Calibration* buildCalibrationDiagram( const std::string& dname );
00027 
00028     extern DebugStream dlog;
00029 }
00030 // -------------------------------------------------------------------------
00031 #endif // Extensions_H_