summaryrefslogtreecommitdiff
path: root/slicer/xml/serializer.h
diff options
context:
space:
mode:
Diffstat (limited to 'slicer/xml/serializer.h')
-rw-r--r--slicer/xml/serializer.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/slicer/xml/serializer.h b/slicer/xml/serializer.h
index 23a6140..9b8fa21 100644
--- a/slicer/xml/serializer.h
+++ b/slicer/xml/serializer.h
@@ -35,7 +35,8 @@ namespace Slicer {
static void ModelTreeIterateRoot(xmlpp::Document *, const std::string &, const ModelPartPtr & mp);
protected:
- static void ModelTreeProcessElement(const CurrentElementCreator &, ModelPartPtr mp, const ElementCreator &);
+ static void ModelTreeProcessElement(
+ const CurrentElementCreator &, const ModelPartPtr & mp, const ElementCreator &);
static void ModelTreeIterateDictAttrs(xmlpp::Element * element, const ModelPartPtr & dict);
static void ModelTreeIterateDictElements(xmlpp::Element * element, const ModelPartPtr & dict);
};
@@ -69,7 +70,8 @@ namespace Slicer {
class DLL_PUBLIC XmlDeserializer : public Deserializer {
protected:
static void DocumentTreeIterate(const xmlpp::Node * node, const ModelPartPtr & mp);
- static void DocumentTreeIterateElement(const xmlpp::Element * element, ModelPartPtr mp, const ChildRef & c);
+ static void DocumentTreeIterateElement(
+ const xmlpp::Element * element, const ModelPartPtr & mp, const ChildRef & c);
static void DocumentTreeIterate(const xmlpp::Document * doc, const ModelPartPtr & mp);
static void DocumentTreeIterateDictAttrs(
const xmlpp::Element::const_AttributeList & attrs, const ModelPartPtr & dict);