CVD::Parameter< C > Class Template Reference
[Image loading and saving, and format conversion]

#include <parameter.h>

List of all members.

Public Member Functions

Parameterduplicate () const
virtual const void * get_data_pointer () const
 Parameter (const C &c)

Private Attributes

parameter

Detailed Description

template<class C>
class CVD::Parameter< C >

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.


Constructor & Destructor Documentation

template<class C>
CVD::Parameter< C >::Parameter ( const C &  c  )  [inline]

Definition at line 59 of file parameter.h.


Member Function Documentation

template<class C>
Parameter* CVD::Parameter< C >::duplicate (  )  const [inline]

Definition at line 64 of file parameter.h.

template<class C>
virtual const void* CVD::Parameter< C >::get_data_pointer (  )  const [inline, virtual]

Definition at line 69 of file parameter.h.


Member Data Documentation

template<class C>
C CVD::Parameter< C >::parameter [private]

Definition at line 57 of file parameter.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


libcvd
Author(s): Edward Rosten, Paul Smith, Tom Drummond, Gerhard Reitmayr, Ethan Eade, Timothy Gan, Chris Kemp, Georg Klein
autogenerated on Fri Jan 11 09:13:52 2013