Hauptseite   Klassenhierarchie   Alphabetische Liste   Übersicht   Auflistung der Dateien   Elementübersicht  

optionlist.h

00001 /***************************************************************************
00002                           optionlist.h  -  description
00003                              -------------------
00004     begin                : Fri Jan 11 2002
00005     copyright            : (C) 2002 by Christian Tusche
00006     email                : christian.tusche@stud.uni-goettingen.de
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef OPTIONLIST_H
00019 #define OPTIONLIST_H
00020 
00021 #include <vector.h>
00022 #include "String.h"
00023 
00024 #include "optionentry.h"
00025 
00026 
00031 class OptionList : private vector<OptionEntry *>  {
00032     friend class OptionEntry;
00033 public: 
00034     OptionList();
00035     virtual ~OptionList();
00036 
00039     OptionEntry &Option( const String optname );
00040 
00043     OptionEntry &Option( unsigned int n );
00044 
00047     unsigned int NumOptions( void );
00048 
00049 protected:
00052     OptionEntry &AddOption( const String optname, const String info = "" );
00053 
00056     virtual int SetOption( OptionEntry *opt );
00057 };
00058 
00059 #endif

Erzeugt am Tue Dec 31 22:54:54 2002 für av_convert von doxygen1.2.9.1 geschrieben von Dimitri van Heesch, © 1997-2001