support NO_CPP_PORTAL_CODE in generated CPP file
updated tests/simple_manual
updated tests/memread_manual