1.5.1
CCC
 
ArgumentTest.cpp File Reference

Functions

void _endOfLine ()
 
void _test ()
 
void _introduction (const String &title, bool end_of_line=false)
 
void _printEmpty ()
 
void _printInt (int value)
 
void _printDouble (double value)
 
void _printString (const String &value)
 
void _printVectorInt (const VectorInt &values)
 
void _printVectorDouble (const VectorDouble &values)
 
void _printVectorString (const VectorString &values)
 
void _printVectorVectorInt (const VectorVectorInt &values)
 
void _printVectorVectorDouble (const VectorVectorDouble &values)
 
void argumentTestInt (int value)
 
void argumentTestDouble (double value)
 
void argumentTestVectorInt (const VectorInt &values)
 
void argumentTestVectorDouble (const VectorDouble &values)
 
void argumentTestString (const String &value)
 
void argumentTestVectorVectorInt (const VectorVectorInt &values)
 
void argumentTestVectorVectorDouble (const VectorVectorDouble &values)
 
void argumentTestVectorString (const VectorString &values)
 
void argumentTestStringOverload (const String &value)
 
void argumentTestIntOverload (int value)
 
void argumentTestIntOverload (const VectorInt &values)
 
void argumentTestDoubleOverload (double value)
 
void argumentTestDoubleOverload (const VectorDouble &values)
 
void argumentTestStringOverload (const VectorString &values)
 
void argumentTestEnum (const ETests &value)
 
int argumentReturnInt (int value)
 
double argumentReturnDouble (double value)
 
VectorInt argumentReturnVectorInt (const VectorInt &values)
 
GSTLEARN_EXPORT VectorDouble argumentReturnVectorDouble (const VectorDouble &values)
 
GSTLEARN_EXPORT VectorVectorInt argumentReturnVectorVectorInt (const VectorVectorInt &values)
 
GSTLEARN_EXPORT VectorVectorDouble argumentReturnVectorVectorDouble (const VectorVectorDouble &values)
 
GSTLEARN_EXPORT void argumentDefTestInt (int argInt)
 
GSTLEARN_EXPORT void argumentDefTestDbl (double argDbl)
 
GSTLEARN_EXPORT void argumentDefTestStr (const String &argstr)
 
GSTLEARN_EXPORT void argumentDefTestVInt (const VectorInt &argVInt)
 
GSTLEARN_EXPORT void argumentDefTestVDbl (const VectorDouble &argVDbl)
 
GSTLEARN_EXPORT void argumentDefTestVString (const VectorString &argVString)
 
GSTLEARN_EXPORT void argumentDefTestVVDbl (VectorVectorDouble argVVDbl)
 
GSTLEARN_EXPORT void argumentDefTestVVInt (VectorVectorInt argVVInt)
 
GSTLEARN_EXPORT void argumentTestMatrixRectangular (const MatrixRectangular &mat)
 
GSTLEARN_EXPORT void argumentTestMatrixSquareGeneral (const MatrixSquareGeneral &mat)
 
GSTLEARN_EXPORT void argumentTestMatrixSquareSymmetric (const MatrixSquareSymmetric &mat)
 
GSTLEARN_EXPORT MatrixRectangular argumentReturnMatrix (int nrows, int ncols, int seed)
 
GSTLEARN_EXPORT void argumentTestMatrixSparse (const MatrixSparse &mat)
 
GSTLEARN_EXPORT MatrixSparse argumentReturnMatrixSparse (int nrows, int ncols, double zeroPercent, int seed)
 

Function Documentation

◆ _endOfLine()

void _endOfLine ( )

◆ _introduction()

void _introduction ( const String title,
bool  end_of_line = false 
)

◆ _printDouble()

void _printDouble ( double  value)

◆ _printEmpty()

void _printEmpty ( )

◆ _printInt()

void _printInt ( int  value)

◆ _printString()

void _printString ( const String value)

◆ _printVectorDouble()

void _printVectorDouble ( const VectorDouble values)

◆ _printVectorInt()

void _printVectorInt ( const VectorInt values)

◆ _printVectorString()

void _printVectorString ( const VectorString values)

◆ _printVectorVectorDouble()

void _printVectorVectorDouble ( const VectorVectorDouble values)

◆ _printVectorVectorInt()

void _printVectorVectorInt ( const VectorVectorInt values)

◆ _test()

void _test ( )

◆ argumentDefTestDbl()

