Salome HOME
Merge remote-tracking branch 'origin/Custom_Fitter' into CEA_2019
[modules/shaper.git] / src / ModelHighAPI / ModelHighAPI_Dumper.h
index 660b98dee298c613b702ce7a163ce256d7e1b933..ccd80c626bd8da98bc5c46553cd73418c83284bf 100644 (file)
@@ -112,6 +112,7 @@ public:
 
     friend class ModelHighAPI_Dumper;
   };
+  typedef std::shared_ptr<DumpStorage> DumpStoragePtr;
 
   /** \class DumpStorageGeom
    *  \ingroup CPPHighAPI
@@ -154,7 +155,7 @@ public:
 
   /// Add custom storage to collect corresponding dump
   MODELHIGHAPI_EXPORT
-  void addCustomStorage(const DumpStorage& theStorage);
+  void addCustomStorage(const DumpStoragePtr& theStorage);
   /// Clear custom storages list
   MODELHIGHAPI_EXPORT
   void clearCustomStorage();
@@ -286,6 +287,10 @@ public:
   MODELHIGHAPI_EXPORT
   ModelHighAPI_Dumper& operator<<(const ResultPtr& theResult);
 
+  /// Dump a list of results
+  MODELHIGHAPI_EXPORT
+  ModelHighAPI_Dumper& operator<<(const std::list<ResultPtr>& theResults);
+
   /// Dump Attribute
   MODELHIGHAPI_EXPORT ModelHighAPI_Dumper&
     operator<<(const std::shared_ptr<ModelAPI_Attribute>& theAttr);