FEDEM Model Database  R8.0
Source code of the FEDEM model database
Functions | Variables
FFaTypeCheck Namespace Reference

Type checking control. More...

Functions

int getNewTypeID (const char *typeName)
 Returns a unique type ID number for typeName. More...
 
int getTypeIDFromName (const char *typeName)
 Returns the type ID number for typeName, if it exists. More...
 
const char * getTypeNameFromID (int typeID)
 Returns the type name associated with the specified typeID. More...
 

Variables

constexpr int NO_TYPE_ID = -1
 Value for undefined type ID number. More...
 

Detailed Description

Type checking control.

Function Documentation

◆ getNewTypeID()

int FFaTypeCheck::getNewTypeID ( const char *  typeName)

Returns a unique type ID number for typeName.

◆ getTypeIDFromName()

int FFaTypeCheck::getTypeIDFromName ( const char *  typeName)

Returns the type ID number for typeName, if it exists.

◆ getTypeNameFromID()

const char * FFaTypeCheck::getTypeNameFromID ( int  typeID)

Returns the type name associated with the specified typeID.

Variable Documentation

◆ NO_TYPE_ID

constexpr int FFaTypeCheck::NO_TYPE_ID = -1
constexpr

Value for undefined type ID number.