version 3.12.0

split pibase.h into 2 files
add PIScopeExitCall
This commit is contained in:
2023-06-18 22:02:20 +03:00
parent dd56b1c142
commit 1a214cff4e
4 changed files with 440 additions and 382 deletions

View File

@@ -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;