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

Database Class Reference

#include <cmt_database.h>

Collaboration diagram for Database:

[legend]
List of all members.

Static Public Methods

Database &? instance ()
void? clear ()
Branch::BranchVector &? branches ()
Constituent::ConstituentVector &? constituents ()
Fragment::FragmentVector &? fragments ()
Group::GroupVector &? groups ()
Language::LanguageVector &? languages ()
Package::PackageVector &? packages ()
Package::PackageMap &? package_map ()
Pattern::PatternVector &? patterns ()
PatternList::PatternListMap &? pattern_list_map ()
PatternList::PatternListVector &? pattern_lists ()
Use::UseVector &? all_uses ()
Use::UsePtrVector &? uses ()
Symbol::SymbolVector &? symbols ()
Symbol::SymbolMap &? symbol_map ()
Tag::TagVector &? all_tags ()
Tag::TagPtrVector &? tags ()
Tag::TagMap &? tag_map ()
Project::ProjectVector &? projects ()
CmtPathPattern::CmtPathPatternVector &? cmtpath_patterns ()

Private Methods

? Database ()

Private Attributes

Branch::BranchVector? m_branches
Constituent::ConstituentVector? m_constituents
Fragment::FragmentVector? m_fragments
Group::GroupVector? m_groups
Language::LanguageVector? m_languages
Package::PackageVector? m_packages
Package::PackageMap? m_package_map
Pattern::PatternVector? m_patterns
PatternList::PatternListMap? m_pattern_list_map
PatternList::PatternListVector? m_pattern_lists
Use::UseVector? m_all_uses
Use::UsePtrVector? m_uses
Symbol::SymbolVector? m_symbols
Symbol::SymbolMap? m_symbol_map
Tag::TagVector? m_all_tags
Tag::TagPtrVector? m_tags
Tag::TagMap? m_tag_map
Project::ProjectVector? m_projects
CmtPathPattern::CmtPathPatternVector? m_cmtpath_patterns

Constructor & Destructor Documentation

Database::Database (? ? )? [private]
?

Definition at line 167 of file cmt_database.cxx.

00168 {
00169 }

Member Function Documentation

Tag::TagVector & Database::all_tags (? ? )? [static]
?

Definition at line 132 of file cmt_database.cxx.

References instance(), and m_all_tags.

Referenced by Tag::all_tags().

00133 {
00134   static Database& db = instance ();
00135 
00136   return (db.m_all_tags);
00137 }

Use::UseVector & Database::all_uses (? ? )? [static]
?

Definition at line 104 of file cmt_database.cxx.

References instance(), and m_all_uses.

Referenced by Use::get_instances().

00105 {
00106   static Database& db = instance ();
00107 
00108   return (db.m_all_uses);
00109 }

Branch::BranchVector & Database::branches (? ? )? [static]
?

Definition at line 34 of file cmt_database.cxx.

References instance(), and m_branches.

Referenced by Branch::branches().

00035 {
00036   static Database& db = instance ();
00037 
00038   return (db.m_branches);
00039 }

void Database::clear (? ? )? [static]
?

Definition at line 17 of file cmt_database.cxx.

References CmtPathPattern::clear_all(), Project::clear_all(), Tag::clear_all(), Symbol::clear_all(), Use::clear_all(), PatternList::clear_all(), Pattern::clear_all(), Package::clear_all(), Language::clear_all(), Group::clear_all(), Fragment::clear_all(), Constituent::clear_all(), and Branch::clear_all().

Referenced by Cmt::clear().

00018 {
00019   Branch::clear_all ();
00020   Constituent::clear_all ();
00021   Fragment::clear_all ();
00022   Group::clear_all ();
00023   Language::clear_all ();
00024   Package::clear_all ();
00025   Pattern::clear_all ();
00026   PatternList::clear_all ();
00027   Use::clear_all ();
00028   Symbol::clear_all ();
00029   Tag::clear_all ();
00030   Project::clear_all ();
00031   CmtPathPattern::clear_all ();
00032 }

CmtPathPattern::CmtPathPatternVector & Database::cmtpath_patterns (? ? )? [static]
?

Definition at line 160 of file cmt_database.cxx.

