NEXUS CLASS LIBRARY home | classes | functions

Class MyCharactersBlock

Data Members

outf

Member Functions

MyCharactersBlock, SkippingCommand

Class Description

This derived version of NxsCharactersBlock is necessary in order to provide for the use of an ostream to give feedback to the user and report on the information contained in any CHARACTERS blocks found. It overloads the base class virtual function SkippingCommand.

Key to symbols and colors

public, protected, private, A = abstract, C = constructor, D = destructor, I = inline, S = static, V = virtual, F = friend

 

Data Members
     ostream   &outf
       

 

Member Functions
C     MyCharactersBlock(NxsTaxaBlock *tb, NxsAssumptionsBlock *ab, ostream &o)
       
Class derived from NxsCharactersBlock so that an output file stream can be used for reporting unknown commands that are being skipped. Overrides SkippingCommand function for this purpose.
    void   SkippingCommand(NxsString s)
       
Override of base class virtual function. Simply reports the command being skipped (name of command is in 's') both to the standard output stream as well as to the output stream outf.