# Dirac - A Video Codec

Created by the British Broadcasting Corporation.

# dirac::CommandLine Class Reference

`#include <cmd_line.h>`

List of all members.

## Classes

- struct option

## Public Member Functions

- CommandLine (int argc, char *argv[], const std::set< std::string > &bool_opts)
    Constructor.
- const std::vector< option > & GetOptions () const
- const std::vector< std::string > & GetInputs () const
- size_t Count () const

## Private Attributes

- std::vector< option > m_options
- std::vector< std::string > m_inputs
- const std::set< std::string > & m_bool_opts

## Constructor & Destructor Documentation

dirac::CommandLine::CommandLine | ( | int | argc,
|  | char * | argv[],
|  | const std::set< std::string > & | bool_opts |
| ) |  |  |

## Member Function Documentation

size_t dirac::CommandLine::Count | ( |  | ) | const`[inline]`

References m_options.

const std::vector<std::string>& dirac::CommandLine::GetInputs | ( |  | ) | const`[inline]`

References m_inputs.

const std::vector<option>& dirac::CommandLine::GetOptions | ( |  | ) | const`[inline]`

References m_options.

## Member Data Documentation

const std::set<std::string>& dirac::CommandLine::m_bool_opts`[private]`

std::vector<std::string> dirac::CommandLine::m_inputs`[private]`

Referenced by GetInputs().

std::vector<option> dirac::CommandLine::m_options`[private]`

Referenced by Count(), and GetOptions().

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

- cmd_line.h

© 2004 British Broadcasting Corporation. Dirac code licensed under the Mozilla Public License (MPL) Version 1.1.
HTML documentation generated by Dimitri van Heesch's excellent Doxygen tool.