NEXUS CLASS LIBRARY home | classes | functions

Class MyDataBlock

Data Members


Member Functions

MyDataBlock, SkippingCommand

Class Description

This derived version of NxsDataBlock 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 DATA 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     MyDataBlock(NxsTaxaBlock *tb, NxsAssumptionsBlock *ab, ostream &o)
Class derived from NxsDataBlock 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.