Sophie

Sophie

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

libmusicbrainz3-devel-3.0.3-3.fc15.i686.rpm

var NAVTREE =
[
  [ "libmusicbrainz3", "index.html", [
    [ "Related Pages", "pages.html", [
      [ "Todo List", "todo.html", null ]
    ] ],
    [ "Class List", "annotated.html", [
      [ "MusicBrainz::Artist", "class_music_brainz_1_1_artist.html", null ],
      [ "MusicBrainz::ArtistAlias", "class_music_brainz_1_1_artist_alias.html", null ],
      [ "MusicBrainz::ArtistFilter", "class_music_brainz_1_1_artist_filter.html", null ],
      [ "MusicBrainz::ArtistIncludes", "class_music_brainz_1_1_artist_includes.html", null ],
      [ "MusicBrainz::ArtistResult", "class_music_brainz_1_1_artist_result.html", null ],
      [ "MusicBrainz::AuthenticationError", "class_music_brainz_1_1_authentication_error.html", null ],
      [ "MusicBrainz::ConnectionError", "class_music_brainz_1_1_connection_error.html", null ],
      [ "MusicBrainz::DefaultFactory", "class_music_brainz_1_1_default_factory.html", null ],
      [ "MusicBrainz::Disc", "class_music_brainz_1_1_disc.html", null ],
      [ "MusicBrainz::DiscError", "class_music_brainz_1_1_disc_error.html", null ],
      [ "MusicBrainz::Entity", "class_music_brainz_1_1_entity.html", null ],
      [ "MusicBrainz::Exception", "class_music_brainz_1_1_exception.html", null ],
      [ "MusicBrainz::IFactory", "class_music_brainz_1_1_i_factory.html", null ],
      [ "MusicBrainz::IFilter", "class_music_brainz_1_1_i_filter.html", null ],
      [ "MusicBrainz::IIncludes", "class_music_brainz_1_1_i_includes.html", null ],
      [ "MusicBrainz::IWebService", "class_music_brainz_1_1_i_web_service.html", null ],
      [ "MusicBrainz::Label", "class_music_brainz_1_1_label.html", null ],
      [ "MusicBrainz::LabelAlias", "class_music_brainz_1_1_label_alias.html", null ],
      [ "MusicBrainz::LabelFilter", "class_music_brainz_1_1_label_filter.html", null ],
      [ "MusicBrainz::LabelIncludes", "class_music_brainz_1_1_label_includes.html", null ],
      [ "MusicBrainz::LabelResult", "class_music_brainz_1_1_label_result.html", null ],
      [ "MusicBrainz::MbXmlParser", "class_music_brainz_1_1_mb_xml_parser.html", null ],
      [ "MusicBrainz::Metadata", "class_music_brainz_1_1_metadata.html", null ],
      [ "MusicBrainz::ParseError", "class_music_brainz_1_1_parse_error.html", null ],
      [ "MusicBrainz::Query", "class_music_brainz_1_1_query.html", null ],
      [ "MusicBrainz::Relation", "class_music_brainz_1_1_relation.html", null ],
      [ "MusicBrainz::Release", "class_music_brainz_1_1_release.html", null ],
      [ "MusicBrainz::ReleaseEvent", "class_music_brainz_1_1_release_event.html", null ],
      [ "MusicBrainz::ReleaseFilter", "class_music_brainz_1_1_release_filter.html", null ],
      [ "MusicBrainz::ReleaseGroup", "class_music_brainz_1_1_release_group.html", null ],
      [ "MusicBrainz::ReleaseGroupFilter", "class_music_brainz_1_1_release_group_filter.html", null ],
      [ "MusicBrainz::ReleaseGroupIncludes", "class_music_brainz_1_1_release_group_includes.html", null ],
      [ "MusicBrainz::ReleaseGroupResult", "class_music_brainz_1_1_release_group_result.html", null ],
      [ "MusicBrainz::ReleaseIncludes", "class_music_brainz_1_1_release_includes.html", null ],
      [ "MusicBrainz::ReleaseResult", "class_music_brainz_1_1_release_result.html", null ],
      [ "MusicBrainz::RequestError", "class_music_brainz_1_1_request_error.html", null ],
      [ "MusicBrainz::ResourceNotFoundError", "class_music_brainz_1_1_resource_not_found_error.html", null ],
      [ "MusicBrainz::ResponseError", "class_music_brainz_1_1_response_error.html", null ],
      [ "MusicBrainz::Result", "class_music_brainz_1_1_result.html", null ],
      [ "MusicBrainz::Tag", "class_music_brainz_1_1_tag.html", null ],
      [ "MusicBrainz::TimeOutError", "class_music_brainz_1_1_time_out_error.html", null ],
      [ "MusicBrainz::Track", "class_music_brainz_1_1_track.html", null ],
      [ "MusicBrainz::TrackFilter", "class_music_brainz_1_1_track_filter.html", null ],
      [ "MusicBrainz::TrackIncludes", "class_music_brainz_1_1_track_includes.html", null ],
      [ "MusicBrainz::TrackResult", "class_music_brainz_1_1_track_result.html", null ],
      [ "MusicBrainz::User", "class_music_brainz_1_1_user.html", null ],
      [ "MusicBrainz::UserFilter", "class_music_brainz_1_1_user_filter.html", null ],
      [ "MusicBrainz::ValueError", "class_music_brainz_1_1_value_error.html", null ],
      [ "MusicBrainz::WebService", "class_music_brainz_1_1_web_service.html", null ],
      [ "MusicBrainz::WebServiceError", "class_music_brainz_1_1_web_service_error.html", null ]
    ] ],
    [ "Class Index", "classes.html", null ],
    [ "Class Hierarchy", "hierarchy.html", [
      [ "MusicBrainz::ArtistAlias", "class_music_brainz_1_1_artist_alias.html", [
        [ "MusicBrainz::LabelAlias", "class_music_brainz_1_1_label_alias.html", null ]
      ] ],
      [ "MusicBrainz::Disc", "class_music_brainz_1_1_disc.html", null ],
      [ "MusicBrainz::Entity", "class_music_brainz_1_1_entity.html", [
        [ "MusicBrainz::Artist", "class_music_brainz_1_1_artist.html", null ],
        [ "MusicBrainz::Label", "class_music_brainz_1_1_label.html", null ],
        [ "MusicBrainz::Release", "class_music_brainz_1_1_release.html", null ],
        [ "MusicBrainz::ReleaseGroup", "class_music_brainz_1_1_release_group.html", null ],
        [ "MusicBrainz::Track", "class_music_brainz_1_1_track.html", null ]
      ] ],
      [ "MusicBrainz::Exception", "class_music_brainz_1_1_exception.html", [
        [ "MusicBrainz::DiscError", "class_music_brainz_1_1_disc_error.html", null ],
        [ "MusicBrainz::ParseError", "class_music_brainz_1_1_parse_error.html", null ],
        [ "MusicBrainz::ValueError", "class_music_brainz_1_1_value_error.html", null ],
        [ "MusicBrainz::WebServiceError", "class_music_brainz_1_1_web_service_error.html", [
          [ "MusicBrainz::AuthenticationError", "class_music_brainz_1_1_authentication_error.html", null ],
          [ "MusicBrainz::ConnectionError", "class_music_brainz_1_1_connection_error.html", null ],
          [ "MusicBrainz::RequestError", "class_music_brainz_1_1_request_error.html", null ],
          [ "MusicBrainz::ResourceNotFoundError", "class_music_brainz_1_1_resource_not_found_error.html", null ],
          [ "MusicBrainz::ResponseError", "class_music_brainz_1_1_response_error.html", null ],
          [ "MusicBrainz::TimeOutError", "class_music_brainz_1_1_time_out_error.html", null ]
        ] ]
      ] ],
      [ "MusicBrainz::IFactory", "class_music_brainz_1_1_i_factory.html", [
        [ "MusicBrainz::DefaultFactory", "class_music_brainz_1_1_default_factory.html", null ]
      ] ],
      [ "MusicBrainz::IFilter", "class_music_brainz_1_1_i_filter.html", [
        [ "MusicBrainz::ArtistFilter", "class_music_brainz_1_1_artist_filter.html", null ],
        [ "MusicBrainz::LabelFilter", "class_music_brainz_1_1_label_filter.html", null ],
        [ "MusicBrainz::ReleaseFilter", "class_music_brainz_1_1_release_filter.html", null ],
        [ "MusicBrainz::ReleaseGroupFilter", "class_music_brainz_1_1_release_group_filter.html", null ],
        [ "MusicBrainz::TrackFilter", "class_music_brainz_1_1_track_filter.html", null ],
        [ "MusicBrainz::UserFilter", "class_music_brainz_1_1_user_filter.html", null ]
      ] ],
      [ "MusicBrainz::IIncludes", "class_music_brainz_1_1_i_includes.html", [
        [ "MusicBrainz::ArtistIncludes", "class_music_brainz_1_1_artist_includes.html", null ],
        [ "MusicBrainz::LabelIncludes", "class_music_brainz_1_1_label_includes.html", null ],
        [ "MusicBrainz::ReleaseGroupIncludes", "class_music_brainz_1_1_release_group_includes.html", null ],
        [ "MusicBrainz::ReleaseIncludes", "class_music_brainz_1_1_release_includes.html", null ],
        [ "MusicBrainz::TrackIncludes", "class_music_brainz_1_1_track_includes.html", null ]
      ] ],
      [ "MusicBrainz::IWebService", "class_music_brainz_1_1_i_web_service.html", [
        [ "MusicBrainz::WebService", "class_music_brainz_1_1_web_service.html", null ]
      ] ],
      [ "MusicBrainz::MbXmlParser", "class_music_brainz_1_1_mb_xml_parser.html", null ],
      [ "MusicBrainz::Metadata", "class_music_brainz_1_1_metadata.html", null ],
      [ "MusicBrainz::Query", "class_music_brainz_1_1_query.html", null ],
      [ "MusicBrainz::Relation", "class_music_brainz_1_1_relation.html", null ],
      [ "MusicBrainz::ReleaseEvent", "class_music_brainz_1_1_release_event.html", null ],
      [ "MusicBrainz::Result", "class_music_brainz_1_1_result.html", [
        [ "MusicBrainz::ArtistResult", "class_music_brainz_1_1_artist_result.html", null ],
        [ "MusicBrainz::LabelResult", "class_music_brainz_1_1_label_result.html", null ],
        [ "MusicBrainz::ReleaseGroupResult", "class_music_brainz_1_1_release_group_result.html", null ],
        [ "MusicBrainz::ReleaseResult", "class_music_brainz_1_1_release_result.html", null ],
        [ "MusicBrainz::TrackResult", "class_music_brainz_1_1_track_result.html", null ]
      ] ],
      [ "MusicBrainz::Tag", "class_music_brainz_1_1_tag.html", null ],
      [ "MusicBrainz::User", "class_music_brainz_1_1_user.html", null ]
    ] ],
    [ "Class Members", "functions.html", null ],
    [ "Namespace List", "namespaces.html", [
      [ "MusicBrainz", "namespace_music_brainz.html", null ]
    ] ],
    [ "Namespace Members", "namespacemembers.html", null ],
    [ "File List", "files.html", [
      [ "artist.h", "artist_8h.html", null ],
      [ "artistalias.h", "artistalias_8h.html", null ],
      [ "defines.h", "defines_8h.html", null ],
      [ "disc.h", "disc_8h.html", null ],
      [ "entity.h", "entity_8h.html", null ],
      [ "factory.h", "factory_8h.html", null ],
      [ "filters.h", "filters_8h.html", null ],
      [ "includes.h", "includes_8h.html", null ],
      [ "iwebservice.h", "iwebservice_8h.html", null ],
      [ "label.h", "label_8h.html", null ],
      [ "labelalias.h", "labelalias_8h.html", null ],
      [ "lists.h", "lists_8h.html", null ],
      [ "mb_c.h", "mb__c_8h.html", null ],
      [ "mbxmlparser.h", "mbxmlparser_8h.html", null ],
      [ "metadata.h", "metadata_8h.html", null ],
      [ "model.h", "model_8h.html", null ],
      [ "musicbrainz.h", "musicbrainz_8h.html", null ],
      [ "query.h", "query_8h.html", null ],
      [ "relation.h", "relation_8h.html", null ],
      [ "release.h", "release_8h.html", null ],
      [ "releaseevent.h", "releaseevent_8h.html", null ],
      [ "releasegroup.h", "releasegroup_8h.html", null ],
      [ "results.h", "results_8h.html", null ],
      [ "tag.h", "tag_8h.html", null ],
      [ "track.h", "track_8h.html", null ],
      [ "user.h", "user_8h.html", null ],
      [ "utils.h", "utils_8h.html", null ],
      [ "webservice.h", "webservice_8h.html", null ]
    ] ],
    [ "File Members", "globals.html", null ]
  ] ]
];

