#include <context.h>
Public Member Functions | |
~patch_context_ty () | |
patch_context_ty (input &arg) | |
string_ty * | getline (int n) |
void | discard (int n) |
nstring | get_file_name () |
Private Member Functions | |
patch_context_ty () | |
patch_context_ty (const patch_context_ty &) | |
patch_context_ty & | operator= (const patch_context_ty &) |
Private Attributes | |
input | in |
string_list_ty | buffer |
Definition at line 30 of file context.h.
patch_context_ty::~patch_context_ty | ( | ) |
The destructor.
patch_context_ty::patch_context_ty | ( | input & | arg | ) |
patch_context_ty::patch_context_ty | ( | ) | [private] |
The default constructor. Do not use.
patch_context_ty::patch_context_ty | ( | const patch_context_ty & | ) | [private] |
The copy constructor. Do not use.
string_ty* patch_context_ty::getline | ( | int | n | ) |
The getline method is used to grab the line with the given numkber (zero based).
n | The line number to fatch (zero based), relative to the current position. |
void patch_context_ty::discard | ( | int | n | ) |
The discard method is used to consume some lines of inout.
n | The number of lines to discard from the front of the buffer. |
nstring patch_context_ty::get_file_name | ( | ) | [inline] |
patch_context_ty& patch_context_ty::operator= | ( | const patch_context_ty & | ) | [private] |
The assignment operator. Do not use.
input patch_context_ty::in [private] |
string_list_ty patch_context_ty::buffer [private] |