CCCC - C and C++ Code Counter
9999-git
CCCC Development version (post-3.1.4)
|
#include <cccc_prj.h>
Classes | |
struct | ExtentTableEntry |
Public Types | |
typedef std::multimap< string, ExtentTableEntry > | FileExtentTable |
Public Member Functions | |
CCCC_Project (const string &name="") | |
void | add_module (CCCC_Item &module_data_line) |
void | add_member (CCCC_Item &member_data_line) |
void | add_userel (CCCC_Item &use_data_line) |
void | add_rejected_extent (CCCC_Item &rejected_data_line) |
void | reindex () |
int | get_count (const char *count_tag) |
string | name (int level) const |
int | FromFile (ifstream &infile) |
int | ToFile (ofstream &outfile) |
void | set_option (string key, CCCC_Item &option_data_line) |
int | get_option (string key, CCCC_Item &option_data_line) |
Public Member Functions inherited from CCCC_Record | |
virtual | ~CCCC_Record () |
virtual string | key () const |
AugmentedBool | get_flag (PSFlag psf) |
virtual void | add_extent (CCCC_Item &) |
virtual void | sort () |
Public Attributes | |
FileExtentTable | file_extent_table |
Private Attributes | |
CCCC_Table< CCCC_Module > | module_table |
CCCC_Table< CCCC_Member > | member_table |
CCCC_Table< CCCC_UseRelationship > | userel_table |
CCCC_Table< CCCC_Extent > | rejected_extent_table |
std::map< string, CCCC_Item > | OptionTable |
Friends | |
class | CCCC_Html_Stream |
class | CCCC_Xml_Stream |
class | CCCC_Module |
class | CCCC_Member |
class | CCCC_UseRelationship |
class | CCCC_Extent |
Additional Inherited Members | |
Static Public Member Functions inherited from CCCC_Record | |
static CCCC_Project * | get_active_project () |
static void | set_active_project (CCCC_Project *prj) |
Protected Types inherited from CCCC_Record | |
typedef CCCC_Table< CCCC_Extent > | Extent_Table |
Protected Member Functions inherited from CCCC_Record | |
virtual void | merge_flags (string &new_flags) |
Protected Attributes inherited from CCCC_Record | |
Extent_Table | extent_table |
string | flags |
Definition at line 45 of file cccc_prj.h.
typedef std::multimap<string, ExtentTableEntry> CCCC_Project::FileExtentTable |
Definition at line 73 of file cccc_prj.h.
CCCC_Project::CCCC_Project | ( | const string & | name = "" | ) |
Definition at line 33 of file cccc_prj.cc.
void CCCC_Project::add_member | ( | CCCC_Item & | member_data_line | ) |
Definition at line 88 of file cccc_prj.cc.
void CCCC_Project::add_module | ( | CCCC_Item & | module_data_line | ) |
Definition at line 56 of file cccc_prj.cc.
void CCCC_Project::add_rejected_extent | ( | CCCC_Item & | rejected_data_line | ) |
Definition at line 145 of file cccc_prj.cc.
void CCCC_Project::add_userel | ( | CCCC_Item & | use_data_line | ) |
Definition at line 125 of file cccc_prj.cc.
int CCCC_Project::FromFile | ( | ifstream & | infile | ) |
Definition at line 364 of file cccc_prj.cc.
|
virtual |
Implements CCCC_Record.
Definition at line 308 of file cccc_prj.cc.
int CCCC_Project::get_option | ( | string | key, |
CCCC_Item & | option_data_line | ||
) |
|
virtual |
Reimplemented from CCCC_Record.
Definition at line 412 of file cccc_prj.cc.
void CCCC_Project::reindex | ( | ) |
Definition at line 151 of file cccc_prj.cc.
void CCCC_Project::set_option | ( | string | key, |
CCCC_Item & | option_data_line | ||
) |
int CCCC_Project::ToFile | ( | ofstream & | outfile | ) |
Definition at line 317 of file cccc_prj.cc.
|
friend |
Definition at line 52 of file cccc_prj.h.
|
friend |
Definition at line 47 of file cccc_prj.h.
|
friend |
Definition at line 50 of file cccc_prj.h.
|
friend |
Definition at line 49 of file cccc_prj.h.
|
friend |
Definition at line 51 of file cccc_prj.h.
|
friend |
Definition at line 48 of file cccc_prj.h.
FileExtentTable CCCC_Project::file_extent_table |
Definition at line 74 of file cccc_prj.h.
|
private |
Definition at line 55 of file cccc_prj.h.
|
private |
Definition at line 54 of file cccc_prj.h.
|
private |
Definition at line 59 of file cccc_prj.h.
|
private |
Definition at line 57 of file cccc_prj.h.
|
private |
Definition at line 56 of file cccc_prj.h.