|
| | XmlRepresentationHelper (const RepresentationInfo &info, const FIDString companyName, const FIDString pluginName, const TUID &pluginUID, IBStream *stream) |
| |
| virtual | ~XmlRepresentationHelper () |
| |
| bool | startPage (FIDString name, int32 unitID=-1) |
| | Starts a Page before adding a Cell.
|
| |
| bool | endPage () |
| | Ends a Page before opening a new one.
|
| |
| bool | startCell () |
| | Starts a Cell before adding a Layer.
|
| |
| bool | endCell () |
| | Ends a Cell when no more layer needed.
|
| |
| bool | startEndCell () |
| | Creates an empty cell (alignment for example).
|
| |
| bool | startLayer (int32 type, int32 id, FIDString _function=nullptr, FIDString style=nullptr) |
| | Starts a layer for a given type (Vst::LayerType), a parameter id, optionally a function (Vst::AttributesFunction) and a style (Vst::AttributesStyle).
|
| |
| bool | endLayer () |
| | Ends a layer before adding new one.
|
| |
| bool | startEndLayer (int32 type, int32 id, FIDString _function=nullptr, FIDString style=nullptr) |
| | Same than startLayer except that the layer will be ended automatically (no need to call endLayer).
|
| |
| bool | startEndCellOneLayer (int32 type, int32 id, FIDString _function=nullptr, FIDString style=nullptr) |
| | Creates a Cell with 1 Layer and end it, could be only call after a call to startPage.
|
| |
| bool | startLayer (Vst::ParameterInfo &info, FIDString _function=nullptr) |
| | Starts a layer for a given parameter info and an optional function (Vst::AttributesFunction).
|
| |
| bool | startEndLayer (Vst::ParameterInfo &info, FIDString _function=nullptr) |
| | Same than startLayer with end created automatically.
|
| |
| bool | startEndCellOneLayer (Vst::ParameterInfo &info, FIDString _function=nullptr) |
| | Creates a Cell with 1 Layer and end it, could be only call after a call to startPage.
|
| |
| bool | startEndCellOneLayerWithParamName (Vst::ParameterInfo &info, FIDString _function=nullptr) |
| | Creates a Cell with 1 Layer (with name) and end it, could be only call after a call to startPage.
|
| |
Helper for XML Representation creation.
Here an example of how to use this helper:
enum {
kGain = 129,
kSize,
kCutoff,
kResonance,
kMaster,
kEnable1,
kEnable2,
kFrequency1,
kFrequency2,
kGain1,
kGain2,
};
{
{
helper.startPage ("Main Page");
helper.startEndCell ();
helper.startEndCell ();
helper.startEndCell ();
helper.endPage ();
helper.startPage ("Page 2");
helper.startEndCell ();
helper.startEndCell ();
helper.endPage ();
}
}
Helper for XML Representation creation.
Definition vstrepresentation.h:109
IPtr< IBStream > stream
Definition vstrepresentation.h:167