X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=core%2FCharstring.hh;h=196745007855883f9ff04edfbdc8d8f48ce0f8af;hb=3f84031e48520efb2cbc931692210e5de7fa5919;hp=c12e7c794ccd872614d956500e0001019d9f1045;hpb=51fa56b97ff178aa82497de54a5945698517e55d;p=deliverable%2Ftitan.core.git diff --git a/core/Charstring.hh b/core/Charstring.hh index c12e7c7..1967450 100644 --- a/core/Charstring.hh +++ b/core/Charstring.hh @@ -251,6 +251,10 @@ public: #ifdef TITAN_RUNTIME_2 virtual int encode_raw(TTCN_Buffer& p_buf) const; + /** Adds this charstring to the end of a JSON buffer as raw data. + * Used during the negative testing of the JSON encoder. + * @return The number of bytes added. */ + int JSON_encode_negtest_raw(JSON_Tokenizer&) const; #endif };