schroot_listmounts::options Class Reference

schroot-listmounts command-line options. More...

#include <schroot-listmounts-options.h>

Inheritance diagram for schroot_listmounts::options:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::tr1::shared_ptr<
options
ptr
 A shared_ptr to an options object.

Public Member Functions

 options ()
 The constructor.
virtual ~options ()
 The destructor.

Public Attributes

std::string mountpoint
 The mountpoint to check.

Static Public Attributes

static const action_type ACTION_LISTMOUNTS
 Begin, run and end a session.

Protected Member Functions

virtual void add_options ()
 Add options to option groups.
virtual void add_option_groups ()
 Add option groups to container groups.
virtual void check_options ()
 Check options after parsing.

Protected Attributes

boost::program_options::options_description mount
 Mount options group.

Detailed Description

schroot-listmounts command-line options.

Definition at line 33 of file schroot-listmounts-options.h.


Member Typedef Documentation

typedef std::tr1::shared_ptr<options> schroot_listmounts::options::ptr

A shared_ptr to an options object.

Reimplemented from schroot_base::options.

Definition at line 37 of file schroot-listmounts-options.h.


Constructor & Destructor Documentation

options::options (  ) 

The constructor.

Reimplemented from schroot_base::options.

Definition at line 40 of file schroot-listmounts-options.cc.

options::~options (  )  [virtual]

The destructor.

Reimplemented from schroot_base::options.

Definition at line 47 of file schroot-listmounts-options.cc.


Member Function Documentation

void options::add_options (  )  [protected, virtual]

Add options to option groups.

Reimplemented from schroot_base::options.

Definition at line 52 of file schroot-listmounts-options.cc.

References schroot_base::options::action, ACTION_LISTMOUNTS, schroot_base::options::add_options(), mount, and mountpoint.

void options::add_option_groups (  )  [protected, virtual]

Add option groups to container groups.

Reimplemented from schroot_base::options.

Definition at line 66 of file schroot-listmounts-options.cc.

References schroot_base::options::add_option_groups(), schroot_base::options::global, mount, and schroot_base::options::visible.

void options::check_options (  )  [protected, virtual]

Check options after parsing.

Reimplemented from schroot_base::options.

Definition at line 83 of file schroot-listmounts-options.cc.

References ACTION_LISTMOUNTS, and schroot_base::options::check_options().


Member Data Documentation

const options::action_type options::ACTION_LISTMOUNTS [static]

Begin, run and end a session.

Definition at line 40 of file schroot-listmounts-options.h.

Referenced by add_options(), check_options(), and schroot_listmounts::main::run_impl().

std::string schroot_listmounts::options::mountpoint

The mountpoint to check.

Definition at line 49 of file schroot-listmounts-options.h.

Referenced by add_options().

boost::program_options::options_description schroot_listmounts::options::mount [protected]

Mount options group.

Definition at line 62 of file schroot-listmounts-options.h.

Referenced by add_option_groups(), and add_options().


The documentation for this class was generated from the following files:
Generated on Sun Jul 8 21:24:31 2007 for schroot by  doxygen 1.5.2