model_server/smt/src/smt_interface.cxx
/****
* ste_smt_send_string()   returns number of copied characters
****/
ste_smt_send_string()   returns number of copied characters
ste_smt_send_string () returns number of copied characters
int ste_smt_send_string( smtTreePtr t, ostream& s )
{
    Initialize(ste_smt_send_string);
    smtHeaderPtr h = checked_cast(smtHeader,t->get_header());
    Assert (h);
    int len = t->length ();
    char* buff = h->srcbuf + t->start ();
    for( int i = 0; i < len; i++ )
        s << buff[i] ;
    return len;
}
int ste_smt_send_string ( smtTreePtr t , ostream & s ) { Initialize ( ste_smt_send_string ) ; smtHeaderPtr h = checked_cast ( smtHeader , t -> get_header ( ) ) ; Assert ( h ) ; int len = t -> length ( ) ; char * buff = h -> srcbuf + t -> start ( ) ; for ( int i = 0 ; i < len ; i ++ ) s << buff [ i ] ; return len ; }
ste_smt_send_string()   returns number of copied characters
ste_smt_send_string () returns number of copied characters