#include <diffuse_source_parser.hpp>
void visr::objectmodel::DiffuseSourceParser::parse |
( |
boost::property_tree::ptree const & |
tree, |
|
|
Object & |
obj |
|
) |
| const |
|
virtual |
Parse an object from a property node.
- Parameters
-
| tree | The property tree node containing the object information. |
[out] | obj | The object to which the parsed values are set. |
- Note
- : This function is marked as pure virtual, thus making the class abstract (non-instantiable). However, it has an implementation which performs sensible work.
Implements visr::objectmodel::ObjectParser.
void visr::objectmodel::DiffuseSourceParser::write |
( |
Object const & |
obj, |
|
|
boost::property_tree::ptree & |
tree |
|
) |
| const |
|
virtual |
Serialize an object itno a property tree node.
- Parameters
-
| obj | The audio object to be serialised. |
[out] | tree | The property tree subtree to where the object information is written to. |
- Note
- This method is pure virtual, because his class does not correspond to an instantiable audio object type. Nonetheless, it has an implementation which is called by derived classes.
Implements visr::objectmodel::ObjectParser.
The documentation for this class was generated from the following files: