btf: Move plugins to the Trace Compass namespace
[deliverable/tracecompass.git] / org.eclipse.linuxtools.ctf.core / src / org / eclipse / linuxtools / ctf / core / event / scope / IDefinitionScope.java
CommitLineData
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
a4fa4e36
MK
13package org.eclipse.linuxtools.ctf.core.event.scope;
14
15import org.eclipse.linuxtools.ctf.core.event.types.Definition;
866e5b51
FC
16
17/**
d37aaa7f
FC
18 * The scope of a CTF definition. Used for compound types.
19 *
20 * @version 1.0
21 * @author Matthew Khouzam
22 * @author Simon Marchi
a4fa4e36 23 * @since 3.0
866e5b51
FC
24 */
25public interface IDefinitionScope {
26
9ac2eb62
MK
27 /**
28 * Gets the path in a C style for the scope.
a4fa4e36 29 *
9ac2eb62 30 * @return the path
a4fa4e36 31 * @since 3.0
9ac2eb62 32 */
a4fa4e36 33 LexicalScope getScopePath();
866e5b51
FC
34
35 /**
36 * Looks up in this definition scope.
be6df2d8
AM
37 *
38 * @param lookupPath
39 * The path to look up
40 * @return The Definition that was read
866e5b51 41 */
6c7592e1 42 // TODO: change to IDefintion
3e2618e9 43 Definition lookupDefinition(String lookupPath);
866e5b51 44}
This page took 0.045861 seconds and 5 git commands to generate.