Class Reference stdLib

Access to stdlib functiuons. More...

Member

int stdlib::abs(int i)
int stdlib::rand()
int stdlib::time()
int stdlib::secSinceMacroStart()
int stdlib::msecSinceMacroStart()

Detailed Description

Class to access stdlib functions. StdLib is a c-library with common basic features of c. These class will made some of these feature available in LayoutEditor C++ Macros. For the other scripting interfaces a native alternative will exist.

Member Function Documentation


static int stdlib::abs(int i)

Returns: the absolute (positive) value from i.


static int stdlib::rand()

Returns: a random integer, The maximum range depends on the plattform this method is called.


static int stdlib::time()

Returns: a integer with the number of seconds (since this method was added) (introduced with release 20241011)


static int stdlib::secSinceMacroStart()

Returns: a integer with the number of seconds since the macro was started (introduced with release 20241011)


static int stdlib::msecSinceMacroStart()

Returns: a integer with the number of milliseconds since the macro was started (introduced with release 20241011)