#include <DbStringFormat.hpp>
|
| DbStringFormat (unsigned char params=FLAG_RESUME|FLAG_VARS, const VectorString &names=VectorString(), const VectorInt &cols=VectorInt(), bool useSel=true) |
|
| DbStringFormat (const DbStringFormat &r) |
|
DbStringFormat & | operator= (const DbStringFormat &r) |
|
virtual | ~DbStringFormat () |
|
virtual String | toString (const AStringFormat *strfmt=nullptr) const override |
| Interface to AStringable. More...
|
|
const VectorInt & | getCols () const |
|
bool | getUseSel () const |
|
int | getMode () const |
|
unsigned char | getParams () const |
|
const VectorString & | getNames () const |
|
void | setCols (const VectorInt &cols) |
|
void | setUseSel (bool useSel) |
|
void | setMode (int mode) |
|
void | setNames (const VectorString &names) |
|
void | setParams (unsigned char params) |
|
void | setFlags (bool flag_resume=true, bool flag_vars=true, bool flag_extend=false, bool flag_stats=false, bool flag_array=false, bool flag_locator=false, const VectorString &names=VectorString(), const VectorInt &cols=VectorInt(), bool useSel=true) |
|
void | setResume () |
|
void | setVars () |
|
void | setExtend () |
|
void | setStats () |
|
void | setArray () |
|
void | setLocator () |
|
bool | matchResume () const |
|
bool | matchVars () const |
|
bool | matchExtend () const |
|
bool | matchStats () const |
|
bool | matchArray () const |
|
bool | matchLocator () const |
|
| AStringable () |
|
| AStringable (const AStringable &r) |
|
AStringable & | operator= (const AStringable &r) |
|
virtual | ~AStringable () |
|
virtual void | display (const AStringFormat *strfmt=nullptr) const final |
|
virtual void | display (int level) const final |
|
| AStringFormat (int level=1) |
|
| AStringFormat (const AStringFormat &r) |
|
AStringFormat & | operator= (const AStringFormat &r) |
|
virtual | ~AStringFormat () |
|
int | getLevel () const |
|
|
static DbStringFormat * | create (unsigned char params=FLAG_RESUME|FLAG_VARS, const VectorString &names=VectorString(), const VectorInt &cols=VectorInt(), bool useSel=true) |
|
static DbStringFormat * | createFromKeys (unsigned char params, const VectorString &names, const VectorInt &cols, bool useSel) |
|
static DbStringFormat * | createFromFlags (bool flag_resume=true, bool flag_vars=true, bool flag_extend=false, bool flag_stats=false, bool flag_array=false, bool flag_locator=false, const VectorString &names=VectorString(), const VectorInt &cols=VectorInt(), bool useSel=true) |
|
DbStringFormat::~DbStringFormat |
( |
| ) |
|
|
virtual |
DbStringFormat * DbStringFormat::createFromFlags |
( |
bool |
flag_resume = true , |
|
|
bool |
flag_vars = true , |
|
|
bool |
flag_extend = false , |
|
|
bool |
flag_stats = false , |
|
|
bool |
flag_array = false , |
|
|
bool |
flag_locator = false , |
|
|
const VectorString & |
names = VectorString() , |
|
|
const VectorInt & |
cols = VectorInt() , |
|
|
bool |
useSel = true |
|
) |
| |
|
static |
const VectorInt& DbStringFormat::getCols |
( |
| ) |
const |
|
inline |
int DbStringFormat::getMode |
( |
| ) |
const |
|
inline |
unsigned char DbStringFormat::getParams |
( |
| ) |
const |
|
inline |
bool DbStringFormat::getUseSel |
( |
| ) |
const |
|
inline |
bool DbStringFormat::matchArray |
( |
| ) |
const |
|
inline |
bool DbStringFormat::matchExtend |
( |
| ) |
const |
|
inline |
bool DbStringFormat::matchLocator |
( |
| ) |
const |
|
inline |
bool DbStringFormat::matchResume |
( |
| ) |
const |
|
inline |
bool DbStringFormat::matchStats |
( |
| ) |
const |
|
inline |
bool DbStringFormat::matchVars |
( |
| ) |
const |
|
inline |
void DbStringFormat::setArray |
( |
| ) |
|
|
inline |
void DbStringFormat::setCols |
( |
const VectorInt & |
cols | ) |
|
|
inline |
Reduce the set of variables for which the print is provided
- Parameters
-
cols | Vector of Column indices on which Stats or Array is applied (optional) |
void DbStringFormat::setExtend |
( |
| ) |
|
|
inline |
void DbStringFormat::setFlags |
( |
bool |
flag_resume = true , |
|
|
bool |
flag_vars = true , |
|
|
bool |
flag_extend = false , |
|
|
bool |
flag_stats = false , |
|
|
bool |
flag_array = false , |
|
|
bool |
flag_locator = false , |
|
|
const VectorString & |
names = VectorString() , |
|
|
const VectorInt & |
cols = VectorInt() , |
|
|
bool |
useSel = true |
|
) |
| |
void DbStringFormat::setLocator |
( |
| ) |
|
|
inline |
void DbStringFormat::setMode |
( |
int |
mode | ) |
|
|
inline |
- Parameters
-
mode | Way to consider the variable for Stats (1: Real; 2: Categorical) |
Reduce the set of variables for which the print is provided
- Parameters
-
names | Vector of Column names |
void DbStringFormat::setParams |
( |
unsigned char |
params | ) |
|
|
inline |
Set the String Format parameters
- Parameters
-
params | Mask defining the printout |
void DbStringFormat::setResume |
( |
| ) |
|
|
inline |
void DbStringFormat::setStats |
( |
| ) |
|
|
inline |
void DbStringFormat::setUseSel |
( |
bool |
useSel | ) |
|
|
inline |
Using the current Selection or Not
- Parameters
-
useSel | Take the selection into account when true |
void DbStringFormat::setVars |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following files: