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

◆ ValidateCode()

virtual void drama::sds::Id::ValidateCode ( SdsCodeType  requiredCode) const
inlinevirtual

Validate the code of the SDS item.

Fetch the SDS code of the underlying SDS item and confirm is matches the specified code. Throw an exception if it does not.

Parameters
requiredCodeThe SDS code we are expecting.
See also
SdsInfo()
SdsGetCode()

References drama::CreateRunDramaTask(), DramaTHROW, DramaTHROW_S, and GetName().