| gstreamermm
    1.8.0
    | 
A class that represents a range (min - max). More...
#include <gstreamermm/value.h>
| Public Member Functions | |
| Range () | |
| Constructs a zero Gst::Range.  More... | |
| Range (T min, T max) | |
| Constructs a Gst::Range (min - max).  More... | |
| Range (const Range& src) | |
| Constructs an Gst::Range from another range.  More... | |
| Range (const Glib::Value< Range< T >>& range_value) | |
| Constructs an Gst::Range from a Glib::ValueBase.  More... | |
| Range (const GValue& range_value) | |
| Constructs an Gst::Range from a GValue.  More... | |
| Range& | operator= (const Range& src) | 
| Public Attributes | |
| T | min | 
| T | max | 
A class that represents a range (min - max).
Gst::Range is used to store a range in Gst::Structures of Gst::Caps as a value representing a property (see GStreamer Application Development Manual section 8.2.2 and GstValue docs). When the value is set, it is transformed to a GStreamer GType so retrieving the value is a bit different. The class can be used in setting and getting a Gst::Structure field like so:
Gst::Range should be used with following types: int, double, Gst::Fraction.
Last reviewed on 2016-08-27 (1.8.0)
| 
 | inline | 
Constructs a zero Gst::Range.
| 
 | inline | 
Constructs a Gst::Range (min - max).
| 
 | inline | 
Constructs an Gst::Range from another range.
| 
 | inlineexplicit | 
Constructs an Gst::Range from a Glib::ValueBase.
| 
 | inlineexplicit | 
Constructs an Gst::Range from a GValue.
| 
 | inline | 
| T Gst::Range< T >::max | 
| T Gst::Range< T >::min | 
 1.8.12
 1.8.12