-
Notifications
You must be signed in to change notification settings - Fork 18
/
e-shape-data-mapping.ts
29 lines (24 loc) · 1.13 KB
/
e-shape-data-mapping.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
* Copyright (C) 2019 Toshiba Corporation
* SPDX-License-Identifier: Apache-2.0
*/
import { EShapeResourceManagerDeserialization } from "./e-shape-resource-manager-deserialization";
import { EShapeResourceManagerSerialization } from "./e-shape-resource-manager-serialization";
export type EShapeDataMappingValue = [string, string, string];
export interface EShapeDataMapping {
readonly values: EShapeDataMappingValue[];
add(value: EShapeDataMappingValue, index?: number): this;
addAll(values: EShapeDataMappingValue[]): this;
clearAndAdd(value: EShapeDataMappingValue): this;
clearAndAddAll(values: EShapeDataMappingValue[]): this;
indexOf(target: EShapeDataMappingValue): number;
get(index: number): EShapeDataMappingValue | null;
set(index: number, value: EShapeDataMappingValue): EShapeDataMappingValue | null;
remove(index: number): EShapeDataMappingValue | null;
clear(): this;
size(): number;
swap(indexA: number, indexB: number): this;
copy(target: EShapeDataMapping): void;
serialize(manager: EShapeResourceManagerSerialization): number;
deserialize(target: number, manager: EShapeResourceManagerDeserialization): void;
}