|
[Sponsors] |
December 26, 2017, 13:41 |
Check existence of member (or check class)
|
#1 |
Member
Joaquín Neira
Join Date: Oct 2017
Posts: 38
Rep Power: 9 |
Hello,
I need to create an IF statement, which checks what is the class of a determined variable. If this can't be done, I'd like to create an IF statement that checks if a class member exists. something like this: Code:
if (variable.member() exists) {} |
|
Tags |
checking, if statement |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to check the existence of a file | jht529100 | FLUENT | 1 | October 13, 2011 04:39 |
Error in recompiling the solver | m.maneshi | OpenFOAM Running, Solving & CFD | 0 | August 28, 2010 15:14 |
critical error during installation of openfoam | Fabio88 | OpenFOAM Installation | 21 | June 2, 2010 04:01 |
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found | piprus | OpenFOAM Installation | 22 | February 25, 2010 14:43 |
Problems in compiling paraview in Suse 10.3 platform | chiven | OpenFOAM Installation | 3 | December 1, 2009 08:21 |