References instance(), and m_cmtpath_patterns.

Referenced by CmtPathPattern::patterns().

00161 {
00162   static Database& db = instance ();
00163 
00164   return (db.m_cmtpath_patterns);
00165 }

Constituent::ConstituentVector & Database::constituents (? ? )? [static]
?

Definition at line 41 of file cmt_database.cxx.

References instance(), and m_constituents.

Referenced by Constituent::constituents().

00042 {
00043   static Database& db = instance ();
00044 
00045   return (db.m_constituents);
00046 }

Fragment::FragmentVector & Database::fragments (? ? )? [static]
?

Definition at line 48 of file cmt_database.cxx.

References instance(), and m_fragments.

Referenced by Fragment::fragments().

00049 {
00050   static Database& db = instance ();
00051 
00052   return (db.m_fragments);
00053 }

Group::GroupVector & Database::groups (? ? )? [static]
?

Definition at line 55 of file cmt_database.cxx.

References instance(), and m_groups.

Referenced by Group::groups().

00056 {
00057   static Database& db = instance ();
00058 
00059   return (db.m_groups);
00060 }

Database & Database::instance (? ? )? [static]
?

Definition at line 10 of file cmt_database.cxx.

Referenced by Tag::all_tags(), all_tags(), all_uses(), branches(), Branch::branches(), cmtpath_patterns(), constituents(), Constituent::constituents(), Fragment::fragments(), fragments(), Use::get_instances(), Use::get_ordered_uses(), Group::groups(), groups(), Language::languages(), languages(), Package::package_map(), package_map(), Package::packages(), packages(), PatternList::pattern_list_map(), pattern_list_map(), PatternList::pattern_lists(), pattern_lists(), Pattern::patterns(), patterns(), CmtPathPattern::patterns(), Project::projects(), projects(), Symbol::symbol_map(), symbol_map(), Symbol::symbols(), symbols(), Tag::tag_map(), tag_map(), Tag::tags(), tags(), and uses().

00011 {
00012   static Database db;
00013 
00014   return (db);
00015 }

Language::LanguageVector & Database::languages (? ? )? [static]
?

Definition at line 62 of file cmt_database.cxx.

References instance(), and m_languages.

Referenced by Language::languages().

00063 {
00064   static Database& db = instance ();
00065 
00066   return (db.m_languages);
00067 }

Package::PackageMap & Database::package_map (? ? )? [static]
?

Definition at line 76 of file cmt_database.cxx.

References instance(), and m_package_map.

Referenced by Package::package_map().

00077 {
00078   static Database& db = instance ();
00079 
00080   return (db.m_package_map);
00081 }

Package::PackageVector & Database::packages (? ? )? [static]
?

Definition at line 69 of file cmt_database.cxx.

References instance(), and m_packages.

Referenced by Package::packages().

00070 {
00071   static Database& db = instance ();
00072 
00073   return (db.m_packages);
00074 }

PatternList::PatternListMap & Database::pattern_list_map (? ? )? [static]
?

Definition at line 90 of file cmt_database.cxx.

References instance(), and m_pattern_list_map.

Referenced by PatternList::pattern_list_map().

00091 {
00092   static Database& db = instance ();
00093 
00094   return (db.m_pattern_list_map);
00095 }

PatternList::PatternListVector & Database::pattern_lists (? ? )? [static]
?

Definition at line 97 of file cmt_database.cxx.

References instance(), and m_pattern_lists.

Referenced by PatternList::pattern_lists().

00098 {
00099   static Database& db = instance ();
00100 
00101   return (db.m_pattern_lists);
00102 }

Pattern::PatternVector & Database::patterns (? ? )? [static]
?

Definition at line 83 of file cmt_database.cxx.

References instance(), and m_patterns.

Referenced by Pattern::patterns().

00084 {
00085   static Database& db = instance ();
00086 
00087   return (db.m_patterns);
00088 }

Project::ProjectVector & Database::projects (? ? )? [static]
?

Definition at line 153 of file cmt_database.cxx.

References instance(), and m_projects.

Referenced by Project::projects().

00154 {
00155   static Database& db = instance ();
00156 
00157   return (db.m_projects);
00158 }

