#include <parameter.h>
Public Member Functions | |
Parameter * | duplicate () const |
virtual const void * | get_data_pointer () const |
Parameter (const C &c) | |
Private Attributes | |
C | parameter |
Class for holding parameters for image savers, with type erasure. Use like:
map<string, Parameter<> > p; p["jpeg.quality"] = Parameter<int>(75); img_save(image, "foo.jpg", p);
Definition at line 54 of file parameter.h.
CVD::Parameter< C >::Parameter | ( | const C & | c | ) | [inline] |
Definition at line 59 of file parameter.h.
Parameter* CVD::Parameter< C >::duplicate | ( | ) | const [inline] |
Definition at line 64 of file parameter.h.
virtual const void* CVD::Parameter< C >::get_data_pointer | ( | ) | const [inline, virtual] |
Definition at line 69 of file parameter.h.
C CVD::Parameter< C >::parameter [private] |
Definition at line 57 of file parameter.h.