📄 propertymarshaller.hpp
字号:
#ifndef PROPERTY_MARSHALLER_HPP#define PROPERTY_MARSHALLER_HPP#include <string>#include "../Marshaller.hpp"namespace RTT{ /** * A class for writing a property or propertybag into file. * The file format used by Orocos is the 'Component Property Format'. * @see PropertyDemarshaller for reading the result back in. */ class PropertyMarshaller : public Marshaller { Marshaller* m; PropertyMarshaller(const PropertyMarshaller&); public: /** * Construct a PropertyMarshaller which writes to a file. * * @param filename */ PropertyMarshaller(const std::string& filename); ~PropertyMarshaller(); virtual void serialize(PropertyBase* v); virtual void serialize(const PropertyBag &v); virtual void flush(); };}#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -