oemolostream

class oemolostream : public oemolstreambase

This class represents oemolostream.

The following methods are publicly inherited from oemolstreambase:

GetBinaryIOHandler Getgz close
GetFlavor SetFlavor open
GetFormat SetFormat  

Constructors

oemolostream()
oemolostream(const char *name)
oemolostream(const std::string &fn)
oemolostream(OEPlatform::oeostream *, bool owned=true)

Default and copy constructors.

operator bool

operator bool() const

operator OEPlatform::oeostream &

operator OEPlatform::oeostream &() const

GetString

std::string GetString(void)

SetFlavor

bool SetFlavor(unsigned int format, unsigned int flavor)

SetFormat

bool SetFormat(unsigned int format)

SetString

void SetString(const char *c)
void SetString(const unsigned char *c, oesize_t size)

Setgz

bool Setgz(bool gz, OEPlatform::oeostream *sptr=0, bool=false)

close

void close()

flush

oemolostream &flush()

openstring

bool openstring()
bool openstring(bool gzip)

put

oemolostream &put(char c)

seekp

oemolostream &seekp(oefpos_t pos)
oemolostream &seekp(oefpos_t offset, OEPlatform::oestream::seek_dir dir)

tell

oefpos_t tell()

write

oemolostream &write(const char *str, oesize_t size)