view Main/jungle-main/JungleTreeEditor.cs @ 28:9588ad364fdd

Last commit before change.
author Kazuma Takeda
date Wed, 18 Jan 2017 19:53:29 +0900
parents 1f99e150f336
children f7616084d3ab
line wrap: on
line source


namespace JungleDB {
	public interface JungleTreeEditor {
		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);
		// add Method put Attribute (path, T?);
		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();

	}
}