ParameterSerializer Class Reference

The parameter serializer class This is a helper class to serialize a parameter XML document. More...

#include <Parameter.h>

Public Member Functions

virtual int LoadDocument (ParameterManager &)
 
virtual bool LoadOrCreateDocument (ParameterManager &)
 
 ParameterSerializer (const std::string &fn)
 
virtual void SaveDocument (const ParameterManager &)
 
virtual ~ParameterSerializer ()
 

Protected Attributes

std::string filename
 

Detailed Description

The parameter serializer class This is a helper class to serialize a parameter XML document.

Does loading and saving the DOM document from and to files. In sub-classes the load and saving of XML documents can be customized.

See also
ParameterManager

Constructor & Destructor Documentation

◆ ParameterSerializer()

ParameterSerializer::ParameterSerializer ( const std::string &  fn)

◆ ~ParameterSerializer()

ParameterSerializer::~ParameterSerializer ( )
virtual

Member Function Documentation

◆ LoadDocument()

int ParameterSerializer::LoadDocument ( ParameterManager mgr)
virtual

◆ LoadOrCreateDocument()

bool ParameterSerializer::LoadOrCreateDocument ( ParameterManager mgr)
virtual

◆ SaveDocument()

void ParameterSerializer::SaveDocument ( const ParameterManager mgr)
virtual

Member Data Documentation

◆ filename


The documentation for this class was generated from the following files: