ARB
Public Member Functions | List of all members
GcgCommentWriter Class Reference
Inheritance diagram for GcgCommentWriter:
Inheritance graph
[legend]
Collaboration diagram for GcgCommentWriter:
Collaboration graph
[legend]

Public Member Functions

 GcgCommentWriter (GcgWriter &gcg_writer_)
 
 ~GcgCommentWriter () OVERRIDE
 
bool ok () const OVERRIDE
 
void throw_write_error () const OVERRIDE
 
void out (char ch) OVERRIDE
 
const charname () const OVERRIDE
 
- Public Member Functions inherited from Writer
 Writer ()
 
virtual ~Writer ()
 
virtual int out (const char *text)
 
virtual int outf (const char *format,...) __ATTR__FORMAT_MEMBER(1)
 
void repeated (char ch, int repeat)
 
virtual ~Writer ()
 
virtual void addSequence (GBDATA *)=0
 
virtual void finish ()
 
const charget_error () const
 
bool ok () const
 

Additional Inherited Members

- Protected Member Functions inherited from Writer
virtual void set_error (const char *error)
 

Detailed Description

Definition at line 72 of file gcg.cxx.

Constructor & Destructor Documentation

GcgCommentWriter::GcgCommentWriter ( GcgWriter gcg_writer_)
inline

Definition at line 78 of file gcg.cxx.

GcgCommentWriter::~GcgCommentWriter ( )
inline

Definition at line 82 of file gcg.cxx.

References ca_assert.

Member Function Documentation

bool GcgCommentWriter::ok ( ) const
inlinevirtual

Implements Writer.

Definition at line 86 of file gcg.cxx.

void GcgCommentWriter::throw_write_error ( ) const
inlinevirtual

Reimplemented from Writer.

Definition at line 87 of file gcg.cxx.

References ca_assert.

void GcgCommentWriter::out ( char  ch)
virtual

Implements Writer.

Definition at line 136 of file gcg.cxx.

References GcgWriter::add_comment(), ca_assert, and LINESIZE.

const char* GcgCommentWriter::name ( ) const
inlinevirtual

Implements Writer.

Definition at line 89 of file gcg.cxx.


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