AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface

◆ IdChecker()

drama::sds::IdChecker::IdChecker ( int  line,
const char file,
const char function 
)
inline

Construct an SdsChecker object.

When constructed, this object will run SdsCheckInit() and save the results. When the destructor is run, it will run SdsCheck() and write a message to stderr if there was a net change in SDS id's which are allocated since the

Remarks
Use the SDS_CHECK_IDS marco to invoke this (if only used once in a block.
Only available if the marcro DRAMA_ALLOW_CPP_STDLIB is defined.
Parameters
lineThe line number the object is constructed as.
Assign to LINE.
fileThe compilation file the object is constructed in. Assign to FILE.
functionA function/method name to be used in the message.

References drama::CreateRunDramaTask().