summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestGenericHandler.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-03-10 20:03:09 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-03-10 20:03:09 (GMT)
commit862f5df25c509e2df59d00597b0c4b4d14cf5eaa (patch)
tree79e19e06c0961f43690788cac9c2f23b4931a2cf /Source/CTest/cmCTestGenericHandler.cxx
parentc0161e9e57321f283fc88812779d627fb722a40a (diff)
downloadCMake-862f5df25c509e2df59d00597b0c4b4d14cf5eaa.zip
CMake-862f5df25c509e2df59d00597b0c4b4d14cf5eaa.tar.gz
CMake-862f5df25c509e2df59d00597b0c4b4d14cf5eaa.tar.bz2
STYLE: Fix some style issues
Diffstat (limited to 'Source/CTest/cmCTestGenericHandler.cxx')
-rw-r--r--Source/CTest/cmCTestGenericHandler.cxx51
1 files changed, 26 insertions, 25 deletions
diff --git a/Source/CTest/cmCTestGenericHandler.cxx b/Source/CTest/cmCTestGenericHandler.cxx
index b5f964d..4c39842 100644
--- a/Source/CTest/cmCTestGenericHandler.cxx
+++ b/Source/CTest/cmCTestGenericHandler.cxx
@@ -22,9 +22,9 @@
//----------------------------------------------------------------------
cmCTestGenericHandler::cmCTestGenericHandler()
{
- m_HandlerVerbose = false;
- m_CTest = 0;
- m_SubmitIndex = 0;
+ this->HandlerVerbose = false;
+ this->CTest = 0;
+ this->SubmitIndex = 0;
}
//----------------------------------------------------------------------
@@ -42,29 +42,29 @@ void cmCTestGenericHandler::SetOption(const char* op, const char* value)
if ( !value )
{
cmCTestGenericHandler::t_StringToString::iterator remit
- = m_Options.find(op);
- if ( remit != m_Options.end() )
+ = this->Options.find(op);
+ if ( remit != this->Options.end() )
{
- m_Options.erase(remit);
+ this->Options.erase(remit);
}
return;
}
- m_Options[op] = value;
+ this->Options[op] = value;
}
//----------------------------------------------------------------------
void cmCTestGenericHandler::Initialize()
{
- m_Options.clear();
+ this->Options.clear();
}
//----------------------------------------------------------------------
const char* cmCTestGenericHandler::GetOption(const char* op)
{
cmCTestGenericHandler::t_StringToString::iterator remit
- = m_Options.find(op);
- if ( remit == m_Options.end() )
+ = this->Options.find(op);
+ if ( remit == this->Options.end() )
{
return 0;
}
@@ -77,26 +77,27 @@ bool cmCTestGenericHandler::StartResultingXML(const char* name,
{
if ( !name )
{
- cmCTestLog(m_CTest, ERROR_MESSAGE,
+ cmCTestLog(this->CTest, ERROR_MESSAGE,
"Cannot create resulting XML file without providing the name"
<< std::endl;);
return false;
}
cmOStringStream ostr;
ostr << name;
- if ( m_SubmitIndex > 0 )
+ if ( this->SubmitIndex > 0 )
{
- ostr << "_" << m_SubmitIndex;
+ ostr << "_" << this->SubmitIndex;
}
ostr << ".xml";
- if( !m_CTest->OpenOutputFile(m_CTest->GetCurrentTag(), ostr.str().c_str(),
- xofs, true) )
+ if( !this->CTest->OpenOutputFile(this->CTest->GetCurrentTag(),
+ ostr.str().c_str(), xofs, true) )
{
- cmCTestLog(m_CTest, ERROR_MESSAGE, "Cannot create resulting XML file: "
- << ostr.str().c_str() << std::endl);
+ cmCTestLog(this->CTest, ERROR_MESSAGE,
+ "Cannot create resulting XML file: " << ostr.str().c_str()
+ << std::endl);
return false;
}
- m_CTest->AddSubmitFile(ostr.str().c_str());
+ this->CTest->AddSubmitFile(ostr.str().c_str());
return true;
}
@@ -106,24 +107,24 @@ bool cmCTestGenericHandler::StartLogFile(const char* name,
{
if ( !name )
{
- cmCTestLog(m_CTest, ERROR_MESSAGE,
+ cmCTestLog(this->CTest, ERROR_MESSAGE,
"Cannot create log file without providing the name" << std::endl;);
return false;
}
cmOStringStream ostr;
ostr << "Last" << name;
- if ( m_SubmitIndex > 0 )
+ if ( this->SubmitIndex > 0 )
{
- ostr << "_" << m_SubmitIndex;
+ ostr << "_" << this->SubmitIndex;
}
- if ( !m_CTest->GetCurrentTag().empty() )
+ if ( !this->CTest->GetCurrentTag().empty() )
{
- ostr << "_" << m_CTest->GetCurrentTag();
+ ostr << "_" << this->CTest->GetCurrentTag();
}
ostr << ".log";
- if( !m_CTest->OpenOutputFile("Temporary", ostr.str().c_str(), xofs) )
+ if( !this->CTest->OpenOutputFile("Temporary", ostr.str().c_str(), xofs) )
{
- cmCTestLog(m_CTest, ERROR_MESSAGE, "Cannot create log file: "
+ cmCTestLog(this->CTest, ERROR_MESSAGE, "Cannot create log file: "
<< ostr.str().c_str() << std::endl);
return false;
}