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

Public Member Functions

 GcgWriter (const char *outname)
 
 ~GcgWriter () OVERRIDE
 
void set_species_name (const char *next_name)
 
void add_comment (const char *comment)
 
Writercomment_writer ()
 
void write_seq_data (const Seq &seq)
 
void expect_written ()
 
- Public Member Functions inherited from FileWriter
 FileWriter (const char *outf)
 
 ~FileWriter () OVERRIDE
 
FILE * get_FILE ()
 
bool ok () const OVERRIDE
 
void out (char ch) FINAL_OVERRIDE
 
const charname () const OVERRIDE
 
int out (const char *text) OVERRIDE
 
int outf (const char *format,...) OVERRIDE __ATTR__FORMAT_MEMBER(1)
 
void seq_done ()
 
void seq_done (int count)
 
void expect_written ()
 
 PREPARE_MARK_NONFINAL_CLASS (FileWriter)
 
- Public Member Functions inherited from Writer
 Writer ()
 
virtual ~Writer ()
 
virtual void throw_write_error () const __ATTR__NORETURN
 
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 92 of file gcg.cxx.

Constructor & Destructor Documentation

GcgWriter::GcgWriter ( const char outname)
inline

Definition at line 99 of file gcg.cxx.

GcgWriter::~GcgWriter ( )
inline

Definition at line 105 of file gcg.cxx.

Member Function Documentation

void GcgWriter::set_species_name ( const char next_name)
inline

Definition at line 107 of file gcg.cxx.

References warningf().

Referenced by embl_to_gcg(), genbank_to_gcg(), and macke_to_gcg().

void GcgWriter::add_comment ( const char comment)
inline

Definition at line 112 of file gcg.cxx.

References gcg_doc_out().

Referenced by GcgCommentWriter::out().

Writer& GcgWriter::comment_writer ( )
inline

Definition at line 116 of file gcg.cxx.

References ca_assert.

Referenced by genbank_to_gcg().

void GcgWriter::write_seq_data ( const Seq seq)
inline

Definition at line 121 of file gcg.cxx.

References ca_assert, and gcg_seq_out().

Referenced by embl_to_gcg(), genbank_to_gcg(), and macke_to_gcg().

void GcgWriter::expect_written ( )
inline

Definition at line 129 of file gcg.cxx.

References FileWriter::expect_written(), and FileWriter::seq_done().

Referenced by embl_to_gcg(), genbank_to_gcg(), and macke_to_gcg().


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