Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 3a69a05a98d7cfa0151aaf9747814697 > files > 293

libmusicbrainz3-devel-3.0.3-3.fc15.i686.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: release.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.7.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">libmusicbrainz3&#160;<span id="projectnumber">3.0.3</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;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>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('release_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<h1>release.h</h1>  </div>
</div>
<div class="contents">
<a href="release_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_RELEASE_H__</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#define __MUSICBRAINZ3_RELEASE_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;musicbrainz3/musicbrainz.h&gt;</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &lt;musicbrainz3/entity.h&gt;</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include &lt;musicbrainz3/lists.h&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="l00047"></a><a class="code" href="class_music_brainz_1_1_release.html">00047</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.html" title="Represents a Release.">Release</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="l00048"></a>00048         {
<a name="l00049"></a>00049         <span class="keyword">public</span>:
<a name="l00050"></a>00050         
<a name="l00051"></a><a class="code" href="class_music_brainz_1_1_release.html#a08e09077096faaf280f86a22781f5ad9">00051</a>                 <span class="keyword">static</span> <span class="keyword">const</span> std::string <a class="code" href="class_music_brainz_1_1_release.html#a08e09077096faaf280f86a22781f5ad9">TYPE_NONE</a>;
<a name="l00052"></a>00052         
<a name="l00053"></a><a class="code" href="class_music_brainz_1_1_release.html#ae808d68a9e1b6b8fc4c48b8b60f5263b">00053</a>                 <span class="keyword">static</span> <span class="keyword">const</span> std::string <a class="code" href="class_music_brainz_1_1_release.html#ae808d68a9e1b6b8fc4c48b8b60f5263b">TYPE_ALBUM</a>;
<a name="l00054"></a><a class="code" href="class_music_brainz_1_1_release.html#a987bee9e9421211283cbcd7799c5b231">00054</a>                 <span class="keyword">static</span> <span class="keyword">const</span> std::string <a class="code" href="class_music_brainz_1_1_release.html#a987bee9e9421211283cbcd7799c5b231">TYPE_SINGLE</a>;
<a name="l00055"></a><a class="code" href="class_music_brainz_1_1_release.html#a2a73314a1d6c5918b3a4c375ee3f33ca">00055</a>                 <span class="keyword">static</span> <span class="keyword">const</span> std::string <a class="code" href="class_music_brainz_1_1_release.html#a2a73314a1d6c5918b3a4c375ee3f33ca">TYPE_EP</a>;
<a name="l00056"></a><a class="code" href="class_music_brainz_1_1_release.html#a48891d65d03da2eccf04322f997ee77b">00056</a>                 <span class="keyword">static</span> <span class="keyword">const</span> std::string <a class="code" href="class_music_brainz_1_1_release.html#a48891d65d03da2eccf04322f997ee77b">TYPE_COMPILATION</a>;
<a name="l00057"></a><a class="code" href="class_music_brainz_1_1_release.html#a4c1bb5a108621ee73224ead7c7db8d18">00057</a>                 <span class="keyword">static</span> <span class="keyword">const</span> std::string <a class="code" href="class_music_brainz_1_1_release.html#a4c1bb5a108621ee73224ead7c7db8d18">TYPE_SOUNDTRACK</a>;
<a name="l00058"></a><a class="code" href="class_music_brainz_1_1_release.html#a833edfab0a426515bbb0212334496b18">00058</a>                 <span class="keyword">static</span> <span class="keyword">const</span> std::string <a class="code" href="class_music_brainz_1_1_release.html#a833edfab0a426515bbb0212334496b18">TYPE_SPOKENWORD</a>;
<a name="l00059"></a><a class="code" href="class_music_brainz_1_1_release.html#af793b5f59e98ddb64150a286dde0955e">00059</a>                 <span class="keyword">static</span> <span class="keyword">const</span> std::string <a class="code" href="class_music_brainz_1_1_release.html#af793b5f59e98ddb64150a286dde0955e">TYPE_INTERVIEW</a>;
<a name="l00060"></a><a class="code" href="class_music_brainz_1_1_release.html#a0abd2597f0ac2a416ab1eb0391274122">00060</a>                 <span class="keyword">static</span> <span class="keyword">const</span> std::string <a class="code" href="class_music_brainz_1_1_release.html#a0abd2597f0ac2a416ab1eb0391274122">TYPE_AUDIOBOOK</a>;
<a name="l00061"></a><a class="code" href="class_music_brainz_1_1_release.html#af8be10709f53684bd83d231b565d0fa2">00061</a>                 <span class="keyword">static</span> <span class="keyword">const</span> std::string <a class="code" href="class_music_brainz_1_1_release.html#af8be10709f53684bd83d231b565d0fa2">TYPE_LIVE</a>;
<a name="l00062"></a><a class="code" href="class_music_brainz_1_1_release.html#a87854bb1c3b3de7793ed8c54797a16cd">00062</a>                 <span class="keyword">static</span> <span class="keyword">const</span> std::string <a class="code" href="class_music_brainz_1_1_release.html#a87854bb1c3b3de7793ed8c54797a16cd">TYPE_REMIX</a>;
<a name="l00063"></a><a class="code" href="class_music_brainz_1_1_release.html#afeb1a48c9e2bcb23519c37aab99d8a3e">00063</a>                 <span class="keyword">static</span> <span class="keyword">const</span> std::string <a class="code" href="class_music_brainz_1_1_release.html#afeb1a48c9e2bcb23519c37aab99d8a3e">TYPE_OTHER</a>;
<a name="l00064"></a>00064 
<a name="l00065"></a><a class="code" href="class_music_brainz_1_1_release.html#a192cd411547a7f453aca4bbc8d274ad9">00065</a>                 <span class="keyword">static</span> <span class="keyword">const</span> std::string <a class="code" href="class_music_brainz_1_1_release.html#a192cd411547a7f453aca4bbc8d274ad9">TYPE_OFFICIAL</a>;
<a name="l00066"></a><a class="code" href="class_music_brainz_1_1_release.html#a6f089c1aa9ab138cccd898d952e3d906">00066</a>                 <span class="keyword">static</span> <span class="keyword">const</span> std::string <a class="code" href="class_music_brainz_1_1_release.html#a6f089c1aa9ab138cccd898d952e3d906">TYPE_PROMOTION</a>;
<a name="l00067"></a><a class="code" href="class_music_brainz_1_1_release.html#aab6fa7bd437fd50928f2b5746f6f837c">00067</a>                 <span class="keyword">static</span> <span class="keyword">const</span> std::string <a class="code" href="class_music_brainz_1_1_release.html#aab6fa7bd437fd50928f2b5746f6f837c">TYPE_BOOTLEG</a>;
<a name="l00068"></a><a class="code" href="class_music_brainz_1_1_release.html#af46900bb55fd8fd43a465fa1f96e5378">00068</a>                 <span class="keyword">static</span> <span class="keyword">const</span> std::string <a class="code" href="class_music_brainz_1_1_release.html#af46900bb55fd8fd43a465fa1f96e5378">TYPE_PSEUDO_RELEASE</a>;
<a name="l00069"></a>00069         
<a name="l00076"></a>00076                 <a class="code" href="class_music_brainz_1_1_release.html" title="Represents a Release.">Release</a>(<span class="keyword">const</span> std::string &amp;<span class="keywordtype">id</span> = std::string(),
<a name="l00077"></a>00077                                 <span class="keyword">const</span> std::string &amp;title = std::string());
<a name="l00078"></a>00078                 
<a name="l00082"></a>00082                 ~<a class="code" href="class_music_brainz_1_1_release.html" title="Represents a Release.">Release</a>();
<a name="l00083"></a>00083                 
<a name="l00095"></a>00095                 std::string getTitle() <span class="keyword">const</span>;
<a name="l00096"></a>00096                 
<a name="l00104"></a>00104                 <span class="keywordtype">void</span> setTitle(<span class="keyword">const</span> std::string &amp;title);
<a name="l00105"></a>00105 
<a name="l00120"></a>00120                 std::string getTextLanguage() <span class="keyword">const</span>;
<a name="l00121"></a>00121 
<a name="l00129"></a>00129                 <span class="keywordtype">void</span> setTextLanguage(<span class="keyword">const</span> std::string &amp;language);
<a name="l00130"></a>00130 
<a name="l00144"></a>00144                 std::string getTextScript() <span class="keyword">const</span>;
<a name="l00145"></a>00145 
<a name="l00153"></a>00153                 <span class="keywordtype">void</span> setTextScript(<span class="keyword">const</span> std::string &amp;script);
<a name="l00154"></a>00154 
<a name="l00160"></a>00160                 <a class="code" href="class_music_brainz_1_1_artist.html" title="Represents an artist.">Artist</a> *getArtist();
<a name="l00161"></a>00161                 
<a name="l00167"></a>00167                 <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="l00168"></a>00168 
<a name="l00174"></a>00174                 <a class="code" href="class_music_brainz_1_1_release_group.html" title="Represents a Release Group.">ReleaseGroup</a> *getReleaseGroup();
<a name="l00175"></a>00175                 
<a name="l00181"></a>00181                 <span class="keywordtype">void</span> setReleaseGroup(<a class="code" href="class_music_brainz_1_1_release_group.html" title="Represents a Release Group.">ReleaseGroup</a> *releaseGroup);
<a name="l00182"></a>00182 
<a name="l00191"></a>00191                 std::string getAsin() <span class="keyword">const</span>;
<a name="l00192"></a>00192                 
<a name="l00200"></a>00200                 <span class="keywordtype">void</span> setAsin(<span class="keyword">const</span> std::string &amp;asin);
<a name="l00201"></a>00201                 
<a name="l00209"></a>00209                 <a class="code" href="namespace_music_brainz.html#a89e6a9ba91459dae3db6a304d4224258" title="A vector of pointers to Track objects.">TrackList</a> &amp;getTracks();
<a name="l00210"></a>00210 
<a name="l00220"></a>00220                 <span class="keywordtype">int</span> getNumTracks() <span class="keyword">const</span>;
<a name="l00221"></a>00221                 
<a name="l00233"></a>00233                 <a class="code" href="class_music_brainz_1_1_track.html" title="Represents a track.">Track</a> *getTrack(<span class="keywordtype">int</span> index);
<a name="l00234"></a>00234                 
<a name="l00247"></a>00247                 <span class="keywordtype">int</span> getTracksOffset() <span class="keyword">const</span>;
<a name="l00248"></a>00248                 
<a name="l00256"></a>00256                 <span class="keywordtype">void</span> setTracksOffset(<span class="keyword">const</span> <span class="keywordtype">int</span> offset);
<a name="l00257"></a>00257                 
<a name="l00269"></a>00269                 <span class="keywordtype">int</span> getTracksCount() <span class="keyword">const</span>;
<a name="l00270"></a>00270                 
<a name="l00278"></a>00278                 <span class="keywordtype">void</span> setTracksCount(<span class="keyword">const</span> <span class="keywordtype">int</span> count);
<a name="l00279"></a>00279                 
<a name="l00291"></a>00291                 <a class="code" href="namespace_music_brainz.html#a10a72f8d1c2eb3086e06dac44cc3a570" title="A vector of pointers to Disc objects.">DiscList</a> &amp;getDiscs();
<a name="l00292"></a>00292                 
<a name="l00302"></a>00302                 <span class="keywordtype">int</span> getNumDiscs() <span class="keyword">const</span>;
<a name="l00303"></a>00303                 
<a name="l00315"></a>00315                 <a class="code" href="class_music_brainz_1_1_disc.html" title="Represents an Audio CD.">Disc</a> *getDisc(<span class="keywordtype">int</span> index);
<a name="l00316"></a>00316                 
<a name="l00326"></a>00326                 <a class="code" href="namespace_music_brainz.html#a0ee2b29936b9a2df81cfa8f6c1a4f7a9" title="A vector of pointers to ReleaseEvent objects.">ReleaseEventList</a> &amp;getReleaseEvents();
<a name="l00327"></a>00327                 
<a name="l00337"></a>00337                 <span class="keywordtype">int</span> getNumReleaseEvents() <span class="keyword">const</span>;
<a name="l00338"></a>00338                 
<a name="l00350"></a>00350                 <a class="code" href="class_music_brainz_1_1_release_event.html" title="A release event, indicating where and when a release took place.">ReleaseEvent</a> *getReleaseEvent(<span class="keywordtype">int</span> index);
<a name="l00351"></a>00351 
<a name="l00357"></a>00357                 <span class="keywordtype">void</span> setTypes(<span class="keyword">const</span> std::vector&lt;std::string&gt; &amp;types);
<a name="l00358"></a>00358 
<a name="l00366"></a>00366                 std::vector&lt;std::string&gt; &amp;getTypes();
<a name="l00367"></a>00367 
<a name="l00373"></a>00373                 <span class="keywordtype">int</span> getNumTypes() <span class="keyword">const</span>;
<a name="l00374"></a>00374 
<a name="l00387"></a>00387                 std::string getType(<span class="keywordtype">int</span> index) <span class="keyword">const</span>;
<a name="l00388"></a>00388 
<a name="l00389"></a>00389         <span class="keyword">private</span>:
<a name="l00390"></a>00390                 
<a name="l00391"></a>00391                 <span class="keyword">class </span>ReleasePrivate;
<a name="l00392"></a>00392                 ReleasePrivate *d;
<a name="l00393"></a>00393         };
<a name="l00394"></a>00394         
<a name="l00395"></a>00395 }
<a name="l00396"></a>00396 
<a name="l00397"></a>00397 <span class="preprocessor">#endif</span>
<a name="l00398"></a>00398 <span class="preprocessor"></span>
</pre></div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="release_8h.html">release.h</a>      </li>
      <li class="footer">Generated by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
    </ul>
  </div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


</body>
</html>