ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Wintermute::Listing Class Reference

#include <listing.h>

Inheritance diagram for Wintermute::Listing:

List of all members.

Public Member Functions

virtual ~Listing ()
virtual uint getLength () const =0
 get the listing length (in lines)
virtual Common::String getLine (uint n)=0
 return a specific line from a listing
virtual Common::Array
< ListingLine
getLines (uint centre, uint before, uint after)
 shorthand to get a lump of lines instead of calling getLine a number of times Generally you won't need to redefine these
virtual Common::Array
< ListingLine
getLines (uint beginning, uint end)

Detailed Description

Definition at line 42 of file listing.h.


Constructor & Destructor Documentation

virtual Wintermute::Listing::~Listing (  )  [inline, virtual]

Definition at line 44 of file listing.h.


Member Function Documentation

virtual uint Wintermute::Listing::getLength (  )  const [pure virtual]

get the listing length (in lines)

Implemented in Wintermute::BlankListing, and Wintermute::SourceListing.

virtual Common::String Wintermute::Listing::getLine ( uint  n  )  [pure virtual]

return a specific line from a listing

Parameters:
n line number

Implemented in Wintermute::BlankListing, and Wintermute::SourceListing.

Common::Array< ListingLine > Wintermute::Listing::getLines ( uint  centre,
uint  before,
uint  after 
) [virtual]

shorthand to get a lump of lines instead of calling getLine a number of times Generally you won't need to redefine these

Definition at line 40 of file listing.cpp.

Common::Array< ListingLine > Wintermute::Listing::getLines ( uint  beginning,
uint  end 
) [virtual]

Definition at line 28 of file listing.cpp.


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


Generated on Sat Sep 26 2020 05:04:15 for ResidualVM by doxygen 1.7.1
curved edge   curved edge