# Dirac - A Video Codec

Created by the British Broadcasting Corporation.

# dirac::CommandLine Class Reference

`#include <cmd_line.h>`

List of all members.

## 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

## Classes

- struct option

## 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]`

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

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

## Member Data Documentation

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

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

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

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.