FEDEM Solver  R8.0
Source code of the dynamics solver
Macros | Functions
FFCmdLineArgInterface.C File Reference

Wrapper for FFaCmdLineArg to facilitate use in shared object libraries. More...

#include "FFaLib/FFaCmdLineArg/FFaCmdLineArg.H"
Include dependency graph for FFCmdLineArgInterface.C:

Macros

#define DLLexport   extern "C"
 Export of symbols form shared libraries on Linux. More...
 

Functions

DLLexport void AddIntCmdLineOption (const char *ident, int defaultVal, const char *descr, bool showToAll)
 Adds an int-valued command-line option. More...
 
DLLexport void AddFloatCmdLineOption (const char *ident, float defaultVal, const char *descr, bool showToAll)
 Adds a float-valued command-line option. More...
 
DLLexport void AddDoubleCmdLineOption (const char *ident, double defaultVal, const char *descr, bool showToAll)
 Adds a double-valued command-line option. More...
 
DLLexport void AddCmdLineOption (const char *ident, const char *defaultVal, const char *descr, bool showToAll)
 Adds a string-valued command-line option. More...
 
DLLexport void AddBoolCmdLineOption (const char *ident, bool defaultVal, const char *descr, bool showToAll)
 Adds a bool-valued command-line option. More...
 
DLLexport void AddDblVecCmdLineOption (const char *ident, const DoubleVec &defaultVal, const char *descr, bool showToAll)
 Adds a vector-of-doubles-valued command-line option. More...
 

Detailed Description

Wrapper for FFaCmdLineArg to facilitate use in shared object libraries.

Macro Definition Documentation

◆ DLLexport

#define DLLexport   extern "C"

Export of symbols form shared libraries on Linux.

Function Documentation

◆ AddBoolCmdLineOption()

DLLexport void AddBoolCmdLineOption ( const char *  ident,
bool  defaultVal,
const char *  descr,
bool  showToAll 
)

Adds a bool-valued command-line option.

◆ AddCmdLineOption()

DLLexport void AddCmdLineOption ( const char *  ident,
const char *  defaultVal,
const char *  descr,
bool  showToAll 
)

Adds a string-valued command-line option.

◆ AddDblVecCmdLineOption()

DLLexport void AddDblVecCmdLineOption ( const char *  ident,
const DoubleVec defaultVal,
const char *  descr,
bool  showToAll 
)

Adds a vector-of-doubles-valued command-line option.

◆ AddDoubleCmdLineOption()

DLLexport void AddDoubleCmdLineOption ( const char *  ident,
double  defaultVal,
const char *  descr,
bool  showToAll 
)

Adds a double-valued command-line option.

◆ AddFloatCmdLineOption()

DLLexport void AddFloatCmdLineOption ( const char *  ident,
float  defaultVal,
const char *  descr,
bool  showToAll 
)

Adds a float-valued command-line option.

◆ AddIntCmdLineOption()

DLLexport void AddIntCmdLineOption ( const char *  ident,
int  defaultVal,
const char *  descr,
bool  showToAll 
)

Adds an int-valued command-line option.