GSTLEARN_EXPORT void argumentDefTestDbl ( double  argDbl)

◆ argumentDefTestInt()

GSTLEARN_EXPORT void argumentDefTestInt ( int  argInt)

◆ argumentDefTestStr()

GSTLEARN_EXPORT void argumentDefTestStr ( const String argstr)

◆ argumentDefTestVDbl()

GSTLEARN_EXPORT void argumentDefTestVDbl ( const VectorDouble argVDbl)

◆ argumentDefTestVInt()

GSTLEARN_EXPORT void argumentDefTestVInt ( const VectorInt argVInt)

◆ argumentDefTestVString()

GSTLEARN_EXPORT void argumentDefTestVString ( const VectorString argVString)

◆ argumentDefTestVVDbl()

GSTLEARN_EXPORT void argumentDefTestVVDbl ( VectorVectorDouble  argVVDbl)

◆ argumentDefTestVVInt()

GSTLEARN_EXPORT void argumentDefTestVVInt ( VectorVectorInt  argVVInt)

◆ argumentReturnDouble()

double argumentReturnDouble ( double  value)

◆ argumentReturnInt()

int argumentReturnInt ( int  value)

◆ argumentReturnMatrix()

GSTLEARN_EXPORT MatrixRectangular argumentReturnMatrix ( int  nrows,
int  ncols,
int  seed 
)

◆ argumentReturnMatrixSparse()

GSTLEARN_EXPORT MatrixSparse argumentReturnMatrixSparse ( int  nrows,
int  ncols,
double  zeroPercent,
int  seed 
)

◆ argumentReturnVectorDouble()

GSTLEARN_EXPORT VectorDouble argumentReturnVectorDouble ( const VectorDouble values)

◆ argumentReturnVectorInt()

VectorInt argumentReturnVectorInt ( const VectorInt values)

◆ argumentReturnVectorVectorDouble()

GSTLEARN_EXPORT VectorVectorDouble argumentReturnVectorVectorDouble ( const VectorVectorDouble values)

◆ argumentReturnVectorVectorInt()

GSTLEARN_EXPORT VectorVectorInt argumentReturnVectorVectorInt ( const VectorVectorInt values)

◆ argumentTestDouble()

void argumentTestDouble ( double  value)

Function to test Double argument

Parameters
valueDouble input argument

◆ argumentTestDoubleOverload() [1/2]

void argumentTestDoubleOverload ( const VectorDouble values)

◆ argumentTestDoubleOverload() [2/2]

void argumentTestDoubleOverload ( double  value)

◆ argumentTestEnum()

void argumentTestEnum ( const ETests &  value)

◆ argumentTestInt()

void argumentTestInt ( int  value)

Function to test Integer argument

Parameters
valueInteger input argument

◆ argumentTestIntOverload() [1/2]

void argumentTestIntOverload ( const VectorInt values)

◆ argumentTestIntOverload() [2/2]

void argumentTestIntOverload ( int  value)

◆ argumentTestMatrixRectangular()

GSTLEARN_EXPORT void argumentTestMatrixRectangular ( const MatrixRectangular mat)

◆ argumentTestMatrixSparse()

GSTLEARN_EXPORT void argumentTestMatrixSparse ( const MatrixSparse mat)

◆ argumentTestMatrixSquareGeneral()

GSTLEARN_EXPORT void argumentTestMatrixSquareGeneral ( const MatrixSquareGeneral mat)

◆ argumentTestMatrixSquareSymmetric()

GSTLEARN_EXPORT void argumentTestMatrixSquareSymmetric ( const MatrixSquareSymmetric mat)

◆ argumentTestString()

void argumentTestString ( const String value)

◆ argumentTestStringOverload() [1/2]

void argumentTestStringOverload ( const String value)

◆ argumentTestStringOverload() [2/2]

void argumentTestStringOverload ( const VectorString values)

◆ argumentTestVectorDouble()

void argumentTestVectorDouble ( const VectorDouble values)

◆ argumentTestVectorInt()

void argumentTestVectorInt ( const VectorInt values)

◆ argumentTestVectorString()

void argumentTestVectorString ( const VectorString values)

◆ argumentTestVectorVectorDouble()

void argumentTestVectorVectorDouble ( const VectorVectorDouble values)

◆ argumentTestVectorVectorInt()

void argumentTestVectorVectorInt ( const VectorVectorInt values)