FEDEM Solver
R8.0
Source code of the dynamics solver
|
Utilities for accessing unary operations. More...
Typedefs | |
typedef std::vector< double > | DoubleVec |
Convenience type definition. More... | |
Functions | |
template<class RetType > | |
bool | getUnaryConvertOp (FFaOperation< RetType > *&to, FFaOperationBase *from, const std::string &operationName) |
Converts an operation based on name and return type. More... | |
std::vector< std::string > | findOpers (const std::string &varType, bool silence=false) |
Returns valid operation names for a given variable type. More... | |
bool | hasOpers (const std::string &varType) |
Checks if given variable type has any operation defined. More... | |
std::string | getDefaultOper (const std::string &varType, bool silence=false) |
Returns default operation name for a given variable type. More... | |
Utilities for accessing unary operations.
typedef std::vector<double> FFaOpUtils::DoubleVec |
Convenience type definition.
std::vector< std::string > FFaOpUtils::findOpers | ( | const std::string & | varType, |
bool | silence = false |
||
) |
Returns valid operation names for a given variable type.
std::string FFaOpUtils::getDefaultOper | ( | const std::string & | varType, |
bool | silence = false |
||
) |
Returns default operation name for a given variable type.
bool FFaOpUtils::getUnaryConvertOp | ( | FFaOperation< RetType > *& | to, |
FFaOperationBase * | from, | ||
const std::string & | operationName | ||
) |
Converts an operation based on name and return type.
|
inline |
Checks if given variable type has any operation defined.