Mercurial > hg > Database > jungle-sharp
view Main/jungle-main/JungleTreeEditor.cs @ 30:236a58985e22
error fix, use continue path.
author | Kazuma Takeda |
---|---|
date | Wed, 18 Jan 2017 21:54:26 +0900 |
parents | f7616084d3ab |
children | 1466993c104c |
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, byte[] value); Either<Error,JungleTreeEditor> putAttribute(string key, byte[] value); // add Method put Attribute (path, T?); // Either<Error, JungleTreeEditor> putAttribute<T>(NodePath path, string Key, MultiAttributes<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(); } }