version 3.12.0
split pibase.h into 2 files add PIScopeExitCall
This commit is contained in:
5
main.cpp
5
main.cpp
@@ -67,7 +67,10 @@ int main(int argc, char * argv[]) {
|
||||
// piCout << e.toString();
|
||||
// piCout << PIVariantTypes::Enum::fromString(e.toString()).toString();
|
||||
// piCout << PIVariantTypes::Enum::fromString("\"MyEnum\"(\"Null\":10105 \"Sec\":20 \"Fir\":100) 20").toString();
|
||||
|
||||
{
|
||||
PIScopeExitCall ec([]() { piCout << "exit"; });
|
||||
ec.cancel();
|
||||
}
|
||||
piCout << PIVariantTypes::Enum::fromString("(\"DeformationWithTemperature2\":1\n;Sigma1:2\n;Tau:3)").toString();
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user