NDEVR
API Documentation
Parameterabstract

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.

Detailed Description

Abstract base class for graph parameters that can be serialized.

Definition at line 37 of file parameter.h.

Member Function Documentation

◆ setId()

void Parameter::setId ( int id_)

Sets the parameter id.

Parameters
[in]id_The new id.

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