Symbol::SymbolMap & Database::symbol_map (? ? )? [static]
?

Definition at line 125 of file cmt_database.cxx.

References instance(), and m_symbol_map.

Referenced by Symbol::symbol_map().

00126 {
00127   static Database& db = instance ();
00128 
00129   return (db.m_symbol_map);
00130 }

Symbol::SymbolVector & Database::symbols (? ? )? [static]
?

Definition at line 118 of file cmt_database.cxx.

References instance(), and m_symbols.

Referenced by Symbol::symbols().

00119 {
00120   static Database& db = instance ();
00121 
00122   return (db.m_symbols);
00123 }

Tag::TagMap & Database::tag_map (? ? )? [static]
?

Definition at line 146 of file cmt_database.cxx.

References instance(), and m_tag_map.

Referenced by Tag::tag_map().

00147 {
00148   static Database& db = instance ();
00149 
00150   return (db.m_tag_map);
00151 }

Tag::TagPtrVector & Database::tags (? ? )? [static]
?

Definition at line 139 of file cmt_database.cxx.

References instance(), and m_tags.

Referenced by Tag::tags().

00140 {
00141   static Database& db = instance ();
00142 
00143   return (db.m_tags);
00144 }

Use::UsePtrVector & Database::uses (? ? )? [static]
?

Definition at line 111 of file cmt_database.cxx.

References instance(), and m_uses.

Referenced by Use::get_ordered_uses().

00112 {
00113   static Database& db = instance ();
00114 
00115   return (db.m_uses);
00116 }

Member Data Documentation

Tag::TagVector Database::m_all_tags [private]
?

Definition at line 81 of file cmt_database.h.

Referenced by all_tags().

Use::UseVector Database::m_all_uses [private]
?

Definition at line 77 of file cmt_database.h.

Referenced by all_uses().

Branch::BranchVector Database::m_branches [private]
?

Definition at line 63 of file cmt_database.h.

Referenced by branches().

CmtPathPattern::CmtPathPatternVector Database::m_cmtpath_patterns [private]
?

Definition at line 86 of file cmt_database.h.

Referenced by cmtpath_patterns().

Constituent::ConstituentVector Database::m_constituents [private]
?

Definition at line 64 of file cmt_database.h.

Referenced by constituents().

Fragment::FragmentVector Database::m_fragments [private]
?

Definition at line 65 of file cmt_database.h.

Referenced by fragments().

Group::GroupVector Database::m_groups [private]
?

Definition at line 66 of file cmt_database.h.

Referenced by groups().

Language::LanguageVector Database::m_languages [private]
?

Definition at line 67 of file cmt_database.h.

Referenced by languages().

Package::PackageMap Database::m_package_map [private]
?

Definition at line 70 of file cmt_database.h.

Referenced by package_map().

Package::PackageVector Database::m_packages [private]
?

Definition at line 69 of file cmt_database.h.

Referenced by packages().

PatternList::PatternListMap Database::m_pattern_list_map [private]
?

Definition at line 74 of file cmt_database.h.

Referenced by pattern_list_map().

PatternList::PatternListVector Database::m_pattern_lists [private]
?

Definition at line 75 of file cmt_database.h.

Referenced by pattern_lists().

Pattern::PatternVector Database::m_patterns [private]
?

Definition at line 72 of file cmt_database.h.

Referenced by patterns().

Project::ProjectVector Database::m_projects [private]
?

Definition at line 84 of file cmt_database.h.

Referenced by projects().

Symbol::SymbolMap Database::m_symbol_map [private]
?

Definition at line 80 of file cmt_database.h.

Referenced by symbol_map().

Symbol::SymbolVector Database::m_symbols [private]
?

Definition at line 79 of file cmt_database.h.

Referenced by symbols().

Tag::TagMap Database::m_tag_map [private]
?

Definition at line 83 of file cmt_database.h.

Referenced by tag_map().

Tag::TagPtrVector Database::m_tags [private]
?

Definition at line 82 of file cmt_database.h.

Referenced by tags().

Use::UsePtrVector Database::m_uses [private]
?

Definition at line 78 of file cmt_database.h.

Referenced by uses().


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