Jamba C++ API
5.1.1
|
This helper class is used to display the parameters (vst/jmb) in a table WARNING: this class is allocating memory and as a result should be used in RT only during development! More...
#include <ParamTable.h>
Public Member Functions | |
ParamTable & | cellSeparation (bool iDisplayCellSeparation=true) |
ParamTable & | compact () |
ParamTable & | full () |
ParamTable & | header (bool iDisplayHeader=true) |
ParamTable & | headerSeparation (bool iDisplayHeaderSeparation=true) |
ParamTable & | hideCellSeparation () |
ParamTable & | hideHeader () |
ParamTable & | hideHeaderSeparation () |
ParamTable & | hideLineSeparation () |
ParamTable & | id (ParamID iParamID) |
ParamTable & | ids (std::vector< ParamID > const &iParamIDs) |
ParamTable & | key (ParamDisplay::Key iKey) |
ParamTable & | keys (std::vector< ParamDisplay::Key > const &iKeys) |
ParamTable & | lineSeparation (bool iDisplayLineSeparation=true) |
ParamTable (ParamDisplay iParamDisplay) | |
ParamTable & | precision (int32 iPrecision) |
void | print (std::string const &iFirstLine="") const |
void | print (NormalizedState const &iNormalizedState, std::string const &iFirstLine="") const |
std::vector< std::string > | rows () const |
std::vector< std::string > | rows (NormalizedState const &iNormalizedState) const |
ParamTable & | showCellSeparation () |
ParamTable & | showHeader () |
ParamTable & | showHeaderSeparation () |
ParamTable & | showLineSeparation () |
std::string | toString () const |
std::string | toString (NormalizedState const &iNormalizedState) const |
Static Public Member Functions | |
static ParamTable | from (Parameters const &iParams) |
Shortcut to create a table for all registered parameter (definition not current value) More... | |
static ParamTable | from (RT::RTState const *iState, bool iSaveStateOnly=false) |
Shortcut to create a table for the RTState (current values) More... | |
static ParamTable | from (GUI::GUIState const *iState, bool iSaveStateOnly=false) |
Shortcut to create a table for the GUIState (current values) More... | |
Protected Member Functions | |
ParamDisplay::ValueMap | computeHeader () const |
std::string::size_type | computeSizes (ParamDisplay::ValueMap const &iHeader, ParamDisplay::ParamMap const &iParams, std::map< ParamDisplay::Key, std::string::size_type > &oSizes) const |
std::vector< std::string > | rows (ParamDisplay::ParamMap const &iParamMap) const |
Private Attributes | |
bool | fDisplayCellSeparation {false} |
bool | fDisplayHeader {true} |
bool | fDisplayHeaderSeparation {false} |
bool | fDisplayLineSeparation {false} |
ParamDisplay | fParamDisplay |
This helper class is used to display the parameters (vst/jmb) in a table WARNING: this class is allocating memory and as a result should be used in RT only during development!
|
inlineexplicit |
|
inline |
|
inline |
|
protected |
|
protected |
|
static |
Shortcut to create a table for all registered parameter (definition not current value)
|
static |
Shortcut to create a table for the RTState (current values)
|
static |
Shortcut to create a table for the GUIState (current values)
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void print | ( | std::string const & | iFirstLine = "" | ) | const |
void print | ( | NormalizedState const & | iNormalizedState, |
std::string const & | iFirstLine = "" |
||
) | const |
std::vector< std::string > rows | ( | ) | const |
std::vector< std::string > rows | ( | NormalizedState const & | iNormalizedState | ) | const |
|
protected |
|
inline |
|
inline |
|
inline |
|
inline |
std::string toString | ( | ) | const |
std::string toString | ( | NormalizedState const & | iNormalizedState | ) | const |
|
private |
|
private |
|
private |
|
private |
|
private |