function createIndent(o,domNode,node,level)
{
  if (node.parentNode && node.parentNode.parentNode)
  {
    createIndent(o,domNode,node.parentNode,level+1);
  }
  var imgNode = document.createElement("img");
  if (level==0 && node.childrenData)
  {
    node.plus_img = imgNode;
    node.expandToggle = document.createElement("a");
    node.expandToggle.href = "javascript:void(0)";
    node.expandToggle.onclick = function() 
    {
      if (node.expanded) 
      {
        $(node.getChildrenUL()).slideUp("fast");
        if (node.isLast)
        {
          node.plus_img.src = node.relpath+"ftv2plastnode.png";
        }
        else
        {
          node.plus_img.src = node.relpath+"ftv2pnode.png";
        }
        node.expanded = false;
      } 
      else 
      {
        expandNode(o, node, false);
      }
    }
    node.expandToggle.appendChild(imgNode);
    domNode.appendChild(node.expandToggle);
  }
  else
  {
    domNode.appendChild(imgNode);
  }
  if (level==0)
  {
    if (node.isLast)
    {
      if (node.childrenData)
      {
        imgNode.src = node.relpath+"ftv2plastnode.png";
      }
      else
      {
        imgNode.src = node.relpath+"ftv2lastnode.png";
        domNode.appendChild(imgNode);
      }
    }
    else
    {
      if (node.childrenData)
      {
        imgNode.src = node.relpath+"ftv2pnode.png";
      }
      else
      {
        imgNode.src = node.relpath+"ftv2node.png";
        domNode.appendChild(imgNode);
      }
    }
  }
  else
  {
    if (node.isLast)
    {
      imgNode.src = node.relpath+"ftv2blank.png";
    }
    else
    {
      imgNode.src = node.relpath+"ftv2vertline.png";
    }
  }
  imgNode.border = "0";
}

