AXCEL C++ Framework
Elegance through abstraction
|
Input/Output stream. More...
#include <axcel.h>
Public Member Functions | |
string | type () |
Get type of object. | |
operator string () | |
Convert to string. | |
ios & | operator<< (object &o) |
Print object. | |
ios & | operator<< (bool val) |
ios & | operator<< (short val) |
ios & | operator<< (unsigned short val) |
ios & | operator<< (int val) |
ios & | operator<< (unsigned int val) |
ios & | operator<< (long val) |
ios & | operator<< (unsigned long val) |
ios & | operator<< (float val) |
ios & | operator<< (double val) |
ios & | operator<< (long double val) |
ios & | operator<< (const void *val) |
ios & | operator<< (char c) |
ios & | operator<< (signed char c) |
ios & | operator<< (unsigned char c) |
ios & | operator<< (const char *s) |
ios & | operator<< (string s) |
ios & | put (object &o) |
Print object. | |
ios & | put (string s) |
ios & | echo (object &o) |
Print object on new line. | |
ios & | echo (string s) |
ios & | put (bool val) |
ios & | put (short val) |
ios & | put (unsigned short val) |
ios & | put (int val) |
ios & | put (long val) |
ios & | put (unsigned long val) |
ios & | put (float val) |
ios & | put (double val) |
ios & | put (long double val) |
ios & | put (const void *val) |
ios & | put (char c) |
ios & | put (signed char c) |
ios & | put (unsigned char c) |
ios & | put (const char *s) |
ios & | echo () |
ios & | echo (bool val) |
ios & | echo (short val) |
ios & | echo (unsigned short val) |
ios & | echo (int val) |
ios & | echo (size_t val) |
ios & | echo (long val) |
ios & | echo (unsigned long val) |
ios & | echo (float val) |
ios & | echo (double val) |
ios & | echo (long double val) |
ios & | echo (const void *val) |
ios & | echo (char c) |
ios & | echo (signed char c) |
ios & | echo (unsigned char c) |
ios & | echo (const char *s) |
ios & | operator>> (bool &val) |
ios & | operator>> (short &val) |
ios & | operator>> (unsigned short &val) |
ios & | operator>> (int &val) |
ios & | operator>> (unsigned int &val) |
ios & | operator>> (long &val) |
ios & | operator>> (unsigned long &val) |
ios & | operator>> (long long &val) |
ios & | operator>> (unsigned long long &val) |
ios & | operator>> (float &val) |
ios & | operator>> (double &val) |
ios & | operator>> (long double &val) |
ios & | operator>> (void *&val) |
ios & | operator>> (char &c) |
ios & | operator>> (char *s) |
ios & | operator>> (string &s) |
Input/Output stream.
Combines the input and output stream classes to allow the stream insertion and extraction operators to be chained together. Basically, methods from the input or output classes which would return a reference to itself will return a reference to the ios object instead.
Print object on new line.
o | object to output |
Casts object o to string to get suitable string representation of the object's data. The string is then written to this stream followed by a '\n' character.
Reimplemented from axcel::io::output.
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::echo | ( | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::echo | ( | bool | val | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::echo | ( | short | val | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::echo | ( | unsigned short | val | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::echo | ( | int | val | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::echo | ( | size_t | val | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::echo | ( | long | val | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::echo | ( | unsigned long | val | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::echo | ( | float | val | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::echo | ( | double | val | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::echo | ( | long double | val | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::echo | ( | const void * | val | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::echo | ( | char | c | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::echo | ( | signed char | c | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::echo | ( | unsigned char | c | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::echo | ( | const char * | s | ) |
Reimplemented from axcel::io::output.
axcel::io::ios::operator string | ( | ) | [virtual] |
Convert to string.
Reimplemented from axcel::io::iob.
Reimplemented in axcel::data, axcel::string, axcel::fs::file, axcel::net::socket::tcp, axcel::console, and axcel::proc::pstream.
io::ios & axcel::io::ios::operator<< | ( | signed char | c | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::operator<< | ( | unsigned char | c | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::operator<< | ( | const char * | s | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::operator<< | ( | unsigned int | val | ) |
Reimplemented from axcel::io::output.
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::operator<< | ( | long | val | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::operator<< | ( | unsigned long | val | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::operator<< | ( | float | val | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::operator<< | ( | bool | val | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::operator<< | ( | short | val | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::operator<< | ( | unsigned short | val | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::operator<< | ( | double | val | ) |
Reimplemented from axcel::io::output.
Print object.
o | object to output |
Casts object o to string to get suitable string representation of the object's data. The string is then written to this stream.
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::operator<< | ( | long double | val | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::operator<< | ( | int | val | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::operator<< | ( | const void * | val | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::operator<< | ( | char | c | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::operator>> | ( | float & | val | ) |
Reimplemented from axcel::io::input.
io::ios & axcel::io::ios::operator>> | ( | double & | val | ) |
Reimplemented from axcel::io::input.
io::ios & axcel::io::ios::operator>> | ( | long double & | val | ) |
Reimplemented from axcel::io::input.
io::ios & axcel::io::ios::operator>> | ( | unsigned long long & | val | ) |
Reimplemented from axcel::io::input.
io::ios & axcel::io::ios::operator>> | ( | void *& | val | ) |
Reimplemented from axcel::io::input.
io::ios & axcel::io::ios::operator>> | ( | char * | s | ) |
Reimplemented from axcel::io::input.
Reimplemented from axcel::io::input.
io::ios & axcel::io::ios::operator>> | ( | long & | val | ) |
Reimplemented from axcel::io::input.
io::ios & axcel::io::ios::operator>> | ( | char & | c | ) |
Reimplemented from axcel::io::input.
io::ios & axcel::io::ios::operator>> | ( | long long & | val | ) |
Reimplemented from axcel::io::input.
io::ios & axcel::io::ios::operator>> | ( | int & | val | ) |
Reimplemented from axcel::io::input.
io::ios & axcel::io::ios::operator>> | ( | short & | val | ) |
Reimplemented from axcel::io::input.
io::ios & axcel::io::ios::operator>> | ( | bool & | val | ) |
Reimplemented from axcel::io::input.
io::ios & axcel::io::ios::operator>> | ( | unsigned short & | val | ) |
Reimplemented from axcel::io::input.
io::ios & axcel::io::ios::operator>> | ( | unsigned int & | val | ) |
Reimplemented from axcel::io::input.
io::ios & axcel::io::ios::operator>> | ( | unsigned long & | val | ) |
Reimplemented from axcel::io::input.
io::ios & axcel::io::ios::put | ( | bool | val | ) |
Reimplemented from axcel::io::output.
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::put | ( | char | c | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::put | ( | const void * | val | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::put | ( | long | val | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::put | ( | long double | val | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::put | ( | short | val | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::put | ( | signed char | c | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::put | ( | unsigned long | val | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::put | ( | const char * | s | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::put | ( | unsigned char | c | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::put | ( | float | val | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::put | ( | double | val | ) |
Reimplemented from axcel::io::output.
Print object.
o | object to output |
Casts object o to string to get suitable string representation of the object's data. The string is then written to this stream.
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::put | ( | unsigned short | val | ) |
Reimplemented from axcel::io::output.
io::ios & axcel::io::ios::put | ( | int | val | ) |
Reimplemented from axcel::io::output.
string axcel::io::ios::type | ( | ) | [virtual] |
Get type of object.
Reimplemented from axcel::io::input.
Reimplemented in axcel::data, axcel::string, axcel::fs::file, axcel::net::socket::tcp, axcel::console, and axcel::proc::pstream.