|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--kawigi.language.LanguageContainer
|
+--kawigi.language.ExtendedCPPLanguage
| Field Summary | |
static kawigi.language.ExtendedCPPLanguage |
EXTENDED_CPP_LANGUAGE
A singleton instance of the extended C++ language. |
| Fields inherited from class kawigi.language.LanguageContainer |
baselang |
| Constructor Summary | |
ExtendedCPPLanguage()
Creates a new instance of the extended C++ language from TC's singleton C++ Language instance. |
|
ExtendedCPPLanguage(com.topcoder.shared.language.Language lang)
Creates a new instance of an extended C++ Language from the given TC language implementation. |
|
| Method Summary | |
java.lang.String |
getCompileCommand(com.topcoder.shared.problem.ProblemComponent comp)
Returns the command that should be used to compile the file. |
java.lang.String |
getFileName(com.topcoder.shared.problem.ProblemComponent comp)
Returns the filename that the source file should be saved as. |
java.lang.String |
getPropertyClass()
Overrides the property class in LanguageContainer so that it only has alphanumeric characters. |
java.lang.String |
getRunCommand(com.topcoder.shared.problem.ProblemComponent comp,
java.io.File cwd)
Returns the command that should be used to run the program and test cases. |
kawigi.language.Skeleton |
getSkeleton(com.topcoder.shared.problem.ProblemComponent comp)
Returns at a class and method declaration, with a main method that has testing code. |
java.lang.Class |
getViewClass()
Returns the class of the C++ implementation of a View |
| Methods inherited from class kawigi.language.LanguageContainer |
customReadObject, customWriteObject, equals, getBaseLanguage, getId, getMethodSignature, getName |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final kawigi.language.ExtendedCPPLanguage EXTENDED_CPP_LANGUAGE
| Constructor Detail |
public ExtendedCPPLanguage(com.topcoder.shared.language.Language lang)
lang is not an instance of CPPLanguage, this object may do weird things, but
then again, C++ coders tend to know when they want something to malfunction.
public ExtendedCPPLanguage()
| Method Detail |
public kawigi.language.Skeleton getSkeleton(com.topcoder.shared.problem.ProblemComponent comp)
public java.lang.Class getViewClass()
public java.lang.String getPropertyClass()
getPropertyClass in class LanguageContainerpublic java.lang.String getCompileCommand(com.topcoder.shared.problem.ProblemComponent comp)
public java.lang.String getRunCommand(com.topcoder.shared.problem.ProblemComponent comp,
java.io.File cwd)
public java.lang.String getFileName(com.topcoder.shared.problem.ProblemComponent comp)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||