function newNode(o, po, text, link, childrenData, lastNode)
{
  var node = new Object();
  node.children = Array();
  node.childrenData = childrenData;
  node.depth = po.depth + 1;
  node.relpath = po.relpath;
  node.isLast = lastNode;

  node.li = document.createElement("li");
  po.getChildrenUL().appendChild(node.li);
  node.parentNode = po;

  node.itemDiv = document.createElement("div");
  node.itemDiv.className = "item";

  node.labelSpan = document.createElement("span");
  node.labelSpan.className = "label";

  createIndent(o,node.itemDiv,node,0);
  node.itemDiv.appendChild(node.labelSpan);
  node.li.appendChild(node.itemDiv);

  var a = document.createElement("a");
  node.labelSpan.appendChild(a);
  node.label = document.createTextNode(text);
  a.appendChild(node.label);
  if (link) 
  {
    a.href = node.relpath+link;
  } 
  else 
  {
    if (childrenData != null) 
    {
      a.className = "nolink";
      a.href = "javascript:void(0)";
      a.onclick = node.expandToggle.onclick;
      node.expanded = false;
    }
  }

  node.childrenUL = null;
  node.getChildrenUL = function() 
  {
    if (!node.childrenUL) 
    {
      node.childrenUL = document.createElement("ul");
      node.childrenUL.className = "children_ul";
      node.childrenUL.style.display = "none";
      node.li.appendChild(node.childrenUL);
    }
    return node.childrenUL;
  };

  return node;
}

