##// END OF EJS Templates
Updates VariableModel::createVariable() method...
Updates VariableModel::createVariable() method - Stores variable as shared_ptr (maybe the variable may exist outside this controller) - Adds default data series for the variable - Returns the shared_ptr after variable creation

File last commit:

r2:451739a45362
r165:81409bbf8178
Show More
IPSIS_S04_FILENAME.tcl
13 lines | 479 B | application/x-tcl | TclLexer
#!/usr/bin/tclsh
# Naming conventions for file names
set fileNameRegex [getParameter "filename-regex" {^[A-Z]\w*$}]
foreach fileName [getSourceFileNames] {
# Check file name
if {[regexp {(?:\\|/)?([^\\/]+?)\.(?:h|cpp)$} $fileName matchedExpr fileNameWithoutExt]} {
if {![regexp $fileNameRegex $fileNameWithoutExt]} {
report $fileName 1 "The file names should match the following regex: $fileNameRegex (found: $fileNameWithoutExt)"
}
}
}