-// Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
/// if true, generates error if document is updated outside of transaction
bool myCheckTransactions;
- ///< if true, the current operation must be committed twice, with nested (list for any nesting depth)
+ /// if true, the current operation must be committed twice,
+ /// with nested (list for any nesting depth)
std::list<bool> myOperationAttachedToNext;
public:
MODEL_EXPORT virtual std::list<std::shared_ptr<ModelAPI_Document> > allOpenedDocuments();
/// Returns true if document is not loaded yet
- MODEL_EXPORT virtual bool isLoadByDemand(const std::string theDocID, const int theDocIndex);
+ MODEL_EXPORT virtual bool isLoadByDemand(const std::wstring theDocID, const int theDocIndex);
/// Registers the plugin that creates features.
/// It is obligatory for each plugin to call this function on loading to be found by