CContext.Directives
public interface CContext.Directives- Enclosing type
CContext
Describes a C context.
Methods6
boolean isInConfiguration()
isInConfiguration
defaultsince 19.0default boolean isInConfiguration()This method is called immediately after the constructor, to check whether the context is part of the configuration or not. If this method returns false, all elements registered inside this context are ignored.
Returns
boolean- No description.
List<String> getHeaderFiles()
getHeaderFiles
defaultsince 19.0All header files used in this context. C allows two kinds of imports: header files can be surrounded with <...>, or "...". One of them must be used for every element in the returned list.
List<String> getMacroDefinitions()
getMacroDefinitions
defaultsince 19.0Unparameterized macro-definitions. Each entry is in the form of <macro-name> or <macro-name> <macro-value>.
List<String> getOptions()
getOptions
defaultsince 19.0Returns options to be passed to the C compiler when processing the directives. For example, the option "-Ipath" can be used to add a path for the lookup of header files.
List<String> getLibraries()
List<String> getLibraryPaths()
getLibraryPaths
defaultsince 19.0Returns a list of library paths.