|
OpenShot Library | libopenshot
0.1.1
|
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) throw (InvalidFile, InvalidJSON) | |
| Constructor for Profile. More... | |
| void | SetJson (string value) throw (InvalidJSON) |
| 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 79 of file Profiles.h.
| Profile::Profile | ( | string | path | ) | |
| throw | ( | InvalidFile, | |||
| InvalidJSON | |||||
| ) | |||||
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 137 of file Profiles.cpp.
| Json::Value Profile::JsonValue | ( | ) |
Generate Json::JsonValue for this object.
Definition at line 144 of file Profiles.cpp.
| void Profile::SetJson | ( | string | value | ) | |
| throw | ( | InvalidJSON | |||
| ) | |||||
Load JSON string into this object.
Definition at line 167 of file Profiles.cpp.
| void Profile::SetJsonValue | ( | Json::Value | root | ) |
Load Json::JsonValue into this object.
Definition at line 190 of file Profiles.cpp.
| ProfileInfo openshot::Profile::info |
Profile data stored here.
Definition at line 83 of file Profiles.h.
1.8.6