Among most of the Elektron consumer examples, most of the ReqMsg have not set domain. I mean ReqMsg::domainType() functions, Why?
btw. the following code crash, could anyone take a look? Thank!
OmmArray RicList;
RicList.addAscii( "TRI.N" ).addAscii( "AAPL.O" ).complete();
OmmArray FieldList;
FieldList.fixedWidth( 2 ).addInt( 21 ).addInt( 22 ).addInt( 25 ).complete();
ReqMsg MyReqMsg;
MyReqMsg.serviceName( "EED_DELAYED" )
.payload( ElementList().addArray( ":ItemList", RicList )
.addUInt( ":ViewType", 1 ).addArray( ":ViewData", FieldList)
.complete() );
MyReqMsg.domainType();
auto domaintype=
MyReqMsg.getDomainType();// this line crash