Commit | Line | Data |
---|---|---|
866e5b51 | 1 | /******************************************************************************* |
3e2618e9 | 2 | * Copyright (c) 2011, 2013 Ericsson, Ecole Polytechnique de Montreal and others |
866e5b51 FC |
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 | */ | |
3e2618e9 | 28 | String getPath(); |
866e5b51 FC |
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 | 36 | */ |
3e2618e9 | 37 | Definition lookupDefinition(String lookupPath); |
866e5b51 | 38 | } |