Commit | Line | Data |
---|---|---|
866e5b51 FC |
1 | /******************************************************************************* |
2 | * Copyright (c) 2011-2012 Ericsson, Ecole Polytechnique de Montreal and others | |
3 | * | |
4 | * All rights reserved. This program and the accompanying materials are made | |
5 | * available under the terms of the Eclipse Public License v1.0 which | |
6 | * accompanies this distribution, and is available at | |
7 | * http://www.eclipse.org/legal/epl-v10.html | |
8 | * | |
9 | * Contributors: Matthew Khouzam - Initial API and implementation | |
10 | * Contributors: Simon Marchi - Initial API and implementation | |
11 | *******************************************************************************/ | |
12 | ||
13 | package org.eclipse.linuxtools.ctf.core.event.types; | |
14 | ||
15 | /** | |
d37aaa7f FC |
16 | * The scope of a CTF definition. Used for compound types. |
17 | * | |
18 | * @version 1.0 | |
19 | * @author Matthew Khouzam | |
20 | * @author Simon Marchi | |
866e5b51 FC |
21 | */ |
22 | public interface IDefinitionScope { | |
23 | ||
9ac2eb62 MK |
24 | /** |
25 | * Gets the path in a C style for the scope. | |
26 | * @return the path | |
27 | */ | |
866e5b51 FC |
28 | public String getPath(); |
29 | ||
30 | /** | |
31 | * Looks up in this definition scope. | |
be6df2d8 AM |
32 | * |
33 | * @param lookupPath | |
34 | * The path to look up | |
35 | * @return The Definition that was read | |
866e5b51 FC |
36 | */ |
37 | public Definition lookupDefinition(String lookupPath); | |
38 | } |