FEDEM Solver  R8.0
Source code of the dynamics solver
Public Member Functions | Public Attributes | Private Attributes | List of all members
FFaMathVar Class Reference

#include <FFaMathVar.H>

Public Member Functions

 FFaMathVar ()
 
 FFaMathVar (const FFaMathVar &)=delete
 
 FFaMathVar (const char *)
 An object of type FFaMathVar is created. Constructor. More...
 
 ~FFaMathVar ()
 Destructor for FFaMathVar. More...
 
void rename (const char *)
 Assign a new name to the variable. More...
 
bool operator== (const FFaMathVar &) const
 Overload operator '=='. More...
 
FFaMathVaroperator= (double x)
 
FFaMathVaroperator= (const FFaMathVar &)=delete
 
 operator double () const
 
const double * ptr () const
 

Public Attributes

char * name
 

Private Attributes

double pval
 

Constructor & Destructor Documentation

◆ FFaMathVar() [1/3]

FFaMathVar::FFaMathVar ( )
inline

◆ FFaMathVar() [2/3]

FFaMathVar::FFaMathVar ( const FFaMathVar )
delete

◆ FFaMathVar() [3/3]

FFaMathVar::FFaMathVar ( const char *  namep)

An object of type FFaMathVar is created. Constructor.

Parameters
namepVariable name, string

◆ ~FFaMathVar()

FFaMathVar::~FFaMathVar ( )

Destructor for FFaMathVar.

Member Function Documentation

◆ operator double()

FFaMathVar::operator double ( ) const
inline

◆ operator=() [1/2]

FFaMathVar& FFaMathVar::operator= ( const FFaMathVar )
delete

◆ operator=() [2/2]

FFaMathVar& FFaMathVar::operator= ( double  x)
inline

◆ operator==()

bool FFaMathVar::operator== ( const FFaMathVar var2) const

Overload operator '=='.

Parameters
var2of type FFaMathVar
Returns
The result of the equality check

◆ ptr()

const double* FFaMathVar::ptr ( ) const
inline

◆ rename()

void FFaMathVar::rename ( const char *  namep)

Assign a new name to the variable.

Parameters
namepThe new variable name, string

Member Data Documentation

◆ name

char* FFaMathVar::name

◆ pval

double FFaMathVar::pval
private

The documentation for this class was generated from the following files: