summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceGroup.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-03-15 16:02:08 (GMT)
committerKen Martin <ken.martin@kitware.com>2006-03-15 16:02:08 (GMT)
commit3d96e522617647665d7e99919ba71d34b1db870c (patch)
tree2ec6cf41cc61aad79b94cff9b2aa321f2c8b686e /Source/cmSourceGroup.cxx
parent609af5c969be6edf087498f983ccd7d3ac818a48 (diff)
downloadCMake-3d96e522617647665d7e99919ba71d34b1db870c.zip
CMake-3d96e522617647665d7e99919ba71d34b1db870c.tar.gz
CMake-3d96e522617647665d7e99919ba71d34b1db870c.tar.bz2
STYLE: some m_ to this-> cleanup
Diffstat (limited to 'Source/cmSourceGroup.cxx')
-rw-r--r--Source/cmSourceGroup.cxx38
1 files changed, 19 insertions, 19 deletions
diff --git a/Source/cmSourceGroup.cxx b/Source/cmSourceGroup.cxx
index 58069d1..c34afe8 100644
--- a/Source/cmSourceGroup.cxx
+++ b/Source/cmSourceGroup.cxx
@@ -17,7 +17,7 @@
#include "cmSourceGroup.h"
//----------------------------------------------------------------------------
-cmSourceGroup::cmSourceGroup(const char* name, const char* regex): m_Name(name)
+cmSourceGroup::cmSourceGroup(const char* name, const char* regex): Name(name)
{
this->SetGroupRegex(regex);
}
@@ -27,37 +27,37 @@ void cmSourceGroup::SetGroupRegex(const char* regex)
{
if(regex)
{
- m_GroupRegex.compile(regex);
+ this->GroupRegex.compile(regex);
}
else
{
- m_GroupRegex.compile("^$");
+ this->GroupRegex.compile("^$");
}
}
//----------------------------------------------------------------------------
void cmSourceGroup::AddGroupFile(const char* name)
{
- m_GroupFiles.insert(name);
+ this->GroupFiles.insert(name);
}
//----------------------------------------------------------------------------
const char* cmSourceGroup::GetName() const
{
- return m_Name.c_str();
+ return this->Name.c_str();
}
//----------------------------------------------------------------------------
bool cmSourceGroup::MatchesRegex(const char* name)
{
- return m_GroupRegex.find(name);
+ return this->GroupRegex.find(name);
}
//----------------------------------------------------------------------------
bool cmSourceGroup::MatchesFiles(const char* name)
{
- std::set<cmStdString>::const_iterator i = m_GroupFiles.find(name);
- if(i != m_GroupFiles.end())
+ std::set<cmStdString>::const_iterator i = this->GroupFiles.find(name);
+ if(i != this->GroupFiles.end())
{
return true;
}
@@ -67,33 +67,33 @@ bool cmSourceGroup::MatchesFiles(const char* name)
//----------------------------------------------------------------------------
void cmSourceGroup::AssignSource(const cmSourceFile* sf)
{
- m_SourceFiles.push_back(sf);
+ this->SourceFiles.push_back(sf);
}
//----------------------------------------------------------------------------
const std::vector<const cmSourceFile*>& cmSourceGroup::GetSourceFiles() const
{
- return m_SourceFiles;
+ return this->SourceFiles;
}
//----------------------------------------------------------------------------
std::vector<const cmSourceFile*>& cmSourceGroup::GetSourceFiles()
{
- return m_SourceFiles;
+ return this->SourceFiles;
}
//----------------------------------------------------------------------------
void cmSourceGroup::AddChild(cmSourceGroup child)
{
- m_GroupChildren.push_back(child);
+ this->GroupChildren.push_back(child);
}
//----------------------------------------------------------------------------
cmSourceGroup *cmSourceGroup::lookupChild(const char* name)
{
// initializing iterators
- std::vector<cmSourceGroup>::iterator iter = m_GroupChildren.begin();
- std::vector<cmSourceGroup>::iterator end = m_GroupChildren.end();
+ std::vector<cmSourceGroup>::iterator iter = this->GroupChildren.begin();
+ std::vector<cmSourceGroup>::iterator end = this->GroupChildren.end();
// st
for(;iter!=end; ++iter)
@@ -122,8 +122,8 @@ cmSourceGroup *cmSourceGroup::lookupChild(const char* name)
cmSourceGroup *cmSourceGroup::MatchChildrenFiles(const char *name)
{
// initializing iterators
- std::vector<cmSourceGroup>::iterator iter = m_GroupChildren.begin();
- std::vector<cmSourceGroup>::iterator end = m_GroupChildren.end();
+ std::vector<cmSourceGroup>::iterator iter = this->GroupChildren.begin();
+ std::vector<cmSourceGroup>::iterator end = this->GroupChildren.end();
if(this->MatchesFiles(name))
{
@@ -144,8 +144,8 @@ cmSourceGroup *cmSourceGroup::MatchChildrenFiles(const char *name)
cmSourceGroup *cmSourceGroup::MatchChildrenRegex(const char *name)
{
// initializing iterators
- std::vector<cmSourceGroup>::iterator iter = m_GroupChildren.begin();
- std::vector<cmSourceGroup>::iterator end = m_GroupChildren.end();
+ std::vector<cmSourceGroup>::iterator iter = this->GroupChildren.begin();
+ std::vector<cmSourceGroup>::iterator end = this->GroupChildren.end();
if(this->MatchesRegex(name))
{
@@ -164,5 +164,5 @@ cmSourceGroup *cmSourceGroup::MatchChildrenRegex(const char *name)
std::vector<cmSourceGroup> cmSourceGroup::GetGroupChildren() const
{
- return m_GroupChildren;
+ return this->GroupChildren;
}