aflibfileitem_8h-source.html

来自「一个共享源码的音频库5(doc 文档)」· HTML 代码 · 共 137 行

HTML
137
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>aflibFileItem.h Source File</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.15 --><center><a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center><hr><h1>aflibFileItem.h</h1><a href="aflibFileItem_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="comment">/*</font>00002 <font class="comment"> * Copyright: (C) 2000-2001 Bruce W. Forsberg</font>00003 <font class="comment"> *</font>00004 <font class="comment"> *   This library is free software; you can redistribute it and/or</font>00005 <font class="comment"> *   modify it under the terms of the GNU Lesser General Public</font>00006 <font class="comment"> *   License as published by the Free Software Foundation; either</font>00007 <font class="comment"> *   version 2.1 of the License, or any later version.</font>00008 <font class="comment"> *</font>00009 <font class="comment"> *   This library is distributed in the hope that it will be useful,</font>00010 <font class="comment"> *   but WITHOUT ANY WARRANTY; without even the implied warranty of</font>00011 <font class="comment"> *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</font>00012 <font class="comment"> *   Lesser General Public License for more details.</font>00013 <font class="comment"> *</font>00014 <font class="comment"> *   You should have received a copy of the GNU Lesser General Public</font>00015 <font class="comment"> *   License along with this library; if not, write to the Free Software</font>00016 <font class="comment"> *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA</font>00017 <font class="comment"> *</font>00018 <font class="comment"> *   Bruce Forsberg  forsberg@tns.net</font>00019 <font class="comment"> *</font>00020 <font class="comment"> */</font>00021 00022 00023 <font class="preprocessor">#ifndef _AFLIBFILEITEM_H_</font>00024 <font class="preprocessor"></font><font class="preprocessor">#define _AFLIBFILEITEM_H_</font>00025 <font class="preprocessor"></font>00026 <font class="preprocessor">#ifdef HAVE_CONFIG_H</font>00027 <font class="preprocessor"></font><font class="preprocessor">#include &lt;config.h&gt;</font>00028 <font class="preprocessor">#endif</font>00029 <font class="preprocessor"></font>00030 <font class="preprocessor">#include &lt;string&gt;</font>00031 <font class="preprocessor">#include &lt;vector&gt;</font>00032 <font class="preprocessor">#include &lt;list&gt;</font>00033 <font class="keyword">using</font> std::string;00034 <font class="keyword">using</font> std::list;00035 <font class="keyword">using</font> std::vector;00036 00037 00038 00043 <font class="keyword">class </font><a class="code" href="classaflibFileItem.html">aflibFileItem</a> {00044 00045 <font class="keyword">public</font>:00046 00047    <a class="code" href="classaflibFileItem.html#a0">aflibFileItem</a> ();00048 00049    <a class="code" href="classaflibFileItem.html#a0">aflibFileItem</a>(00050       <font class="keyword">const</font> string&amp;  mod_format,00051       <font class="keyword">const</font> string&amp;  mod_dscr,00052       <font class="keyword">const</font> string&amp;  mod_ext,00053       <font class="keyword">const</font> string&amp;  mod_magic,00054       <font class="keyword">const</font> string&amp;  mod_name,00055       <font class="keyword">const</font> string&amp;  mod_value1,00056       <font class="keyword">const</font> string&amp;  mod_value2,00057       <font class="keyword">const</font> string&amp;  mod_value3);00058 00059    <a class="code" href="classaflibFileItem.html#a2">~aflibFileItem</a>();00060 00061    <font class="keywordtype">bool</font>00062    <a class="code" href="classaflibFileItem.html#a3">operator==</a>(<font class="keyword">const</font> vector&lt;unsigned char&gt;&amp; array) <font class="keyword">const</font>;00063 00064    <font class="keywordtype">void</font>00065    <a class="code" href="classaflibFileItem.html#a4">setFormat</a>(<font class="keyword">const</font> string&amp; mod_format);00066 00067    <font class="keyword">const</font> string&amp;00068    <a class="code" href="classaflibFileItem.html#a5">getFormat</a>() <font class="keyword">const</font>;00069 00070    <font class="keywordtype">void</font>00071    <a class="code" href="classaflibFileItem.html#a6">setDescription</a>(<font class="keyword">const</font> string&amp; mod_dscr);00072 00073    <font class="keyword">const</font> string&amp;00074    <a class="code" href="classaflibFileItem.html#a7">getDescription</a>() <font class="keyword">const</font>;00075 00076    <font class="keywordtype">void</font>00077    <a class="code" href="classaflibFileItem.html#a8">setExtension</a>(<font class="keyword">const</font> string&amp; mod_ext);00078 00079    <font class="keyword">const</font> list&lt;string&gt;&amp;00080    <a class="code" href="classaflibFileItem.html#a9">getExtensions</a>() <font class="keyword">const</font>;00081 00082    <font class="keywordtype">void</font>00083    <a class="code" href="classaflibFileItem.html#a10">setMagic</a>(<font class="keyword">const</font> string&amp; mod_magic);00084 00085    <font class="keyword">const</font> list&lt;string&gt;&amp;00086    <a class="code" href="classaflibFileItem.html#a11">getMagic</a>() <font class="keyword">const</font>;00087 00088    <font class="keywordtype">void</font>00089    <a class="code" href="classaflibFileItem.html#a12">setName</a>(<font class="keyword">const</font> string&amp; mod_name);00090 00091    <font class="keyword">const</font> string&amp;00092    <a class="code" href="classaflibFileItem.html#a13">getName</a>() <font class="keyword">const</font>;00093 00094    <font class="keywordtype">void</font>00095    <a class="code" href="classaflibFileItem.html#a14">setValue1</a>(<font class="keyword">const</font> string&amp; mod_value1);00096 00097    <font class="keyword">const</font> string&amp;00098    <a class="code" href="classaflibFileItem.html#a15">getValue1</a>() <font class="keyword">const</font>;00099 00100    <font class="keywordtype">void</font>00101    <a class="code" href="classaflibFileItem.html#a16">setValue2</a>(<font class="keyword">const</font> string&amp; mod_value2);00102 00103    <font class="keyword">const</font> string&amp;00104    <a class="code" href="classaflibFileItem.html#a17">getValue2</a>() <font class="keyword">const</font>;00105 00106    <font class="keywordtype">void</font>00107    <a class="code" href="classaflibFileItem.html#a18">setValue3</a>(<font class="keyword">const</font> string&amp; mod_value3);00108 00109    <font class="keyword">const</font> string&amp;00110    <a class="code" href="classaflibFileItem.html#a19">getValue3</a>() <font class="keyword">const</font>;00111 00112 <font class="keyword">private</font>:00113 00114    string  _mod_format;00115    string  _mod_dscr;00116    list&lt;string&gt;  _mod_ext;00117    string  _mod_name;00118    string  _mod_value1;00119    string  _mod_value2;00120    string  _mod_value3;00121 00122    list&lt;string&gt; _mod_magic;00123 00124 };00125 00126 <font class="preprocessor">#endif</font></pre></div><hr><address align="right"><small>Generated on Wed May 8 20:51:06 2002 for Open Source Audio Library Project by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.15 </small></address></body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?