70 return buf.sgetn(c,n);
86 }
while ( res != EOF && c[i-1] != delim && i != n );
103 }
while ( res != EOF && c[i-1] != delim );
118 write(result.c_str(), result.length() );
125 write(result.c_str(), result.length() );
137 buf.sputn( c, strlen(c) );
143 return ( *f ) ( *this );
149 write( result.c_str(), result.length() );
155 write( s.c_str(), s.length() );
162 write( result.c_str(), result.length() );
170 int i_res = buf.sgetc();
171 while ( (i_res != EOF) && (i_res !=
' ') )
173 result += char(i_res);
190 int i_res = buf.sgetc();
191 while ( (i_res != EOF) && (i_res !=
' ') )
193 result += char(i_res);
209 result += char(i_res);
210 }
while ( i_res !=
' ' );
221 int i_res = buf.sgetc();
222 while ( (i_res != EOF) && (i_res !=
' ') )
224 result += char(i_res);
virtual basic_ostreams & write(const char *c, streamsize n)
string float_to_string(float f)
(Almost) Real-Time output streams.
An basic_ostreams is a stream which can be written to.
int string_to_int(const string &s)
converts a string to an int
string unsigned_int_to_string(unsigned int u)
unsigned int string_to_unsigned_int(const string &s)
string int_to_string(int i)
basic_ostreams & endl(basic_ostreams &s)
Flush and newline.
streambufs::streamsize streamsize
printstream cout
Console Output.
streamsize readsome(char *c, streamsize n)
virtual ~basic_istreams()
basic_istreams & read(char *c, streamsize n)
streambufs::streamsize streamsize
The printstream is a stream for printing characters to the terminal window.
virtual ~basic_ostreams()
basic_istreams & operator>>(int &i)
virtual basic_ostreams & put(char c)
An basic_istream is a stream which can be read.
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
basic_ostreams & operator<<(int i)
Operators.