Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 964aecd60fac62d5dc5479d22a0c53ef > files > 294

libmusicbrainz3-devel-3.0.3-2.fc14.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>libmusicbrainz3: releasegroup.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<h1>releasegroup.h</h1>  </div>
</div>
<div class="contents">
<a href="releasegroup_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> * MusicBrainz -- The Internet music metadatabase</span>
<a name="l00003"></a>00003 <span class="comment"> *</span>
<a name="l00004"></a>00004 <span class="comment"> * Copyright (C) 2006 Lukas Lalinsky</span>
<a name="l00005"></a>00005 <span class="comment"> *  </span>
<a name="l00006"></a>00006 <span class="comment"> * This library is free software; you can redistribute it and/or</span>
<a name="l00007"></a>00007 <span class="comment"> * modify it under the terms of the GNU Lesser General Public</span>
<a name="l00008"></a>00008 <span class="comment"> * License as published by the Free Software Foundation; either</span>
<a name="l00009"></a>00009 <span class="comment"> * version 2.1 of the License, or (at your option) any later version.</span>
<a name="l00010"></a>00010 <span class="comment"> * </span>
<a name="l00011"></a>00011 <span class="comment"> * This library is distributed in the hope that it will be useful,</span>
<a name="l00012"></a>00012 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00013"></a>00013 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
<a name="l00014"></a>00014 <span class="comment"> * Lesser General Public License for more details.</span>
<a name="l00015"></a>00015 <span class="comment"> * </span>
<a name="l00016"></a>00016 <span class="comment"> * You should have received a copy of the GNU Lesser General Public</span>
<a name="l00017"></a>00017 <span class="comment"> * License along with this library; if not, write to the Free Software</span>
<a name="l00018"></a>00018 <span class="comment"> * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA</span>
<a name="l00019"></a>00019 <span class="comment"> *</span>
<a name="l00020"></a>00020 <span class="comment"> * </span>
<a name="l00021"></a>00021 <span class="comment"> */</span> 
<a name="l00022"></a>00022 
<a name="l00023"></a>00023 <span class="preprocessor">#ifndef __MUSICBRAINZ3_RELEASEGROUP_H__</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#define __MUSICBRAINZ3_RELEASEGROUP_H__</span>
<a name="l00025"></a>00025 <span class="preprocessor"></span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &lt;string&gt;</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include &lt;<a class="code" href="musicbrainz_8h.html">musicbrainz3/musicbrainz.h</a>&gt;</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &lt;<a class="code" href="entity_8h.html">musicbrainz3/entity.h</a>&gt;</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include &lt;<a class="code" href="lists_8h.html">musicbrainz3/lists.h</a>&gt;</span>
<a name="l00030"></a>00030 
<a name="l00031"></a>00031 <span class="keyword">namespace </span>MusicBrainz
<a name="l00032"></a>00032 {
<a name="l00033"></a>00033 
<a name="l00034"></a>00034         <span class="keyword">class </span>Artist;
<a name="l00035"></a>00035         
<a name="l00040"></a><a class="code" href="class_music_brainz_1_1_release_group.html">00040</a>         <span class="keyword">class </span><a class="code" href="defines_8h.html#a2170aeec4b32749d5a7e15bd8474e0ec">MB_API</a> <a class="code" href="class_music_brainz_1_1_release_group.html" title="Represents a Release Group.">ReleaseGroup</a> : <span class="keyword">public</span> <a class="code" href="class_music_brainz_1_1_entity.html" title="A first-level MusicBrainz class.">Entity</a>
<a name="l00041"></a>00041         {
<a name="l00042"></a>00042         <span class="keyword">public</span>:
<a name="l00043"></a>00043         
<a name="l00044"></a><a class="code" href="class_music_brainz_1_1_release_group.html#afea596facc43753d8ea52c20439a2616">00044</a>                 <span class="keyword">static</span> <span class="keyword">const</span> std::string TYPE_NONE;
<a name="l00045"></a>00045         
<a name="l00046"></a><a class="code" href="class_music_brainz_1_1_release_group.html#ad5f2be56396aff19191f7bd5b538f3e0">00046</a>                 <span class="keyword">static</span> <span class="keyword">const</span> std::string TYPE_ALBUM;
<a name="l00047"></a><a class="code" href="class_music_brainz_1_1_release_group.html#adeace484d42513acbeceafada8fbf9fc">00047</a>                 <span class="keyword">static</span> <span class="keyword">const</span> std::string TYPE_SINGLE;
<a name="l00048"></a><a class="code" href="class_music_brainz_1_1_release_group.html#aae2c18f36d83cb2652b754fcd957c8be">00048</a>                 <span class="keyword">static</span> <span class="keyword">const</span> std::string TYPE_EP;
<a name="l00049"></a><a class="code" href="class_music_brainz_1_1_release_group.html#aa807b1d53435579e6d5a9b4a8b5fdedd">00049</a>                 <span class="keyword">static</span> <span class="keyword">const</span> std::string TYPE_COMPILATION;
<a name="l00050"></a><a class="code" href="class_music_brainz_1_1_release_group.html#a8ec72d3cf14cb26a525d9432134cd729">00050</a>                 <span class="keyword">static</span> <span class="keyword">const</span> std::string TYPE_SOUNDTRACK;
<a name="l00051"></a><a class="code" href="class_music_brainz_1_1_release_group.html#a9da6e835160df5d31d63a8ac25de70be">00051</a>                 <span class="keyword">static</span> <span class="keyword">const</span> std::string TYPE_SPOKENWORD;
<a name="l00052"></a><a class="code" href="class_music_brainz_1_1_release_group.html#a53b9c977136f09b05684c1581ced508b">00052</a>                 <span class="keyword">static</span> <span class="keyword">const</span> std::string TYPE_INTERVIEW;
<a name="l00053"></a><a class="code" href="class_music_brainz_1_1_release_group.html#ac16510e883f2dc6dd27ba9d2a9a873ae">00053</a>                 <span class="keyword">static</span> <span class="keyword">const</span> std::string TYPE_AUDIOBOOK;
<a name="l00054"></a><a class="code" href="class_music_brainz_1_1_release_group.html#a5f4168d2f1e3b624d57841297464fb34">00054</a>                 <span class="keyword">static</span> <span class="keyword">const</span> std::string TYPE_LIVE;
<a name="l00055"></a><a class="code" href="class_music_brainz_1_1_release_group.html#af978af5ee80c1a1aaea0947b02077fd9">00055</a>                 <span class="keyword">static</span> <span class="keyword">const</span> std::string TYPE_REMIX;
<a name="l00056"></a><a class="code" href="class_music_brainz_1_1_release_group.html#a075ec36198392f2d9757d9c43ab8238c">00056</a>                 <span class="keyword">static</span> <span class="keyword">const</span> std::string TYPE_OTHER;
<a name="l00057"></a>00057         
<a name="l00064"></a>00064                 <a class="code" href="class_music_brainz_1_1_release_group.html" title="Represents a Release Group.">ReleaseGroup</a>(<span class="keyword">const</span> std::string &amp;<span class="keywordtype">id</span> = std::string(),
<a name="l00065"></a>00065                                 <span class="keyword">const</span> std::string &amp;title = std::string());
<a name="l00066"></a>00066                 
<a name="l00070"></a>00070                 ~<a class="code" href="class_music_brainz_1_1_release_group.html" title="Represents a Release Group.">ReleaseGroup</a>();
<a name="l00071"></a>00071                 
<a name="l00083"></a>00083                 std::string getTitle() <span class="keyword">const</span>;
<a name="l00084"></a>00084                 
<a name="l00092"></a>00092                 <span class="keywordtype">void</span> setTitle(<span class="keyword">const</span> std::string &amp;title);
<a name="l00093"></a>00093 
<a name="l00099"></a>00099                 <a class="code" href="class_music_brainz_1_1_artist.html" title="Represents an artist.">Artist</a> *getArtist();
<a name="l00100"></a>00100                 
<a name="l00106"></a>00106                 <span class="keywordtype">void</span> setArtist(<a class="code" href="class_music_brainz_1_1_artist.html" title="Represents an artist.">Artist</a> *artist);
<a name="l00107"></a>00107 
<a name="l00113"></a>00113                 <span class="keywordtype">void</span> setType(<span class="keyword">const</span> std::string &amp;type);
<a name="l00114"></a>00114 
<a name="l00122"></a>00122                 std::string getType() <span class="keyword">const</span>;
<a name="l00123"></a>00123 
<a name="l00124"></a>00124                 <a class="code" href="namespace_music_brainz.html#af6271e213dc46f22aa2b19f75d200fa9" title="A vector of pointers to Release objects.">ReleaseList</a> &amp;getReleases();
<a name="l00125"></a>00125                 <span class="keywordtype">int</span> getNumReleases() <span class="keyword">const</span>;
<a name="l00126"></a>00126                 <a class="code" href="class_music_brainz_1_1_release.html" title="Represents a Release.">Release</a> *getRelease(<span class="keywordtype">int</span> index);
<a name="l00127"></a>00127 
<a name="l00128"></a>00128         <span class="keyword">private</span>:
<a name="l00129"></a>00129                 
<a name="l00130"></a>00130                 <span class="keyword">class </span>ReleaseGroupPrivate;
<a name="l00131"></a>00131                 ReleaseGroupPrivate *d;
<a name="l00132"></a>00132         };
<a name="l00133"></a>00133         
<a name="l00134"></a>00134 }
<a name="l00135"></a>00135 
<a name="l00136"></a>00136 <span class="preprocessor">#endif</span>
<a name="l00137"></a>00137 <span class="preprocessor"></span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Generated by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>