function showRoot()
{
  var headerHeight = $("#top").height();
  var footerHeight = $("#nav-path").height();
  var windowHeight = $(window).height() - headerHeight - footerHeight;
  navtree.scrollTo('#selected',0,{offset:-windowHeight/2});
}

function expandNode(o, node, imm)
{
  if (node.childrenData && !node.expanded) 
  {
    if (!node.childrenVisited) 
    {
      getNode(o, node);
    }
    if (imm)
    {
      $(node.getChildrenUL()).show();
    } 
    else 
    {
      $(node.getChildrenUL()).slideDown("fast",showRoot);
    }
    if (node.isLast)
    {
      node.plus_img.src = node.relpath+"ftv2mlastnode.png";
    }
    else
    {
      node.plus_img.src = node.relpath+"ftv2mnode.png";
    }
    node.expanded = true;
  }
}

function getNode(o, po)
{
  po.childrenVisited = true;
  var l = po.childrenData.length-1;
  for (var i in po.childrenData) 
  {
    var nodeData = po.childrenData[i];
    po.children[i] = newNode(o, po, nodeData[0], nodeData[1], nodeData[2],
        i==l);
  }
}

function findNavTreePage(url, data)
{
  var nodes = data;
  var result = null;
  for (var i in nodes) 
  {
    var d = nodes[i];
    if (d[1] == url) 
    {
      return new Array(i);
    }
    else if (d[2] != null) // array of children
    {
      result = findNavTreePage(url, d[2]);
      if (result != null) 
      {
        return (new Array(i).concat(result));
      }
    }
  }
  return null;
}

function initNavTree(toroot,relpath)
{
  var o = new Object();
  o.toroot = toroot;
  o.node = new Object();
  o.node.li = document.getElementById("nav-tree-contents");
  o.node.childrenData = NAVTREE;
  o.node.children = new Array();
  o.node.childrenUL = document.createElement("ul");
  o.node.getChildrenUL = function() { return o.node.childrenUL; };
  o.node.li.appendChild(o.node.childrenUL);
  o.node.depth = 0;
  o.node.relpath = relpath;

  getNode(o, o.node);

  o.breadcrumbs = findNavTreePage(toroot, NAVTREE);
  if (o.breadcrumbs == null)
  {
    o.breadcrumbs = findNavTreePage("index.html",NAVTREE);
  }
  if (o.breadcrumbs != null && o.breadcrumbs.length>0)
  {
    var p = o.node;
    for (var i in o.breadcrumbs) 
    {
      var j = o.breadcrumbs[i];
      p = p.children[j];
      expandNode(o,p,true);
    }
    p.itemDiv.className = p.itemDiv.className + " selected";
    p.itemDiv.id = "selected";
    $(window).load(showRoot);
  }
}