1.2.2
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 (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 (String argstr="Default String")
 
GSTLEARN_EXPORT void argumentDefTestVInt (VectorInt argVInt=VectorInt())
 
GSTLEARN_EXPORT void argumentDefTestVDbl (VectorDouble argdVDbl=VectorDouble())
 
GSTLEARN_EXPORT void argumentDefTestVString (VectorString argVString=VectorString())
 
GSTLEARN_EXPORT void argumentDefTestVVInt (VectorVectorInt argVVInt=VectorVectorInt())
 
GSTLEARN_EXPORT void argumentDefTestVVDbl (VectorVectorDouble argVVDbl=VectorVectorDouble())
 

Macro Definition Documentation

#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

GSTLEARN_EXPORT void argumentDefTestDbl ( double  argDbl = 2.)
GSTLEARN_EXPORT void argumentDefTestInt ( int  argInt = 2)
GSTLEARN_EXPORT void argumentDefTestStr ( String  argstr = "Default String")
GSTLEARN_EXPORT void argumentDefTestVDbl ( VectorDouble  argdVDbl = VectorDouble())
GSTLEARN_EXPORT void argumentDefTestVInt ( VectorInt  argVInt = VectorInt())
GSTLEARN_EXPORT void argumentDefTestVString ( VectorString  argVString = VectorString())
GSTLEARN_EXPORT void argumentDefTestVVDbl ( VectorVectorDouble  argVVDbl = VectorVectorDouble())
GSTLEARN_EXPORT void argumentDefTestVVInt ( VectorVectorInt  argVVInt = VectorVectorInt())
GSTLEARN_EXPORT double argumentReturnDouble ( double  value)
GSTLEARN_EXPORT int argumentReturnInt ( int  value)
GSTLEARN_EXPORT VectorDouble argumentReturnVectorDouble ( const VectorDouble values)
GSTLEARN_EXPORT VectorInt argumentReturnVectorInt ( const VectorInt values)
GSTLEARN_EXPORT void argumentTestDouble ( double  value)

Function to test Double argument

Parameters
valueDouble input argument
GSTLEARN_EXPORT void argumentTestDoubleOverload ( double  value)
GSTLEARN_EXPORT void argumentTestDoubleOverload ( const VectorDouble values)
GSTLEARN_EXPORT void argumentTestEnum ( ETests  value)
GSTLEARN_EXPORT void argumentTestInt ( int  value)

Function to test Integer argument

Parameters
valueInteger input argument
GSTLEARN_EXPORT void argumentTestIntOverload ( int  value)
GSTLEARN_EXPORT void argumentTestIntOverload ( const VectorInt values)
GSTLEARN_EXPORT void argumentTestMatrix ( const AMatrix mat)
GSTLEARN_EXPORT void argumentTestString ( const String value)
GSTLEARN_EXPORT void argumentTestStringOverload ( const String value)
GSTLEARN_EXPORT void argumentTestStringOverload ( const VectorString values)
GSTLEARN_EXPORT void argumentTestVectorDouble ( const VectorDouble values)
GSTLEARN_EXPORT void argumentTestVectorInt ( const VectorInt values)
GSTLEARN_EXPORT void argumentTestVectorString ( const VectorString values)
GSTLEARN_EXPORT void argumentTestVectorVectorDouble ( const VectorVectorDouble values)
GSTLEARN_EXPORT void argumentTestVectorVectorInt ( const VectorVectorInt values)