Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
IMetadataProvider.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 using System;
4 using System.Collections.Generic;
5 
6 namespace SiliconStudio.BuildEngine
7 {
8  public interface IMetadataProvider : IDisposable
9  {
10  bool Open(string path, bool create);
11  void Close();
12 
13  IEnumerable<MetadataKey> FetchAllKeys();
14  IEnumerable<string> FetchAllObjectUrls();
15 
16  IEnumerable<IObjectMetadata> Fetch(string objectUrl);
18  IObjectMetadata Fetch(string objectUrl, MetadataKey key);
19  IObjectMetadata Fetch(IObjectMetadata data);
21 
22  bool Write(IObjectMetadata data);
23  bool Delete(IObjectMetadata data);
24  }
25 }
Represent a metadata key. This object is immutable.
Definition: MetadataKey.cs:11
Interface for object metadata