terp - the Codemesh Modular
Template Interpreter v1.3.337

com.codemesh.terp.data
Class Cpp.XlcExecutor

java.lang.Object
  extended by com.codemesh.terp.api.Executor.AbstractExecutor<ProcessExecutor.Result>
      extended by com.codemesh.terp.eval.executors.ProcessExecutor
          extended by com.codemesh.terp.eval.executors.ShellExecutor
              extended by com.codemesh.terp.data.Cpp.CppExecutor
                  extended by com.codemesh.terp.data.Cpp.XlcExecutor
All Implemented Interfaces:
Executor<ProcessExecutor.Result>, Named, Versioned, java.lang.Comparable<Cpp.CppExecutor>
Enclosing interface:
Cpp

public static class Cpp.XlcExecutor
extends Cpp.CppExecutor


Nested Class Summary
 
Nested classes/interfaces inherited from class com.codemesh.terp.eval.executors.ProcessExecutor
ProcessExecutor.Result
 
Nested classes/interfaces inherited from interface com.codemesh.terp.api.Executor
Executor.AbstractExecutor<T>, Executor.ForMethod
 
Field Summary
static java.util.List<Cpp.XlcExecutor> ALL_XLCS
           
 
Fields inherited from class com.codemesh.terp.data.Cpp.CppExecutor
theCode, theName, theProcArchs, theTraits, theVersion, TO_MSVC, TO_PROCARCH, TO_VERSION
 
Fields inherited from class com.codemesh.terp.eval.executors.ShellExecutor
theAddedEnvSettings, theExecFlag, theRemovedEnvSettings, theShell, TO_STRING
 
Fields inherited from class com.codemesh.terp.eval.executors.ProcessExecutor
EOL, IS_WINDOWS, logger, theEnvironment, theExecutable, theTerpCmdVar, theWorkingDir, TO_FILE, TO_LIST
 
Constructor Summary
Cpp.XlcExecutor()
           
 
Method Summary
static Version calculateVersion(ShellExecutor shell, java.lang.String compiler)
          Returns the version for the given compiler.
static void populate()
           
static Cpp.XlcExecutor xlcFromMap(Cpp.XlcExecutor exec, java.util.Map map)
           
static Cpp.XlcExecutor xlcFromMap(java.util.Map map)
           
 
Methods inherited from class com.codemesh.terp.data.Cpp.CppExecutor
accFromFile, accFromMap, accFromString, accFromVersion, batchExecute, compareTo, cppFromFile, cppFromMap, cppFromString, cppFromVersion, equals, gccFromFile, gccFromMap, gccFromString, gccFromVersion, getCode, getCompiler, getName, getProcArchs, getTraits, getVersion, hashCode, iccFromFile, iccFromMap, iccFromString, iccFromVersion, marshallArguments, msvcFromFile, msvcFromMap, msvcFromString, msvcFromVersion, qccFromFile, qccFromMap, qccFromString, qccFromVersion, setCode, setCompiler, setName, setProcArch, setVersion, sunccFromFile, sunccFromMap, sunccFromString, sunccFromVersion, supportsOption, supportsOptions, toString, xlcFromFile, xlcFromString, xlcFromVersion
 
Methods inherited from class com.codemesh.terp.eval.executors.ShellExecutor
addToEnvironment, createEnvironment, getExecFlag, getShell, removeFromEnvironment, setExecFlag, setShell, shellFromFile, shellFromMap, shellFromMap, shellFromString
 
Methods inherited from class com.codemesh.terp.eval.executors.ProcessExecutor
appendToEnvironment, execute, execute, fromFile, fromMap, fromMap, fromString, getEnvironment, getExecutable, getWorkingDir, matches, setEnvironment, setExecutable, setWorkingDir
 
Methods inherited from class com.codemesh.terp.api.Executor.AbstractExecutor
execute
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ALL_XLCS

public static final java.util.List<Cpp.XlcExecutor> ALL_XLCS
Constructor Detail

Cpp.XlcExecutor

public Cpp.XlcExecutor()
Method Detail

populate

public static void populate()

calculateVersion

public static Version calculateVersion(ShellExecutor shell,
                                       java.lang.String compiler)
Returns the version for the given compiler.

Parameters:
shell - the shell executor.
compiler - the compiler to invoke.
Returns:
a version or null.

xlcFromMap

public static Cpp.XlcExecutor xlcFromMap(java.util.Map map)

xlcFromMap

public static Cpp.XlcExecutor xlcFromMap(Cpp.XlcExecutor exec,
                                         java.util.Map map)

terp - the Codemesh Modular
Template Interpreter v1.3.337

Copyright © 2008-2016 by Codemesh, Inc. All Rights Reserved.