3DCoatScripting  4.8.31β
You can manage 3DСoat features with help of scripting
coat::scripto::Safety Class Reference

Class for stability works the complex classes. More...

Public Types

typedef std::string who_t
 

Public Member Functions

const About & about () const
 
bool hasErrors () const
 
bool hasWarnings () const
 
std::string errors ()
 Returns errors and (!) clears it.
 
SafetypushError (const who_t &, const std::string &)
 
std::string warnings ()
 Returns warnings and (!) clears it.
 
SafetypushWarning (const who_t &, const std::string &)
 
Safetyoperator() ()
 Stops the script when errors or warnings are presents. More...
 

Static Public Member Functions

static Safetyinstance ()
 

Protected Member Functions

void clearErrors ()
 
void clearWarnings ()
 

Static Protected Member Functions

static std::string now ()
 

Detailed Description

Class for stability works the complex classes.

Accumulates warnings and errors.

See Also
UI

Member Function Documentation

Safety & coat::scripto::Safety::operator() ( )

Stops the script when errors or warnings are presents.

Drops errors and warnings to DebugLog.