|
OpenShot Library | libopenshot
0.2.2
|
This class loads a special text-based file called a Profile. More...
#include <Profiles.h>
Public Member Functions | |
| string | Json () |
| Get and Set JSON methods. More... | |
| Json::Value | JsonValue () |
| Generate Json::JsonValue for this object. More... | |
| Profile (string path) | |
| Constructor for Profile. More... | |
| void | SetJson (string value) |
| Load JSON string into this object. More... | |
| void | SetJsonValue (Json::Value root) |
| Load Json::JsonValue into this object. More... | |
Public Attributes | |
| ProfileInfo | info |
| Profile data stored here. More... | |
This class loads a special text-based file called a Profile.
Profile data contains common video settings, such as framerate, height, width, aspect ratio, etc... All derived classes from openshot::WriterBase can load profile data using this class.
Definition at line 81 of file Profiles.h.
| Profile::Profile | ( | string | path | ) |
Constructor for Profile.
| path | The folder path / location of a profile file |
Definition at line 35 of file Profiles.cpp.
| string Profile::Json | ( | ) |
Get and Set JSON methods.
Generate JSON string of this object
Definition at line 133 of file Profiles.cpp.
| Json::Value Profile::JsonValue | ( | ) |
Generate Json::JsonValue for this object.
Definition at line 140 of file Profiles.cpp.
| void Profile::SetJson | ( | string | value | ) |
Load JSON string into this object.
Definition at line 163 of file Profiles.cpp.
| void Profile::SetJsonValue | ( | Json::Value | root | ) |
Load Json::JsonValue into this object.
Definition at line 186 of file Profiles.cpp.
| ProfileInfo openshot::Profile::info |
Profile data stored here.
Definition at line 85 of file Profiles.h.
1.8.13