Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

VisitorForShowPaths Class Reference

Inheritance diagram for VisitorForShowPaths:

Inheritance graph
[legend]
Collaboration diagram for VisitorForShowPaths:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 VisitorForShowPaths ()
void pre (Project *p)
void in (Project *p)
void post (Project *p)

Constructor & Destructor Documentation

VisitorForShowPaths::VisitorForShowPaths  )  [inline]
 

Definition at line 815 of file cmt_project.cxx.

00816   {
00817   }


Member Function Documentation

void VisitorForShowPaths::in Project p  )  [inline, virtual]
 

Implements IProjectVisitor.

Definition at line 832 of file cmt_project.cxx.

References Project::get_cmtpath_pwd(), Project::get_cmtpath_source(), and CmtSystem::test_directory().

00833   {
00834     const cmt_string& w = p->get_cmtpath_pwd ();
00835     const cmt_string& s = p->get_cmtpath_source ();
00836 
00837     if (s == "default path") return;
00838 
00839     if (CmtSystem::test_directory (w))
00840       {
00841         cout << "# Add path " << w << " from " << s << endl;
00842       }
00843   }

void VisitorForShowPaths::post Project p  )  [inline, virtual]
 

Implements IProjectVisitor.

Definition at line 845 of file cmt_project.cxx.

00846   {
00847   }

void VisitorForShowPaths::pre Project p  )  [inline, virtual]
 

Implements IProjectVisitor.

Definition at line 819 of file cmt_project.cxx.

References Project::get_cmtpath_pwd(), Project::get_cmtpath_source(), and CmtSystem::test_directory().

00820   {
00821     const cmt_string& w = p->get_cmtpath_pwd ();
00822     const cmt_string& s = p->get_cmtpath_source ();
00823 
00824     if (s == "default path") return;
00825 
00826     if (CmtSystem::test_directory (w))
00827       {
00828         cout << "# Add path " << w << " from " << s << endl;
00829       }
00830   }


The documentation for this class was generated from the following file:
Generated on Mon May 2 10:26:06 2005 for CMT by doxygen 1.3.5