BTextOutput Class Reference
[Data Model]

#include <support/TextStream.h>

Inheritance diagram for BTextOutput:

ITextOutput IInterface SAtom BStringIO List of all members.

Public Member Functions

 BTextOutput (const sptr< IByteOutput > &stream, uint32_t flags=0)
virtual void Flush ()
 Request that any pending data be written.
virtual status_t LogV (const log_info &info, const iovec *vector, ssize_t count, uint32_t flags=0)
virtual void MoveIndent (int32_t delta)
 Adjust the current indentation level by delta amount.
virtual status_t Print (const char *debugText, ssize_t len=-1)
 level, and possibly other formatting, will be applied to each line.
virtual status_t Sync ()
 physical device.
virtual ~BTextOutput ()

Protected Member Functions

virtual sptr< const IBinderAsBinderImpl () const
virtual sptr< IBinderAsBinderImpl ()
 BTextOutput (IByteOutput *This, uint32_t flags=0)

Classes

class  style_state

Constructor & Destructor Documentation

BTextOutput const sptr< IByteOutput > &  stream,
uint32_t  flags = 0
 

~BTextOutput  )  [virtual]
 

BTextOutput IByteOutput This,
uint32_t  flags = 0
[protected]
 


Member Function Documentation

sptr< const IBinder > AsBinderImpl  )  const [protected, virtual]
 

Reimplemented from IInterface.

sptr< IBinder > AsBinderImpl  )  [protected, virtual]
 

Reimplemented from IInterface.

void Flush  )  [virtual]
 

Request that any pending data be written.

This does NOT block until the data has been written; rather, it just ensures that the data will be written at some point in the future.

Implements ITextOutput.

status_t LogV const log_info &  info,
const iovec *  vector,
ssize_t  count,
uint32_t  flags = 0
[virtual]
 

void MoveIndent int32_t  delta  )  [virtual]
 

Adjust the current indentation level by delta amount.

Implements ITextOutput.

status_t Print const char *  debugText,
ssize_t  len = -1
[virtual]
 

level, and possibly other formatting, will be applied to each line.

If len is negative, all text up to the first NUL character will be printed. Otherwise, up to len characters will be printed.

Implements ITextOutput.

status_t Sync  )  [virtual]
 

physical device.

Returns B_OK if the data is safely stored away, else an error code.

Implements ITextOutput.


The documentation for this class was generated from the following files: