#include <cmt_database.h>
|
|
Definition at line 20 of file cmt_database.h. 00021 {
00022 key_branch = 0x1,
00023 key_constituent = 0x2,
00024 key_fragment = 0x4,
00025 key_group = 0x8,
00026 key_language = 0x10,
00027 key_pattern = 0x20,
00028 key_selector = 0x40, // obsolete
00029 key_tag = 0x80,
00030 key_use = 0x100,
00031 key_symbol = 0x200,
00032 key_all = 0xFFFF
00033 }
|
|
|
Definition at line 166 of file cmt_database.cxx. 00167 {
00168 }
|
|
|
Definition at line 131 of file cmt_database.cxx. Referenced by Tag::all_tags(). |
|
|
Definition at line 145 of file cmt_database.cxx. Referenced by Use::all_uses(). |
|
|
Definition at line 89 of file cmt_database.cxx. Referenced by Branch::branches(). |
|
|
Definition at line 76 of file cmt_database.cxx. Referenced by Cmt::clear(). 00077 {
00078 Branch::clear_all ();
00079 Constituent::clear_all ();
00080 Fragment::clear_all ();
00081 Group::clear_all ();
00082 Language::clear_all ();
00083 Pattern::clear_all ();
00084 Tag::clear_all ();
00085 Use::clear_all ();
00086 Symbol::clear_all ();
00087 }
|
|
|
Definition at line 96 of file cmt_database.cxx. Referenced by Constituent::constituents(). |
|
|
Definition at line 47 of file cmt_database.cxx. 00049 {
00050 static Database& db = instance ();
00051 static dumper<Branch> branch_dumper;
00052 static dumper<Constituent> constituent_dumper;
00053 static dumper<Fragment> fragment_dumper;
00054 static dumper<Group> group_dumper;
00055 static dumper<Language> language_dumper;
00056 static dumper<Pattern> pattern_dumper;
00057 static dumper<Tag> tag_dumper;
00058 static dumper<Use> use_dumper;
00059 static dumper<Symbol> symbol_dumper;
00060
00061 cout << "Database>-------------" << title << endl;
00062
00063 if ((key_set & key_branch) != 0) branch_dumper.dump_vector (db.m_branches, "Branches");
00064 if ((key_set & key_constituent) != 0) constituent_dumper.dump_vector (db.m_constituents, "Constituents");
00065 if ((key_set & key_fragment) != 0) fragment_dumper.dump_vector (db.m_fragments, "Fragments");
00066 if ((key_set & key_group) != 0) group_dumper.dump_vector (db.m_groups, "Groups");
00067 if ((key_set & key_language) != 0) language_dumper.dump_vector (db.m_languages, "Languages");
00068 if ((key_set & key_pattern) != 0) pattern_dumper.dump_vector (db.m_patterns, "Patterns");
00069 if ((key_set & key_tag) != 0) tag_dumper.dump_vector (db.m_all_tags, "AllTags");
00070 if ((key_set & key_use) != 0) use_dumper.dump_vector (db.m_all_uses, "Uses");
00071 if ((key_set & key_symbol) != 0) symbol_dumper.dump_vector (db.m_symbols, "Symbols");
00072
00073 cout << "Database>-------------" << endl;
00074 }
|
|
|
Definition at line 103 of file cmt_database.cxx. Referenced by Fragment::fragments(). |
|
|
Definition at line 110 of file cmt_database.cxx. Referenced by Group::groups(). |
|
|
Definition at line 40 of file cmt_database.cxx. Referenced by Tag::all_tags(), all_tags(), Use::all_uses(), all_uses(), branches(), Branch::branches(), constituents(), Constituent::constituents(), dump(), Fragment::fragments(), fragments(), Group::groups(), groups(), Language::languages(), languages(), Pattern::patterns(), patterns(), Symbol::symbols(), symbols(), Tag::tags(), tags(), Use::uses(), and uses(). 00041 {
00042 static Database db;
00043
00044 return (db);
00045 }
|
|
|
Definition at line 117 of file cmt_database.cxx. Referenced by Language::languages(). |
|
|
Definition at line 124 of file cmt_database.cxx. Referenced by Pattern::patterns(). |
|
|
Definition at line 159 of file cmt_database.cxx. Referenced by Symbol::symbols(). |
|
|
Definition at line 138 of file cmt_database.cxx. Referenced by Tag::tags(). |
|
|
Definition at line 152 of file cmt_database.cxx. Referenced by Use::uses(). |
|
|
Definition at line 62 of file cmt_database.h. |
|
|
Definition at line 64 of file cmt_database.h. |
|
|
Definition at line 56 of file cmt_database.h. |
|
|
Definition at line 57 of file cmt_database.h. |
|
|
Definition at line 58 of file cmt_database.h. |
|
|
Definition at line 59 of file cmt_database.h. |
|
|
Definition at line 60 of file cmt_database.h. |
|
|
Definition at line 61 of file cmt_database.h. |
|
|
Definition at line 66 of file cmt_database.h. |
|
|
Definition at line 63 of file cmt_database.h. |
|
|
Definition at line 65 of file cmt_database.h. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000