DisplayList Class Reference

This file defines a viewer program that uses a cursor window to display files, directories -- even remotely using ftp. It is not a real viewer because you can't go from a directory to looking at the files in it, for example. It is more of an example of how to do the basics. More...

Collaboration diagram for DisplayList:
Collaboration graph
[legend]

List of all members.

Public Types

typedef rep_t::iterator iterator
typedef list< string > rep_t

Public Member Functions

iterator begin ()
 DisplayList ()
iterator end ()
DisplayListoperator+= (string const &s)
size_t size () const

Private Attributes

rep_t rep_
size_t size_

Detailed Description

This file defines a viewer program that uses a cursor window to display files, directories -- even remotely using ftp. It is not a real viewer because you can't go from a directory to looking at the files in it, for example. It is more of an example of how to do the basics.

A DisplayList holds the items to be displayed -- it must be not contain tabs or special characters that would mess up the curses display. Use StrTool::expand_tabs() to eliminate tabs, and process the data yourself to eliminate other invalid characters.

Definition at line 51 of file v.cxx.


Member Typedef Documentation

Definition at line 63 of file v.cxx.

typedef list<string> rep_t

Definition at line 62 of file v.cxx.


Constructor & Destructor Documentation

DisplayList (  ) 

Definition at line 72 of file v.cxx.


Member Function Documentation

iterator begin (  ) 

Definition at line 77 of file v.cxx.

Here is the caller graph for this function:

iterator end (  ) 

Definition at line 78 of file v.cxx.

Here is the caller graph for this function:

DisplayList& operator+= ( string const &  s  ) 

Definition at line 80 of file v.cxx.

size_t size (  )  const

Definition at line 89 of file v.cxx.

Here is the caller graph for this function:


Member Data Documentation

rep_t rep_ [private]

Definition at line 67 of file v.cxx.

size_t size_ [private]

Definition at line 68 of file v.cxx.


The documentation for this class was generated from the following file:
Generated on Wed Feb 29 22:51:50 2012 for CXXUtilities by  doxygen 1.6.3