32 ROSE_UTIL_API Rose_STL_Container<std::string>
generateOptionList (
const Rose_STL_Container<std::string> & argList, std::string inputPrefix );
43 extern Rose_STL_Container<std::string> extraCppSourceFileSuffixes;
51 ROSE_UTIL_API
bool isOption ( std::vector<std::string> & argv, std::string optionPrefix, std::string Option,
bool removeOption );
55 ROSE_UTIL_API
bool isOptionWithParameter ( std::vector<std::string> & argv, std::string optionPrefix, std::string Option,
int & optionParameter,
bool removeOption );
58 ROSE_UTIL_API
bool isOptionWithParameter ( std::vector<std::string> & argv, std::string optionPrefix, std::string Option,
float & optionParameter,
bool removeOption );
61 ROSE_DLL_API
bool isOptionWithParameter ( std::vector<std::string> & argv, std::string optionPrefix, std::string Option, std::string & optionParameter,
bool removeOption );
64 ROSE_UTIL_API
void addListToCommandLine ( std::vector<std::string> & argv , std::string prefix, Rose_STL_Container<std::string> argList );
66 ROSE_UTIL_API
void removeArgs ( std::vector<std::string> & argv, std::string prefix );
70 ROSE_UTIL_API
void removeAllFileNamesExcept ( std::vector<std::string> & argv, Rose_STL_Container<std::string> filenameList, std::string exceptFilename );
73 ROSE_UTIL_API std::string
generateStringFromArgList ( Rose_STL_Container<std::string> argList,
bool skipInitialEntry,
bool skipSourceFiles );
76 ROSE_DLL_API Rose_STL_Container<std::string>
generateSourceFilenames ( Rose_STL_Container<std::string> argList,
bool binaryMode );
82 ROSE_UTIL_API
bool isSourceFilename ( std::string name );
84 ROSE_UTIL_API
bool isObjectFilename ( std::string name );
85 ROSE_DLL_API
bool isExecutableFilename ( std::string name );
88 ROSE_DLL_API
bool isValidFileWithExecutableFileSuffix ( std::string name );
90 ROSE_UTIL_API
bool isCFileNameSuffix (
const std::string & suffix );
93 ROSE_UTIL_API
bool isUPCFileNameSuffix (
const std::string & suffix );
95 ROSE_UTIL_API
bool isCppFileNameSuffix (
const std::string & suffix );
98 ROSE_UTIL_API
bool isFortranFileNameSuffix (
const std::string & suffix );
102 ROSE_UTIL_API
bool isFortranFileNameSuffixRequiringCPP (
const std::string & suffix );
105 ROSE_UTIL_API
bool isFortran77FileNameSuffix (
const std::string & suffix );
106 ROSE_UTIL_API
bool isFortran90FileNameSuffix (
const std::string & suffix );
107 ROSE_UTIL_API
bool isFortran95FileNameSuffix (
const std::string & suffix );
108 ROSE_UTIL_API
bool isFortran2003FileNameSuffix (
const std::string & suffix );
109 ROSE_UTIL_API
bool isFortran2008FileNameSuffix (
const std::string & suffix );
112 ROSE_UTIL_API
bool isCoArrayFortranFileNameSuffix (
const std::string & suffix );
114 ROSE_UTIL_API
bool isPHPFileNameSuffix (
const std::string & suffix );
116 ROSE_UTIL_API
bool isPythonFileNameSuffix (
const std::string & suffix );
119 ROSE_UTIL_API
bool isCsharpFileNameSuffix (
const std::string & suffix );
120 ROSE_UTIL_API
bool isAdaFileNameSuffix (
const std::string & suffix );
121 ROSE_UTIL_API
bool isJovialFileNameSuffix (
const std::string & suffix );
124 ROSE_UTIL_API
bool isCudaFileNameSuffix (
const std::string & suffix );
126 ROSE_UTIL_API
bool isOpenCLFileNameSuffix (
const std::string & suffix );
130 ROSE_UTIL_API
bool isJavaFile(
const std::string &fileName);
131 ROSE_UTIL_API
bool isJavaClassFile(
const std::string &fileName);
132 ROSE_UTIL_API
bool isJavaJarFile(
const std::string &fileName);
133 ROSE_UTIL_API
bool isJavaJvmFile(
const std::string &fileName);
135 ROSE_UTIL_API
void initSourceFileSuffixList();
136 static Rose_STL_Container<std::string> validSourceFileSuffixes;
138 ROSE_UTIL_API
void initObjectFileSuffixList();
139 static Rose_STL_Container<std::string> validObjectFileSuffixes;
141 ROSE_DLL_API
void initExecutableFileSuffixList();
142 static Rose_STL_Container<std::string> validExecutableFileSuffixes;
145 ROSE_DLL_API
bool isOptionTakingSecondParameter( std::string argument );
146 ROSE_DLL_API
bool isOptionTakingThirdParameter ( std::string argument );
ROSE_UTIL_API bool isOptionWithParameter(std::vector< std::string > &argv, std::string optionPrefix, std::string Option, int &optionParameter, bool removeOption)
Search 'argv' for 'optionPrefixOption value', store the integer value into 'optionParameter'.