Main Page ? Class Hierarchy ? Compound List ? File List ? Compound Members ? File Members ?

ProjectReader Class Reference

Inheritance diagram for ProjectReader:

[legend]
Collaboration diagram for ProjectReader:

[legend]
List of all members.

Public Methods

? ProjectReader ()
const cmt_string &? get_project_name () const
void? filter (const cmt_string &line)

Private Attributes

cmt_string? m_project

Constructor & Destructor Documentation

ProjectReader::ProjectReader (? ? )? [inline]
?

Definition at line 23 of file cmt_project.cxx.

00024   {
00025   }

Member Function Documentation

void ProjectReader::filter (? const cmt_string &? ? line )? [inline, virtual]
?

Reimplemented from Awk.

Definition at line 32 of file cmt_project.cxx.

References m_project, and CmtSystem::split().

00033   {
00034     CmtSystem::cmt_string_vector words;
00035     CmtSystem::split (line, " \t", words);
00036     if (words[0] == "project")
00037       {
00038         m_project = words[1];
00039       }
00040   }

const cmt_string& ProjectReader::get_project_name (? ? )? const [inline]
?

Definition at line 27 of file cmt_project.cxx.

Referenced by ProjectFactory::create_project().

00028   {
00029     return (m_project);
00030   }

Member Data Documentation

cmt_string ProjectReader::m_project [private]
?

Definition at line 43 of file cmt_project.cxx.

Referenced by filter().


The documentation for this class was generated from the following file:
Generated on Wed Sep 1 11:00:52 2004 for CMT by 1.2.18