![]() |
NDEVR
API Documentation
|
Abstract base class for graph parameters that can be serialized. More...
Public Member Functions | |
| Parameter () | |
| Default constructor. | |
| int | id () const |
| Returns the parameter id. | |
| virtual bool | read (std::istream &is)=0 |
| read the data from a stream | |
| void | setId (int id_) |
| Sets the parameter id. | |
| virtual bool | write (std::ostream &os) const =0 |
| write the data to a stream | |
Protected Attributes | |
| int | _id |
| Unique identifier for this parameter. | |
Abstract base class for graph parameters that can be serialized.
Definition at line 37 of file parameter.h.
| void Parameter::setId | ( | int | id_ | ) |
Sets the parameter id.
| [in] | id_ | The new id. |