#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 String &title) |
|
| AStringFormat (const AStringFormat &r) |
|
AStringFormat & | operator= (const AStringFormat &r) |
|
virtual | ~AStringFormat () |
|
int | getLevel () const |
|
bool | hasTitle () const |
|
String | getTitle () const |
|
void | setTitle (const String &title) |
|
|
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() [1/2]
◆ DbStringFormat() [2/2]
◆ ~DbStringFormat()
DbStringFormat::~DbStringFormat |
( |
| ) |
|
|
virtual |
◆ create()
◆ createFromFlags()
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 |
◆ createFromKeys()
◆ getCols()
const VectorInt& DbStringFormat::getCols |
( |
| ) |
const |
|
inline |
◆ getMode()
int DbStringFormat::getMode |
( |
| ) |
const |
|
inline |
◆ getNames()
◆ getParams()
unsigned char DbStringFormat::getParams |
( |
| ) |
const |
|
inline |
◆ getUseSel()
bool DbStringFormat::getUseSel |
( |
| ) |
const |
|
inline |
◆ matchArray()
bool DbStringFormat::matchArray |
( |
| ) |
const |
|
inline |
◆ matchExtend()
bool DbStringFormat::matchExtend |
( |
| ) |
const |
|
inline |
◆ matchLocator()
bool DbStringFormat::matchLocator |
( |
| ) |
const |
|
inline |
◆ matchResume()
bool DbStringFormat::matchResume |
( |
| ) |
const |
|
inline |
◆ matchStats()
bool DbStringFormat::matchStats |
( |
| ) |
const |
|
inline |
◆ matchVars()
bool DbStringFormat::matchVars |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ setArray()
void DbStringFormat::setArray |
( |
| ) |
|
|
inline |
◆ setCols()
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) |
◆ setExtend()
void DbStringFormat::setExtend |
( |
| ) |
|
|
inline |
◆ setFlags()
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 |
|
) |
| |
◆ setLocator()
void DbStringFormat::setLocator |
( |
| ) |
|
|
inline |
◆ setMode()
void DbStringFormat::setMode |
( |
int |
mode | ) |
|
|
inline |
- Parameters
-
mode | Way to consider the variable for Stats (1: Real; 2: Categorical) |
◆ setNames()
Reduce the set of variables for which the print is provided
- Parameters
-
names | Vector of Column names |
◆ setParams()
void DbStringFormat::setParams |
( |
unsigned char |
params | ) |
|
|
inline |
Set the String Format parameters
- Parameters
-
params | Mask defining the printout |
◆ setResume()
void DbStringFormat::setResume |
( |
| ) |
|
|
inline |
◆ setStats()
void DbStringFormat::setStats |
( |
| ) |
|
|
inline |
◆ setUseSel()
void DbStringFormat::setUseSel |
( |
bool |
useSel | ) |
|
|
inline |
Using the current Selection or Not
- Parameters
-
useSel | Take the selection into account when true |
◆ setVars()
void DbStringFormat::setVars |
( |
| ) |
|
|
inline |
◆ toString()
The documentation for this class was generated from the following files: