User Documentation
Centre for Vision, Speech & Signal Processing
DEVELOP IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
ONetStreamC::ONetStreamC(void)
ONetStreamC::ONetStreamC(const StringC &,BooleanT,BooleanT)
ONetStreamC::ONetStreamC(const SocketC &,BooleanT)
ONetStreamC::Socket(void)
OStreamC::form(const char *,...)
OStreamC::operator ostream &(void)
OStreamC::operator const ostream &(void) const
OStreamC::os(void)
OStreamC::os(void) const
OStreamC::operator=(const OStreamC &)
OStreamC::write(const char *,streamsize)
OStreamC::put(char)
OStreamC::operator<<(const char *)
OStreamC::operator<<(const DataT &)
OStreamC::Tell(void) const
OStreamC::Seek(streampos)
OStreamC::tellp(void) const
OStreamC::seekg(streampos)
OStreamC::seekg(streampos,SeekDirT)
StreamBaseC::Name(void) const
StreamBaseC::IsOpen(void) const
StreamBaseC::good(void) const
StreamBaseC::bad(void) const
StreamBaseC::eof(void) const
StreamBaseC::fail(void) const
StreamBaseC::operator!(void) const
StreamBaseC::operator void *(void) const
StreamBaseC::DiagnoseStream(ostream &)
StreamBaseC::Close(void)
RefCounterC::ToBeDeleted(void) const
RefCounterC::Count(void) const
RefCounterC::IsSingleReference(void)
RefCounterBaseC::Label(void) const
ONetStreamC
 
Output stream to memory.
 
include "amma/NetStream.hh"
User Level:Default
Library:SysNetwork
Example:exTemplateFile.cc
Section:Basic Types.IO
In Scope:std

Comments:
Wraps the standard library ostrstream class.

Parent Classes: Variables:
Methods:
ONetStreamC()
Default constructor.

ONetStreamC(const StringC & filename,BooleanT buffered = TRUE,BooleanT server = false)
Open net connection for output.

ONetStreamC(const SocketC & nsock,BooleanT buffered = TRUE)
Use a socket to build new handle.

SocketC & Socket()
Access socket.

#include "amma/Stream.hh"
ostream & form(const char * format,...)
Print to stream using good old 'C' sytle formating.
This isn't the saftest function, it uses a fixed buffer of 4096 bytes.

This is a duplication of the function GNU iostreams for those platforms that don't have this function.


operator ostream &()
Converter.

operator const ostream &() const
Converter.

ostream & os()
Access ostream.

const ostream & os() const

const OStreamC & operator=(const OStreamC & oth)
Assigment.

ostream & write(const char * d,streamsize n)
Write data.
ostream compatable.

ostream & put(char ch)
Put charactor.
ostream compatable.

ostream & operator<<(const char * txt)
Output text.

ostream & operator<<(const DataT & dat)

streampos Tell() const
Where are we in the stream.

void Seek(streampos to)
Goto a position in the stream.

streampos tellp() const
Where are we in the stream.
ostream compatable.

ostream & seekg(streampos to)
Goto a position in the stream.
ostream compatable.

ostream & seekg(streampos to,SeekDirT dir)
Goto a position in the stream.
ostream compatable.

const StringC & Name() const
Returns the name of the stream.

BooleanT IsOpen() const
Test if this stream is open.

BooleanT good() const
Is stream good ?

BooleanT bad() const
Is stream corrupted ?

BooleanT eof() const
End of file ?

BooleanT fail() const
Operation failed ?

BooleanT operator!() const
Not failed ?

operator void *() const
Ok ?

BooleanT DiagnoseStream(ostream & out)
Print diagnostic message about the streams state to out.

bool Close()
Close this stream.
After this is called no further IO should be attempted!

#include "amma/RefCount.hh"
BooleanT ToBeDeleted() const
Returns TRUE if the content should be deleted.

RCCountT Count() const
Returns the number of refrences to this object. NB. The following definition is now obsolete, The value 0 means there is no other reference to this object.

BooleanT IsSingleReference()
Tests is there is only one reference to this object.

#include "amma/RefCBase.hh"
LabelT Label() const
Returns the label of this reference counter.
The member function is useful mainly to recognize objects during debugging. The value of the label is uniquely defined pointer.


Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001