* The StreamInputReader for which this definition is created.
* @return A new EventDefinition.
*/
- public EventDefinition createDefinition(StreamInputReader streamInputReader);
+ EventDefinition createDefinition(StreamInputReader streamInputReader);
/**
* Gets the name of an event declaration
*
* @return the name
*/
- public String getName();
+ String getName();
/**
* Gets the fields of an event declaration
*
* @return fields the fields in {@link StructDeclaration} format
*/
- public StructDeclaration getFields();
+ StructDeclaration getFields();
/**
* Gets the context of an event declaration
*
* @return context the fields in {@link StructDeclaration} format
*/
- public StructDeclaration getContext();
+ StructDeclaration getContext();
/**
* Gets the id of an event declaration
*
* @return The EventDeclaration ID
*/
- public Long getId();
+ Long getId();
/**
* Gets the {@link Stream} of an event declaration
* @return the stream
* @since 2.0
*/
- public Stream getStream();
+ Stream getStream();
/**
* What is the log level of this event?
* @return the log level.
* @since 2.0
*/
- public long getLogLevel();
+ long getLogLevel();
/**
* Get the {@link Set} of names of the custom CTF attributes.
* @return The set of custom attributes
* @since 2.0
*/
- public Set<String> getCustomAttributes();
+ Set<String> getCustomAttributes();
/**
* Get the value of a given CTF attribute.
* @return the CTF attribute
* @since 2.0
*/
- public String getCustomAttribute(String key);
+ String getCustomAttribute(String key);
}
/*******************************************************************************
- * Copyright (c) 2011-2012 Ericsson, Ecole Polytechnique de Montreal and others
+ * Copyright (c) 2011, 2013 Ericsson, Ecole Polytechnique de Montreal and others
*
* All rights reserved. This program and the accompanying materials are made
* available under the terms of the Eclipse Public License v1.0 which
/**
* A CTF data type declaration.
- *
+ *
* An example: <br>
* int i = 0; <br>
* <b>int</b> is the declaration.<br>
* the name of the definition
* @return a reference to the definition
*/
- public Definition createDefinition(IDefinitionScope definitionScope,
+ Definition createDefinition(IDefinitionScope definitionScope,
String fieldName);
/**
*
* @return the alignment in bits
*/
- public long getAlignment();
+ long getAlignment();
}
/*******************************************************************************
- * Copyright (c) 2011-2012 Ericsson, Ecole Polytechnique de Montreal and others
+ * Copyright (c) 2011, 2013 Ericsson, Ecole Polytechnique de Montreal and others
*
* All rights reserved. This program and the accompanying materials are made
* available under the terms of the Eclipse Public License v1.0 which
* Gets the path in a C style for the scope.
* @return the path
*/
- public String getPath();
+ String getPath();
/**
* Looks up in this definition scope.
* The path to look up
* @return The Definition that was read
*/
- public Definition lookupDefinition(String lookupPath);
+ Definition lookupDefinition(String lookupPath);
}