Mercurial > hg > Database > jungle-sharp
view Main/jungle-main/JungleTreeEditor.cs @ 35:f2ea780b3e80
fix
author | Kazuma Takeda |
---|---|
date | Wed, 22 Feb 2017 16:30:19 +0900 |
parents | 56de71ae6f7e |
children |
line wrap: on
line source
namespace JungleDB { public interface JungleTreeEditor { void SetPrevPath (NodePath path); Either<Error,JungleTreeEditor> addNewChildAt(NodePath path,int pos); Either<Error,JungleTreeEditor> deleteChildAt(NodePath path,int pos); Either<Error,JungleTreeEditor> putAttribute(NodePath path, string key, object value); Either<Error,JungleTreeEditor> putAttribute(NodePath path, object value); Either<Error,JungleTreeEditor> putAttribute(string key, object value); Either<Error,JungleTreeEditor> putAttribute(object value); // add Method put Attribute (path, T?); // Either<Error, JungleTreeEditor> putAttribute(NodePath path, string Key, T value); Either<Error,JungleTreeEditor> deleteAttribute(NodePath path, string key); Either<Error, JungleTreeEditor> replaceNewRootNode(); Either<Error,JungleTreeEditor> edit(NodePath path, NodeEditor editor); Either<Error,JungleTreeEditor> commit(); Either<Error,JungleTreeEditor> flushSuccess(); } }