1.4.1
CCC
 
ArgumentTest.hpp File Reference
#include "gstlearn_export.hpp"
#include "Enum/AEnum.hpp"
#include "Basic/Utilities.hpp"

Classes

class  argClass
 

Macros

#define ENUM_TESTS
 

Functions

GSTLEARN_EXPORT void argumentTestInt (int value)
 
GSTLEARN_EXPORT void argumentTestDouble (double value)
 
GSTLEARN_EXPORT void argumentTestVectorInt (const VectorInt &values)
 
GSTLEARN_EXPORT void argumentTestVectorDouble (const VectorDouble &values)
 
GSTLEARN_EXPORT void argumentTestVectorVectorInt (const VectorVectorInt &values)
 
GSTLEARN_EXPORT void argumentTestVectorVectorDouble (const VectorVectorDouble &values)
 
GSTLEARN_EXPORT void argumentTestString (const String &value)
 
GSTLEARN_EXPORT void argumentTestVectorString (const VectorString &values)
 
GSTLEARN_EXPORT void argumentTestMatrix (const AMatrix &mat)
 
GSTLEARN_EXPORT void argumentTestIntOverload (int value)
 
GSTLEARN_EXPORT void argumentTestIntOverload (const VectorInt &values)
 
GSTLEARN_EXPORT void argumentTestDoubleOverload (double value)
 
GSTLEARN_EXPORT void argumentTestDoubleOverload (const VectorDouble &values)
 
GSTLEARN_EXPORT void argumentTestStringOverload (const String &value)
 
GSTLEARN_EXPORT void argumentTestStringOverload (const VectorString &values)
 
GSTLEARN_EXPORT void argumentTestEnum (const ETests &value)
 
GSTLEARN_EXPORT int argumentReturnInt (int value)
 
GSTLEARN_EXPORT double argumentReturnDouble (double value)
 
GSTLEARN_EXPORT VectorInt argumentReturnVectorInt (const VectorInt &values)
 
GSTLEARN_EXPORT VectorDouble argumentReturnVectorDouble (const VectorDouble &values)
 
GSTLEARN_EXPORT void argumentDefTestInt (int argInt=2)
 
GSTLEARN_EXPORT void argumentDefTestDbl (double argDbl=2.)
 
GSTLEARN_EXPORT void argumentDefTestStr (const String &argstr="Default String")
 
GSTLEARN_EXPORT void argumentDefTestVInt (const VectorInt &argVInt=VectorInt())
 
GSTLEARN_EXPORT void argumentDefTestVDbl (const VectorDouble &argdVDbl=VectorDouble())
 
GSTLEARN_EXPORT void argumentDefTestVString (const VectorString &argVString=VectorString())
 
GSTLEARN_EXPORT void argumentDefTestVVInt (VectorVectorInt argVVInt=VectorVectorInt())
 
GSTLEARN_EXPORT void argumentDefTestVVDbl (VectorVectorDouble argVVDbl=VectorVectorDouble())
 

Macro Definition Documentation

◆ ENUM_TESTS

#define ENUM_TESTS
Value:
ETests, CASE0,\
CASE0 , 0, "Enum test case 0",\
CASE1 , 1, "Enum test case 1",\
CASE2 , 2, "Enum test case 2"

Function Documentation

◆ argumentDefTestDbl()

GSTLEARN_EXPORT void argumentDefTestDbl ( double  argDbl = 2.)

◆ argumentDefTestInt()

GSTLEARN_EXPORT void argumentDefTestInt ( int  argInt = 2)

◆ argumentDefTestStr()

GSTLEARN_EXPORT void argumentDefTestStr ( const String argstr = "Default String")

◆ argumentDefTestVDbl()

GSTLEARN_EXPORT void argumentDefTestVDbl ( const VectorDouble argdVDbl = VectorDouble())

◆ argumentDefTestVInt()

GSTLEARN_EXPORT void argumentDefTestVInt ( const VectorInt argVInt = VectorInt())

◆ argumentDefTestVString()

GSTLEARN_EXPORT void argumentDefTestVString ( const VectorString argVString = VectorString())

◆ argumentDefTestVVDbl()

GSTLEARN_EXPORT void argumentDefTestVVDbl ( VectorVectorDouble  argVVDbl = VectorVectorDouble())

◆ argumentDefTestVVInt()

GSTLEARN_EXPORT void argumentDefTestVVInt ( VectorVectorInt  argVVInt = VectorVectorInt())

◆ argumentReturnDouble()

GSTLEARN_EXPORT double argumentReturnDouble ( double  value)

◆ argumentReturnInt()

GSTLEARN_EXPORT int argumentReturnInt ( int  value)

◆ argumentReturnVectorDouble()

GSTLEARN_EXPORT VectorDouble argumentReturnVectorDouble ( const VectorDouble values)

◆ argumentReturnVectorInt()

GSTLEARN_EXPORT VectorInt argumentReturnVectorInt ( const VectorInt values)

◆ argumentTestDouble()

GSTLEARN_EXPORT void argumentTestDouble ( double  value)

Function to test Double argument

Parameters
valueDouble input argument

◆ argumentTestDoubleOverload() [1/2]

GSTLEARN_EXPORT void argumentTestDoubleOverload ( const VectorDouble values)

◆ argumentTestDoubleOverload() [2/2]

GSTLEARN_EXPORT void argumentTestDoubleOverload ( double  value)

◆ argumentTestEnum()

GSTLEARN_EXPORT void argumentTestEnum ( const ETests &  value)

◆ argumentTestInt()

GSTLEARN_EXPORT void argumentTestInt ( int  value)

Function to test Integer argument

Parameters
valueInteger input argument

◆ argumentTestIntOverload() [1/2]

GSTLEARN_EXPORT void argumentTestIntOverload ( const VectorInt values)

◆ argumentTestIntOverload() [2/2]

GSTLEARN_EXPORT void argumentTestIntOverload ( int  value)

◆ argumentTestMatrix()

GSTLEARN_EXPORT void argumentTestMatrix ( const AMatrix mat)

◆ argumentTestString()

GSTLEARN_EXPORT void argumentTestString ( const String value)

◆ argumentTestStringOverload() [1/2]

GSTLEARN_EXPORT void argumentTestStringOverload ( const String value)

◆ argumentTestStringOverload() [2/2]

GSTLEARN_EXPORT void argumentTestStringOverload ( const VectorString values)

◆ argumentTestVectorDouble()

GSTLEARN_EXPORT void argumentTestVectorDouble ( const VectorDouble values)

◆ argumentTestVectorInt()

GSTLEARN_EXPORT void argumentTestVectorInt ( const VectorInt values)

◆ argumentTestVectorString()

GSTLEARN_EXPORT void argumentTestVectorString ( const VectorString values)

◆ argumentTestVectorVectorDouble()

GSTLEARN_EXPORT void argumentTestVectorVectorDouble ( const VectorVectorDouble values)

◆ argumentTestVectorVectorInt()

GSTLEARN_EXPORT void argumentTestVectorVectorInt ( const VectorVectorInt values)