schroot_listmounts::main Class Reference

Frontend for schroot. More...

#include <schroot-listmounts-main.h>

Inheritance diagram for schroot_listmounts::main:

Inheritance graph
[legend]
Collaboration diagram for schroot_listmounts::main:

Collaboration graph
[legend]

List of all members.

Public Types

enum  error_code { FIND }
 Error codes. More...
typedef sbuild::custom_error
< error_code
error
 Exception type.

Public Member Functions

 main (options::ptr &options)
 The constructor.
virtual ~main ()
 The destructor.

Protected Member Functions

virtual int run_impl ()
 Run the program.

Private Member Functions

virtual void action_listmounts ()
 List mounts.

Private Attributes

options::ptr opts
 The program options.


Detailed Description

Frontend for schroot.

This class is used to "run" schroot.


Member Typedef Documentation

Exception type.


Member Enumeration Documentation

Error codes.

Enumerator:
FIND  Failed to find file.


Constructor & Destructor Documentation

main::main ( options::ptr options  ) 

The constructor.

Parameters:
options the command-line options to use.

main::~main (  )  [virtual]

The destructor.

Reimplemented from schroot_base::main.


Member Function Documentation

void main::action_listmounts (  )  [private, virtual]

List mounts.

References sbuild::mntstream::mntentry::directory, FIND, sbuild::normalname(), and opts.

Referenced by run_impl().

Here is the caller graph for this function:

int main::run_impl (  )  [protected, virtual]


Member Data Documentation

The program options.

Referenced by action_listmounts(), and run_impl().


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

Generated on Sat Jul 5 12:01:25 2008 for schroot by  doxygen 1.5.6