POption.h
Go to the documentation of this file.
126 bool Bool(const PString& optionName, bool defaultValue, const PString& description, bool isRequired = false);
132 papillon::int32 Int(const PString& optionName, papillon::int32 defaultValue, const PString& description, bool isRequired = false);
138 float Float(const PString& optionName, float defaultValue, const PString& description, bool isRequired = false);
144 double Double(const PString& optionName, double defaultValue, const PString& description, bool isRequired = false);
150 PString String(const PString& optionName, const PString& defaultValue, const PString& description, bool isRequired = false);
157 PStringList StringList(const PString& optionName, const PStringList& defaultValue, const PString& description, bool isRequired = false);
163 PGuid Guid(const PString& optionName, const PGuid& defaultValue, const PString& description, bool isRequired = false);
169 PSizei Sizei(const PString& optionName, const PSizei& defaultValue, const PString& description, bool isRequired = false);
175 PSizef Sizef(const PString& optionName, const PSizef& defaultValue, const PString& description, bool isRequired = false);
181 PRectanglei Rectanglei(const PString& optionName, const PRectanglei& defaultValue, const PString& description, bool isRequired = false);
187 PImage Image(const PString& optionName, const PImage& defaultValue, const PString& description, bool isRequired = false);
193 PInputVideoStream InputVideoStream(const PString& optionName, const PInputVideoStream& defaultValue, const PString& description, bool isRequired = false);
199 POutputVideoStream OutputVideoStream(const PString& optionName, const POutputVideoStream& defaultValue, const PString& description, bool isRequired = false);
The PSizei class represents the size of an image or a rectangle: width (int) and height (int); PSizei...
Definition: PSizei.h:27
The PImage class represents a 2D-image; several pixel format and number of channels are supported (BG...
Definition: PImage.h:57
The PResult class represents the result returned by most of Papillon functions; this class is used to...
Definition: PResult.h:159
The PObject class is the root class of all Papillon classes; all PObject behaves like shared referenc...
Definition: PObject.h:27
The PRectanglei class represents an axis-aligned rectangle with 32-bit int coordinates; PRectanglei i...
Definition: PRectanglei.h:33
The PInputVideoStream class represents an input video streams like a video file, a webcam or a RTSP s...
Definition: PInputVideoStream.h:34
The POutputVideoStream class represents an output video streams like a video file, a network socket or simply a screen display.
Definition: POutputVideoStream.h:33
The PStringList class represents a list of PString; NOT thread-safe.
Definition: PStringList.h:26
The PGuid class represents a Globally Unique Identifier (GUID); PGuid instances are immutable (thread...
Definition: PGuid.h:28
Class PObject: the root class of all Papillon classes.
PObject & operator=(const PObject &obj)
Performs a shared copy of other to this object.
Definition: PObject.h:45
The PSizef class represents the size of an image or a rectangle: width (float) and height (float); PS...
Definition: PSizef.h:28